Defiled 424 Share Posted December 2, 2019 (edited) Hello Everyone, This thread has been suggested by @Infidel , due to the high amount of people experiencing this problem when first starting their botting journey. I've listed 2 methods you could attempt, so let's get started! 1) Client won't open when DBLauncher.jar is clicked. This may be due to several reasons but most commonly it's because your computer may lack Java 8 OR It has it but your computer also has other versions installed on it and when you try to load any Java applications, the higher version (Which would be probably set to default) loads the JAR file instead of Java 8. So.. what should you do? 🤔🤔🤔 First let's check the Java version installed and used on your Computer/PC! You can do that by: 1) Opening the Command Prompt (CMD) -> Search CMD in the start menu OR Terminal for Mac. 2) Type in java -version and you'll be faced with the following details: If the java version doesn't output "1.8" then you could be either of these situations: 1) You have Java 8 Installed but the system is using another version. 2) You do not have Java 8 Installed. Before continuing if you are sure you do not have Java 8 installed/downloaded: click here to download JDK/JRE 8 . To check whether you have Java 8 Installed or not: Windows: head over to your Java folder located in your Program Files / Program Files (64bit) You'll see all Java versions that are installed on your PC. Mac OS: (Paste this in Terminal) which java It'll output the current Java version installed. Now we will set the Environmental Path (To tell your system to use Java 8 ) Get the Path To Your Java Installation: To fetch the Java Path: Mac OS: (Terminal) which java Windows OS: (CMD) where java This gets the path of every Java Installation you have! Copy the Java 8 Path Setting the Environmental Path: (Assigning Java 8 as the default Java version) for Mac OS: Run the following command in your Terminal: (Make sure to change the Java version "Orange number" to the version you found in your Java folder) % /usr/libexec/java_home -v 1.8.0_73 --exec javac -version for Windows: Run the following command in your Command Prompt (CMD): (Change the path (blue text) to the path of your Java Installation) setx -m JAVA_HOME "C:\ProgramFiles\Java\jdk1.8.0_XX" Testing: Restart CMD/Terminal and type in java -version If it displays 1.8, then everything worked great! If you guys have any questions, please do leave a comment and I'll answer them to the best of my knowledge! Have a good one guys! Edited December 3, 2019 by ItsDefiled Nuclear Nezz and Semper Fi 2 Link to comment Share on other sites More sharing options...
Defiled 424 Author Share Posted December 2, 2019 1 hour ago, Infidel said: Explained so simple a monkey could perform it. Nice tutorial. Thanks Link to comment Share on other sites More sharing options...
Koschei 147 Share Posted December 3, 2019 21 hours ago, ItsDefiled said: Thanks Instructions unclear, dick stuck in disk drive. Link to comment Share on other sites More sharing options...
Defiled 424 Author Share Posted December 3, 2019 (edited) 17 minutes ago, Koschei said: Instructions unclear, dick stuck in disk drive. How are they unclear? Please point the "unclear" parts so I can modify them Edit: I rewrote some of the text below to make it more clearer! Edited December 3, 2019 by ItsDefiled rcatando 1 Link to comment Share on other sites More sharing options...
harryburger45 0 Share Posted January 13, 2020 When I type in " java -version" i get "'java' is not recognized as an internal or external command, operable program or batch file." but i have the two jdk/ jre files under my java folder. also when i type in C:\Users\Drew>setx -m JAVA_HOME ""C:\ProgramFiles\Java\jdk1.8.0_231" I get this message. "ERROR: Access to the registry path is denied." please help im struggling lol Link to comment Share on other sites More sharing options...
Defiled 424 Author Share Posted January 13, 2020 (edited) 52 minutes ago, harryburger45 said: When I type in " java -version" i get "'java' is not recognized as an internal or external command, operable program or batch file." but i have the two jdk/ jre files under my java folder. also when i type in C:\Users\Drew>setx -m JAVA_HOME ""C:\ProgramFiles\Java\jdk1.8.0_231" I get this message. "ERROR: Access to the registry path is denied." please help im struggling lol run CMD as Administrator. Edited January 13, 2020 by Defiled Link to comment Share on other sites More sharing options...
harryburger45 0 Share Posted January 13, 2020 2 hours ago, Defiled said: run CMD as Administrator. Okay thank you. I got it to show me the correct java version. but when i click the DBLauncher still nothing happens.. what am I doing wrong man? Link to comment Share on other sites More sharing options...
Defiled 424 Author Share Posted January 13, 2020 (edited) 12 minutes ago, harryburger45 said: Okay thank you. I got it to show me the correct java version. but when i click the DBLauncher still nothing happens.. what am I doing wrong man? Here are a few things you can try: 1) Pause your anti-virus and run DBLauncher OR 2) Set the environmental variables: setx -m JAVA_HOME "C:\ProgramFiles\Java\jdk1.8.0_XX" OR 3) Run client.jar that is in your DreamBot folder that is in your Home directory. OR 4) (Have the DBLauncher on your Desktop) First: in CMD type cd Desktop Second: java -jar DBLauncher.java OR 5) Run the DBLauncher.java as administrator OR 6) Download JRE 8 (it is possible that you have JDK8 but not JRE8 somehow) Edited January 13, 2020 by Defiled Link to comment Share on other sites More sharing options...
harryburger45 0 Share Posted January 13, 2020 18 minutes ago, Defiled said: Here are a few things you can try: 1) Pause your anti-virus and run DBLauncher OR 2) Set the environmental variables: setx -m JAVA_HOME "C:\ProgramFiles\Java\jdk1.8.0_XX" OR 3) Run client.jar that is in your DreamBot folder that is in your Home directory. OR 4) (Have the DBLauncher on your Desktop) First: in CMD type cd Desktop Second: java -jar DBLauncher.java OR 5) Run the DBLauncher.java as administrator OR 6) Download JRE 8 (it is possible that you have JDK8 but not JRE8 somehow) I DM'd you. I'm not sure what you meant by steps 3 4 or 5....... sorry if this feels like you are dealing with a 5 year old Link to comment Share on other sites More sharing options...
LordOfWar1275 0 Share Posted April 7, 2020 I’m also having trouble, I downloaded a separate JRE, I uninstalled my antivirus cause it was not launching, I’ve done every step except 3) cause I only have one file called DBLauncher.jar Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now