FoonLudum Dare ExplorerLD48 → An Interview with Socram

An Interview with Socram

By randoman38

View on ldjam.com

CategoryRankScoreCount
Overall3.003
Fun3.003
Innovation3.503
Theme2.503
Graphics3.003
Audio2.503
Humor2.503
Mood3.003

Comments

leginar 2021-04-28 03:14

This game looked interesting but I wasn't able to get the jar file to execute. 'A JNI error has occurred please check your installation and try again' I have tried other java executables and they have worked.

samarthmp5002 2021-04-28 12:24

Epic game! love the simple art style! Keep up the good work!

macaroni-dev 2021-04-29 04:24

I really want to play this, but I couldn't get it to work ``` [nix-shell:~/Downloads/ld48]$ java -version openjdk version "16" 2021-03-16 OpenJDK Runtime Environment (build 16+36-nixos) OpenJDK 64-Bit Server VM (build 16+36-nixos, mixed mode, sharing)

[nix-shell:~/Downloads/ld48]$ java -jar AnInterviewWithSocram/An_Interview_with_Socram/Interview.jar

(java:2262): Gtk-WARNING **: 21:23:26.143: Theme parsing error: colors.css:71:44: Invalid number for color value

(java:2262): Gtk-WARNING **: 21:23:26.143: Theme parsing error: colors.css:72:44: Invalid number for color value

(java:2262): Gtk-WARNING **: 21:23:26.143: Theme parsing error: colors.css:74:53: Invalid number for color value

(java:2262): Gtk-WARNING **: 21:23:26.143: Theme parsing error: colors.css:75:53: Invalid number for color value

(java:2262): Gtk-WARNING **: 21:23:26.143: Theme parsing error: colors.css:76:56: Invalid number for color value

(java:2262): Gtk-WARNING **: 21:23:26.143: Theme parsing error: colors.css:77:65: Invalid number for color value Exception in thread "main" java.lang.NullPointerException: Cannot invoke "java.awt.image.BufferedImage.getWidth()" because "this.backup" is null at deeper.graphics.Bitmap.read(Bitmap.java:62) at deeper.graphics.Bitmap.(Bitmap.java:40) at deeper.TitleScreen.(TitleScreen.java:14) at deeper.Main.(Main.java:58) at deeper.Main.main(Main.java:43) ```

EDIT: It worked when I `cd`'d into the same directory as the jar and ran java there :thumbsup:

randoman38 2021-04-29 17:19

@leginar Some friends I had play it had the same problem, actually. I've never had problems like this before, but we got it to work by re-installing the Java RE and the JDK. If that doesn't work, I'm sorry I can't be more helpful. I'm looking into it more myself, because I'd like to prevent this from being a running issue.

macaroni-dev 2021-04-30 05:02

If you have Nix (or want to install it - it won't interfere with anything), you can get a java that works with this game with:

``` nix-shell -p openjdk16 ```

My nixpkgs was at 20.09 (jdk16 is relatively new)

Then `java -jar Interview.jar` will work