Jump to content

Running Eclipse in JDK 19 and OSBot in Java 8 Error


yougotcased

Recommended Posts

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!!

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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