Java and Vista Ultimate 64.

Permabanned
Joined
5 Feb 2008
Posts
563
Location
Stoke on trent.
Hello guys.

I've installed Java JRE for Windows 64. When ever I try and open a Java BAT file I get the error : 'Java is not recognized as an internal or external command, operable program or batch file'

Any body know what's causing this? I never had this problem in XP.

Cheers.
 
The PATH variable needs to be updated, under 'envriroment variables'. The error means it can't find the java executable, as it doesn't know where to look.
 
It's actually classpath, not path :o

This image should help you do it :)


If classpath doesn't exist click on new, enter classpath as the name and the value will be the something like C:\YOUR_JAVA_DIRECTORY\bin you'll have to find the java directory....
 
Maybe I'm just a big noob but the application still wont launch as it's giving me the same error.

CLASSPATH wasn't on the list so I had to create it like you told me too. My Java directory installed to the default directory which is C:\Program Files\Java.

What I don't understand is, in the value field do I put in 'C:\Program Files\Java\jdk1.6.0_07\bin\java.exe' exactly like that?

Any information is hugely appreciated!

Cheers.
 
Last edited:
All sorted now guys. I followed a different guide and it worked first time! Thanks for all of your help anyway. :)
 
Back
Top Bottom