Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • DBLauncher Not Launching on Ubuntu 19.04


    Defiled

    Recommended Posts

    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

    Screenshot-1.png

     

     

    Link to comment
    Share on other sites

    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

    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

    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

    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

    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

    Archived

    This topic is now archived and is closed to further replies.

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.