girlbotter 0 Share Posted November 15, 2017 So i'm getting this logged to my terminal when I try to execute the jar. I use ubuntu 17.04 and it was working fine before until I installed openjdk-9 through the package manager. I deleted all of the openjdk packages and reinstalled each one by one and tried executing each and I always get this error. I tried the oraclejdk-9 as well with no avail. I've also tried to deleted all of the dot files as well before re-installing. Nothing works. Here is the full stack trace. Thanks in advance. 35 [12:38:48] ~$ java -jar DBLauncher.jar Exception in thread "main" java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 8 at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3123) at java.base/java.lang.String.substring(String.java:1911) at org.dreambot.launcher.LauncherMethods.getJavaVersion(LauncherMethods.java:94) at org.dreambot.ui.DreamLauncherUI.initComponents(DreamLauncherUI.java:66) at org.dreambot.ui.DreamLauncherUI.<init>(DreamLauncherUI.java:52) at org.dreambot.launcher.DreamLauncher.generateLauncherUI(DreamLauncher.java:26) at org.dreambot.launcher.DreamLauncher.main(DreamLauncher.java:17) Link to comment Share on other sites More sharing options...
Ahmet82 62 Share Posted November 15, 2017 ask bonbom he helped me when i tried running db on my VPS Link to comment Share on other sites More sharing options...
Articron 738 Share Posted November 15, 2017 Don't download java 9! go for JDK 8 Edit: Dreambot is compiled with java 8 Link to comment Share on other sites More sharing options...
bonbom1 19 Share Posted November 15, 2017 I would also like to add that DreamBot doesn't really work with OpenJDK. Link to comment Share on other sites More sharing options...
girlbotter 0 Author Share Posted November 15, 2017 Dunno why this didn't work last night but I reinstalled openJDK8 and it seems to be alright. But yeah I think ill switch to oraclejdk8 per your advice. Thanks all. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.