- Joined
- Jun 21, 2014
- Messages
- 350
I think on the 6th image it shows jre7 as the selected JRE, make sure it's using java 8 to run.
By registering with us, you'll be able to discuss, share and private message with other members of our community.
Sign up now!I think on the 6th image it shows jre7 as the selected JRE, make sure it's using java 8 to run.
I have followed the guide Step by step with the exclusion of me using more up to date features As this guide was wrote a while back. So i use the newest version of it all.I think on the 6th image it shows jre7 as the selected JRE, make sure it's using java 8 to run.
I have followed the guide Step by step with the exclusion of me using more up to date features As this guide was wrote a while back. So i use the newest version of it all.
I have followed the guide Step by step with the exclusion of me using more up to date features As this guide was wrote a while back. So i use the newest version of it all.
Try remove all versions of java off your PC then install JDK8(32bit/64bit, whichever your system is running) and try again. There is a few different places in Intellij that you have to set the java version for. Fresh install and set up the environment variables correctly and you should be good to go.
Try this and give us a reply:
1. Press Windows key + R
2. Type "cmd" then hit OK.
3. Into command type "java -version" then hit enter. Do the same for "javac -verison". Post results here as a screeny.
Did you try following the video tutorial? It is a lot more recent
You havent set your environment variables or you don't have JDK installed. Do a full reinstall of Java, uninstall all the versions you have have first, then delete the "Java" folders in "Program Files(x86)" and "Program Files".
I started with that and it gave the same error so i felt like i did something wrong so i followed the post.
Hello,
Do you need to also include the manifest.xml file? If so, how would I ensure that the main-class tag is successfully filled out so that my bots are able to be located.
Thanks!
Just as a note it doesn't have to be in the same folder as your source files as long as its in the classpath (and is therefore copied over to the bin directory by your IDE).Yes you need to put your manifest file in the same folder as your .java file, make sure your main-class tag has the full path to the .java file starting from the first package name, including your bot name like "com.akatsuki.bots.YourClassName"
Main class has been updated to com.runemate.boot.Boot.I am having an error on the edit configuration part here:
Main class has been updated to com.runemate.boot.Boot.
When im on the edit configuration part when i type in com.runemate.boot.Boot its says it cannot resolve symbol 'runemate'
"C:\Program Files\Java\jdk1.8.0_131\bin\java" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2017.1.4\lib\idea_rt.jar=56344:C:\Program Files\JetBrains\IntelliJ IDEA 2017.1.4\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_131\lib\ant-javafx.jar;C:\Program Files\Java\jdk1.8.0_131\lib\dt.jar;C:\Program Files\Java\jdk1.8.0_131\lib\javafx-mx.jar;C:\Program Files\Java\jdk1.8.0_131\lib\jconsole.jar;C:\Program Files\Java\jdk1.8.0_131\lib\packager.jar;C:\Program Files\Java\jdk1.8.0_131\lib\sa-jdi.jar;C:\Program Files\Java\jdk1.8.0_131\lib\tools.jar;C:\Users\Juanma\IdeaProjects\RuneMate\out\production\RuneMate;C:\Users\Juanma\IdeaProjects\RuneMate\RuneMate.jar" com.runemate.Boot -sdk -login=Andry:27774656:RS
Error: no se ha encontrado o cargado la clase principal com.runemate.Boot
Process finished with exit code 1
"C:\Program Files\Java\jdk1.8.0_131\bin\java" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2017.1.4\lib\idea_rt.jar=56344:C:\Program Files\JetBrains\IntelliJ IDEA 2017.1.4\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_131\lib\ant-javafx.jar;C:\Program Files\Java\jdk1.8.0_131\lib\dt.jar;C:\Program Files\Java\jdk1.8.0_131\lib\javafx-mx.jar;C:\Program Files\Java\jdk1.8.0_131\lib\jconsole.jar;C:\Program Files\Java\jdk1.8.0_131\lib\packager.jar;C:\Program Files\Java\jdk1.8.0_131\lib\sa-jdi.jar;C:\Program Files\Java\jdk1.8.0_131\lib\tools.jar;C:\Users\Juanma\IdeaProjects\RuneMate\out\production\RuneMate;C:\Users\Juanma\IdeaProjects\RuneMate\RuneMate.jar" com.runemate.Boot -sdk
Error: no se ha encontrado o cargado la clase principal com.runemate.Boot
Process finished with exit code 1
We use essential cookies to make this site work, and optional cookies to enhance your experience.