Good morning, I have an application that works only with Java OpenJDK 64-Bit Server VM 1.8.0_292, however we are in the Java OpenJDK 64-Bit Server VM 1.8.0_312 version. How can I install it?
try calling it direclty (
/new/path/jdk8/bin/java -version). This should now differ from calling the default java (
instead of calling the first java the systems finds (like
java -Xmx500G -jar yourApp.jar), run your app via direct java path call:
/new/path/jdk8/bin/java -Xmx500G -jar yourApp.jar
For Windows you can create .bat files, for linux you can create runnable bash scripts etc.
Oh, and a little side note: if that app is really only running under a certain revision version of java, it’s probably really bad software…