Defiled 423 Share Posted October 3, 2019 Hello, I bought a VPS and I installed the latest JDK, JRE, Java Generally.. then set the permissions for the DBLauncher.jar but its not launching OS: Ubuntu 19.04 ive attached an image of the error.. i'd really appreciate it if you guys could help me! http://prntscr.com/pef4sa Link to comment Share on other sites More sharing options...
yeeter 517 Share Posted October 3, 2019 Install Java 8 sudo apt install openjdk-8-jdk Uninstall all other versions of Java OR figure out how to set the default Java version with Ubuntu. Literally just Google copy pasta'ed this so not sure if it will work exactly but might be a useful reference. https://computingforgeeks.com/how-to-set-default-java-version-on-ubuntu-debian/ Link to comment Share on other sites More sharing options...
Defiled 423 Author Share Posted October 3, 2019 Thanks a lot yeeter, the issue was indeed that I was using Java 11 as my default setting. Here is what I did: First I installed JDK/JRE 8 using the following command: sudo apt install openjdk-8-jdk then I checked what versions I had installed: $ update-java-alternatives --list then I set java8 as main alt: sudo update-java-alternatives --set java-1.8.0-openjdk-amd64 That's it! Thank you Link to comment Share on other sites More sharing options...
yeeter 517 Share Posted October 3, 2019 1 minute ago, defiledx1 said: Thanks a lot yeeter, the issue was indeed that I was using Java 11 as my default setting. Here is what I did: First I installed JDK/JRE 8 using the following command: sudo apt install openjdk-8-jdk then I checked what versions I had installed: $ update-java-alternatives --list then I set java8 as main alt: sudo update-java-alternatives --set java-1.8.0-openjdk-amd64 That's it! Thank you glad you got it enjoy 😃 Link to comment Share on other sites More sharing options...
Neffarion 485 Share Posted October 3, 2019 Just a heads up and recommendation. Switch to AdoptOpenJDK 8. You can find repository info here at the end of the page. Link to comment Share on other sites More sharing options...
Defiled 423 Author Share Posted October 3, 2019 19 minutes ago, Neffarion said: Just a heads up and recommendation. Switch to AdoptOpenJDK 8. You can find repository info here at the end of the page. Thanks for the suggestion. What's the difference between the Normal OpenJDK & Adopt? Link to comment Share on other sites More sharing options...
Neffarion 485 Share Posted October 3, 2019 50 minutes ago, defiledx1 said: Thanks for the suggestion. What's the difference between the Normal OpenJDK & Adopt? AdoptOpenJDK 8 LTS is a long term version of the JDKv8 which is community managed. It drops stuff like JavaFX to a separate component installer (Dreambot can't use this anyway) and a bunch of other things. Easier to check this: https://devexperts.com/blog/oracle-jdk-vs-openjdk-builds-comparison/ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.