Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Question Issues starting Spectre from IntelliJ

diy

Joined
Nov 3, 2017
Messages
13
I'm trying to set up IntelliJ for Spectre using Party's tutorial however when I try to run the "Hello World!" tutorial bot from IntelliJ I get the following error:

"C:\Program Files\Java\jdk-9.0.1\bin\java" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2017.2.5\lib\idea_rt.jar=51472:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2017.2.5\bin" -Dfile.encoding=UTF-8 -p "C:\Users\Keega\IdeaProjects\RuneMate\out\production\RuneMate;C:\Program Files (x86)\RuneMate\RuneMate.jar" -m RuneMate/com.runemate.boot.Boot -sdk


Error: Unable to load main class com.runemate.boot.Boot in module RuneMate
java.lang.NoClassDefFoundError: javafx/application/Application



Process finished with exit code 1




I'm running a 64 bit JDK, I don't have a 32 bit JRE installed on my machine AFAIK, and Party's guide mentions Spectre only supporting 32 bit JRE's so that could be the root of the problem, however I don't even see the option to download a 32 bit JRE anywhere on oracles website, all of the Java 8 or 9 JREs/JDKs that show up for me for windows are 64 bit. Clearly I'm missing something.
 
Misfits
Joined
Nov 21, 2016
Messages
1,538
I'm trying to set up IntelliJ for Spectre using Party's tutorial however when I try to run the "Hello World!" tutorial bot from IntelliJ I get the following error:

"C:\Program Files\Java\jdk-9.0.1\bin\java" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2017.2.5\lib\idea_rt.jar=51472:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2017.2.5\bin" -Dfile.encoding=UTF-8 -p "C:\Users\Keega\IdeaProjects\RuneMate\out\production\RuneMate;C:\Program Files (x86)\RuneMate\RuneMate.jar" -m RuneMate/com.runemate.boot.Boot -sdk


Error: Unable to load main class com.runemate.boot.Boot in module RuneMate
java.lang.NoClassDefFoundError: javafx/application/Application



Process finished with exit code 1




I'm running a 64 bit JDK, I don't have a 32 bit JRE installed on my machine AFAIK, and Party's guide mentions Spectre only supporting 32 bit JRE's so that could be the root of the problem, however I don't even see the option to download a 32 bit JRE anywhere on oracles website, all of the Java 8 or 9 JREs/JDKs that show up for me for windows are 64 bit. Clearly I'm missing something.

Google search 32 bit jre
 

diy

Joined
Nov 3, 2017
Messages
13
I have. Only ones I see are off 3rd party sites but I guess I'll just roll with it. Not sure why there aren't 32 bit versions showing up on Oracle's website.
 
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
No 32 bit options show up for me there, just 64. Thanks though, I'll just DL it elsewhere.
The x86 architecture is 32 bit...
Furthermore you need to use Java 8, Java 9 is not supported yet.
 
Top