Your PATH isn't set correctly.
How do I set or change the PATH system variable?
|
Hello,
I need help fixing my cmd start. This is my run.
and this is my errorCode:@echo off title Project Insanity java -Xmx556m -cp bin;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server pause
Code:'java' is not recognized as an internal or external command, operable program or batch file. Press any key to continue . . .
Your PATH isn't set correctly.
How do I set or change the PATH system variable?
Replace the "java" keyword in the batch file with:
Change the path accordingly.Code:"C:\Program Files\Java\jdk1.7.0_25\bin\java.exe"
Thanks!
You need quotations around your path.. change it to this :
@echo off
title Project Insanity
"C:\Program Files\Java\jdk1.7.0_51\bin\java.exe" -Xmx556m -cp bin;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server
pause
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |