Java jdk-12.0.1_windows-x64_bin problem

matmat's icon

Hi,
I installed the Java jdk-12.0.1 for windows-x64 .
In the windows command line i verified the Java version :
: C:\Users\XXX>java -version java version "12.0.1" 2019-04-16 Java(TM) SE Runtime Environment (build 12.0.1+12) Java HotSpot(TM) 64-Bit Server VM (build 12.0.1+12, mixed mode, sharing)

But in Max8 when i load an mxj i've this message : mxj: could not find Java 2 Runtime Environment. Error loading: (mxj) mxj_platform_init failed. Could not initialize the Java Runtime Environment. Please check your Java installation. java.sun.com Unable to create JVM

Do you have an idea ?
Thanks
Mathieu

Jan M's icon

I am on macOS and running Java 8 Update 221. Maybe try to install an earlier version of Java (from C74 side mxj/java is in maintenance mode, meaning it does not receive updates, they just try to keep it running as is)

Chris's icon

in my recherche about mxj I found this post and supposed from it that it is not possible to run an actual java version with mxj. Meanwhile I installed JDK 18 successfully on my machine with Windows 10. Here is a more detailed description https://github.com/tecartlab/max-mxj/wiki/Install-Open-JDK13