- Joined
- Jul 2, 2020
- Messages
- 6
- Thread Author
- #1
I finished writing my first bot for RuneMate, and now I want to test it. But it doesn't want to run. When I hit "run" in IntelliJ, a RuneMate Spectre client pops up, but I can't even log in to my account. These are the errors that I'm getting in the console:
It seems to suggest that the JRE and JDK I have are not compatible with eachother. I have jdk1.8.0_20 & jre1.8.0_20 on 64 bit, and then jre1.8.0_25 & jre1.8.0_251 on 32 bit. So I'd like to know what the optimal JDK & JRE setup is, or at least what works for some of you guys. I read that I have to stick to version 8, but which ones?
Code:
Jul 09, 2020 7:44:02 AM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Jul 09, 2020 7:44:02 AM javafx.fxml.FXMLLoader$ValueElement processValue
WARNING: Loading FXML document with JavaFX API of version 8.0.121 by JavaFX runtime of version 8.0.20
Jul 09, 2020 7:44:03 AM javafx.fxml.FXMLLoader$ValueElement processValue
WARNING: Loading FXML document with JavaFX API of version 8.0.102 by JavaFX runtime of version 8.0.20
Jul 09, 2020 7:44:03 AM javafx.fxml.FXMLLoader$ValueElement processValue
WARNING: Loading FXML document with JavaFX API of version 8.0.65 by JavaFX runtime of version 8.0.20
Jul 09, 2020 7:44:03 AM javafx.fxml.FXMLLoader$ValueElement processValue
WARNING: Loading FXML document with JavaFX API of version 8.0.102 by JavaFX runtime of version 8.0.20
Exception in thread "RuneMate Login" java.lang.IllegalStateException: Not on FX application thread; currentThread = RuneMate Login
at com.sun.javafx.tk.Toolkit.checkFxUserThread(Toolkit.java:204)
at com.sun.javafx.tk.quantum.QuantumToolkit.checkFxUserThread(QuantumToolkit.java:364)
at javafx.scene.Scene.addToDirtyList(Scene.java:485)
at javafx.scene.Node.addToSceneDirtyList(Node.java:424)
at javafx.scene.Node.impl_markDirty(Node.java:415)
at javafx.scene.Node.notifyParentsOfInvalidatedCSS(Node.java:8709)
at javafx.scene.Node.requestCssStateTransition(Node.java:8639)
at javafx.scene.Node.pseudoClassStateChanged(Node.java:8680)
at javafx.scene.Node$8.invalidated(Node.java:1634)
at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:109)
at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:143)
at javafx.scene.Node.setDisabled(Node.java:1617)
at javafx.scene.Node.updateDisabled(Node.java:1659)
at javafx.scene.Node.access$500(Node.java:383)
at javafx.scene.Node$MiscProperties$8.invalidated(Node.java:6520)
at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:109)
at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:143)
at javafx.scene.Node.setDisable(Node.java:1539)
at nul.IIiIIIiiiIIii.iIiiiiiiiiIII(dfc:91)
at nul.IIiIIIiiiIIii$$Lambda$335/1471556200.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
It seems to suggest that the JRE and JDK I have are not compatible with eachother. I have jdk1.8.0_20 & jre1.8.0_20 on 64 bit, and then jre1.8.0_25 & jre1.8.0_251 on 32 bit. So I'd like to know what the optimal JDK & JRE setup is, or at least what works for some of you guys. I read that I have to stick to version 8, but which ones?