alchitry/Alchitry-Labs

Only specific JRE?

uncttao opened this issue · 1 comments

The IDE refuses to launch saying that I don't have Java 8 64-bit, which I absolutely do have (GraalVM, not standard Oracle or OpenJDK). My Java version is

java version "1.8.0_271"
Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
Java HotSpot(TM) 64-Bit Server VM GraalVM EE 20.3.0 (build 25.271-b09-jvmci-20.3-b06, mixed mode)

In my opinion, the IDE should be as general as possible when checking valid Java installations, not just from specific vendors unless really necessary.

Version: 1.2.1

I'm having the same problem.

java -version

openjdk version "16.0.1" 2021-04-20
OpenJDK Runtime Environment (build 16.0.1+9-24)
OpenJDK 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)

Alchitry Labs version 1.2.7

Error message:
image

Resolved by downloading and installing the regular Oracle JDK, which worked:

java -version

java version "19.0.1" 2022-10-18
Java(TM) SE Runtime Environment (build 19.0.1+10-21)
Java HotSpot(TM) 64-Bit Server VM (build 19.0.1+10-21, mixed mode, sharing)