Jump to content

Running Eclipse in JDK 19 and OSBot in Java 8 Error


Recommended Posts

Posted

So I'm having a bit of a dilemma with running Eclipse in JDK 19 & OSbot in JRE 8.

 

If I run eclipse with only JDK 19 installed on PC, Eclipse loads fine but when I install JRE 8 to run OSBot I cannot run Eclipse. I have been trying to use the .bat script method to load OSBot and now OSBot will load up but there is still conflict with JDK 19 on eclipse.

The script I used for my .bat file;

cd C:\program files\Java\jre1.8.0_202\bin
java -jar C:\Users\user\OneDrive\Desktop\OSBot.jar

I keep getting an error message on eclipse "version 1.8.0_202 of the JVM is not suitable for this product. Version: 11 or greater is required."

I have added a JAVA_HOME environment variable with the file location path of JDK 19 but still get the same error when trying to boot Eclipse, I have searched the web for information on this but nothing seems to help now, the only solution I have been able to find is uninstalling JRE 8 and then I can boot into eclipse again which doesn't really help as I currently have to choose between one and the other. 

Please can someone assist me with this :) TIA!!

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...