1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Question Which jdk & jre to use?

Discussion in 'Developer Support' started by Seraphie, Jul 9, 2020.

  1. Seraphie

    Joined:
    Jul 2, 2020
    Messages:
    6
    Likes Received:
    0
    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:
    Code (Text):
    1. Jul 09, 2020 7:44:02 AM java.util.prefs.WindowsPreferences <init>
    2. WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
    3. Jul 09, 2020 7:44:02 AM javafx.fxml.FXMLLoader$ValueElement processValue
    4. WARNING: Loading FXML document with JavaFX API of version 8.0.121 by JavaFX runtime of version 8.0.20
    5. Jul 09, 2020 7:44:03 AM javafx.fxml.FXMLLoader$ValueElement processValue
    6. WARNING: Loading FXML document with JavaFX API of version 8.0.102 by JavaFX runtime of version 8.0.20
    7. Jul 09, 2020 7:44:03 AM javafx.fxml.FXMLLoader$ValueElement processValue
    8. WARNING: Loading FXML document with JavaFX API of version 8.0.65 by JavaFX runtime of version 8.0.20
    9. Jul 09, 2020 7:44:03 AM javafx.fxml.FXMLLoader$ValueElement processValue
    10. WARNING: Loading FXML document with JavaFX API of version 8.0.102 by JavaFX runtime of version 8.0.20
    11. Exception in thread "RuneMate Login" java.lang.IllegalStateException: Not on FX application thread; currentThread = RuneMate Login
    12.     at com.sun.javafx.tk.Toolkit.checkFxUserThread(Toolkit.java:204)
    13.     at com.sun.javafx.tk.quantum.QuantumToolkit.checkFxUserThread(QuantumToolkit.java:364)
    14.     at javafx.scene.Scene.addToDirtyList(Scene.java:485)
    15.     at javafx.scene.Node.addToSceneDirtyList(Node.java:424)
    16.     at javafx.scene.Node.impl_markDirty(Node.java:415)
    17.     at javafx.scene.Node.notifyParentsOfInvalidatedCSS(Node.java:8709)
    18.     at javafx.scene.Node.requestCssStateTransition(Node.java:8639)
    19.     at javafx.scene.Node.pseudoClassStateChanged(Node.java:8680)
    20.     at javafx.scene.Node$8.invalidated(Node.java:1634)
    21.     at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:109)
    22.     at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:143)
    23.     at javafx.scene.Node.setDisabled(Node.java:1617)
    24.     at javafx.scene.Node.updateDisabled(Node.java:1659)
    25.     at javafx.scene.Node.access$500(Node.java:383)
    26.     at javafx.scene.Node$MiscProperties$8.invalidated(Node.java:6520)
    27.     at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:109)
    28.     at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:143)
    29.     at javafx.scene.Node.setDisable(Node.java:1539)
    30.     at nul.IIiIIIiiiIIii.iIiiiiiiiiIII(dfc:91)
    31.     at nul.IIiIIIiiiIIii$$Lambda$335/1471556200.run(Unknown Source)
    32.     at java.lang.Thread.run(Thread.java:745)
    33.  
    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?
     

Share This Page

Loading...