-
Apprentice
[508] Something To Do With Java [508]
Okay whenever I try to run my IP changing client...
I get this error..
"'java' is not recognized as an int
operable program or batch file.
Press any key to continue . . ."
I have never got this error before on my laptop.. Now im on my desktop and this happens..
Any Answers?
Do i have to make a path?
BTW, I already made a CLASSPATH.. Still not working
-
-
Re: [508] Something To Do With Java [508]
You need to change java in your command/batch file to the path to your actual java files.
-
Apprentice
Re: [508] Something To Do With Java [508]
Yeah when i edit the dos files..
It just says..
Java -Xml615 Client thingy idkk,
It doesn't give me like c:"java_6.0.14" or something..
-
Re: [508] Something To Do With Java [508]
Yes, you need to change the word
java
to the path of your jdk files.
Preferably the latest.
-
Re: [508] Something To Do With Java [508]
If you set your PATH properly, then you'll be fine. CLASSPATH doesn't affect the DOS command shell, mate, so you need to put the JDK path in the PATH system variable. Then it'll work. Although, the JRE version of java automatically works with the java command....
-
Apprentice
Re: [508] Something To Do With Java [508]
So then what should i put instead of java...?
I have all of the SE updates and JDK so it doesn't matter what one..
like 6.0.14
?
-
Re: [508] Something To Do With Java [508]
The java path needs to be there, It just has to be in the PATH variable, not the CLASSPATH variable
-
Account Upgraded | Title Enabled!
Re: [508] Something To Do With Java [508]
You just need the correct CLASSPATH, Java is what it searches for (JDK - Java development kit) then it goes on to look for javac which is the Java compiler. You don't need to change anything, just set your CLASSPATH. Theres different ways in doing this for both XP and Vista and I've forget them both, sorry.
-
Apprentice
Re: [508] Something To Do With Java [508]
I'v Done CLASSPATH
And then made a PATH
in variables... Oo
-
Account Upgraded | Title Enabled!
Re: [508] Something To Do With Java [508]
Copy your run.bat
Edit: Sorry, forgot about the IPChangers run.bat XD Anyway, if you've set your PATH and CLASSPATH variables it should work (They need to be set as: C:\Program Files\Java\JDK1.7.0 - change to your version of JDK)
Last edited by TehByte; 18-08-09 at 11:50 AM.