Det commented on 2018-02-09 12:05

1) OpenJDK 9 doesn't have the JRE subdirectory, because they were merged in JRE/JDK 9.

2) You check for directories with the -d flag:

0 ✓ 13:33:21 /usr/lib/jvm/java-8-openjdk

$ ls -d *

bin include jre lib

3) Do you know how to use archlinux-java? If your default's 8, you should get:

$ biglybt-extreme-mod

Starting BiglyBT...

Suitable java version found [java = java 1.8.0_162]

Error: A JNI error has occurred, please check your installation and try again

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/biglybt/platform/JavaBitMode has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0

moham_96 commented on 2018-02-09 04:39

Your check in prepare() is not returning OpenJDK because it doesn't have a JRE subdirectory