orionAD6 Posted December 6, 2012 Posted December 6, 2012 Title: Tekkit error to do with java Version: 3.1.2 OS: WIndows 7 64 bit Java Version: java 7 Description of Problem: when ever I start up my server I get this message C:\Windows\system32>java -Xmx1G -Xms1G -jar tekkit.jar nogui Error: Unable to access jarfile tekkit.jar C:\Windows\system32>pause Press any key to continue . . . If I don't run it as admin I get the error in the error log supplied below Ive completely delete java and reinstalled Ive got a new server file Ive deleted java in system32 Ive tried everything I really need help Error Messages: 'java' is not recognized as an internal or external command, operable program or batch file. Error Log: 'java' is not recognized as an internal or external command, operable program or batch file. Quote
0 theprolo Posted December 6, 2012 Posted December 6, 2012 You need to set Java in your PATH. Google it to find out how. Quote
0 orionAD6 Posted December 6, 2012 Author Posted December 6, 2012 I have attempted to do that and I now get this error message when run as admin C:\Windows\system32>"C:\Program Files (x86)\Java\jre7\bin\java" -jar -Xmx3G -XmX 2G "C:\Users\OrionAD6\Desktop\Tekkit server\Tekkit.jar" Unrecognized option: -XmX2G Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. C:\Windows\system32>pause Press any key to continue . . . Quote
0 theprolo Posted December 6, 2012 Posted December 6, 2012 Sounds like you misspelled part of the launch.bat. java -Xmx3G -Xms2G -jar Tekkit.jar nogui is an example of a wroking one, try comparing. Quote
0 orionAD6 Posted December 7, 2012 Author Posted December 7, 2012 ok Ive tryed doing that and ive got this message C:\Windows\system32>"C:\Program Files (x86)\Java\jre7\bin\java" java -Xmx3G -Xms 2G -jar Tekkit.jar nogui "C:\Users\OrionAD6\Desktop\Tekkit server\Tekkit.jar" Error: Could not find or load main class java C:\Windows\system32>pause Press any key to continue . . . Quote
Question
orionAD6
Title: Tekkit error to do with java
Version: 3.1.2
OS: WIndows 7 64 bit
Java Version: java 7
Description of Problem:
when ever I start up my server I get this message
C:\Windows\system32>java -Xmx1G -Xms1G -jar tekkit.jar nogui Error: Unable to access jarfile tekkit.jar C:\Windows\system32>pause Press any key to continue . . .
If I don't run it as admin I get the error in the error log supplied below
Ive completely delete java and reinstalled Ive got a new server file Ive deleted java in system32 Ive tried everything I really need help
Error Messages:
'java' is not recognized as an internal or external command,
operable program or batch file.
Error Log:
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.