Da-one-and-only Posted November 29, 2012 Posted November 29, 2012 Title: java is not recognized as an internal or external comand Version: 3.1.2 OS: windows vista Java Version: Version 7 Update 9 Description of Problem: trying to set up a tekkit server, when opening the bat, i get: Error Messages: C:\Users\josh\Desktop\tekkit server>java -Xmx3G -Xms2G -jar Tekkit.jar nogui 'java' is not recognized as an internal or external command, operable program or batch file. C:\Users\josh\Desktop\tekkit server>pause Press any key to continue . . . Error Log: Quote
0 Azeryn Posted November 29, 2012 Posted November 29, 2012 you have to add your java path to the PATH variable Windows Vista Right click My Computer icon Choose Properties from the context menu Click Advanced tab (Advanced system settings link in Vista) In the Edit windows, modify PATH by adding the location of the class to the value for PATH. If you do not have the item PATH, you may select to add a new variable and add PATH as the name and the location of the class as the value. Reopen Command prompt window, and run your java code. Quote
0 Silent Posted November 29, 2012 Posted November 29, 2012 Or find your java install (something along the lines of c:/program files/java/jre7/bin/java.exe) And place that instead of the word Java (Note you'll need the encase the path to java in ""'s) Quote
Question
Da-one-and-only
Title: java is not recognized as an internal or external comand
Version: 3.1.2
OS: windows vista
Java Version: Version 7 Update 9
Description of Problem:
trying to set up a tekkit server, when opening the bat, i get:
Error Messages:
C:\Users\josh\Desktop\tekkit server>java -Xmx3G -Xms2G -jar Tekkit.jar nogui
'java' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\josh\Desktop\tekkit server>pause
Press any key to continue . . .
Error Log:
2 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.