I have installed Java in Program Files (x86) > Java > jre > bin
In Environment Variables, I accidentally deleted the default PATH variable.
This is what I currently have in the PATH variable: Please can someone tell me what the default PATH was? I will add this in front of the Java path.
C:\Program Files (x86)\Java\jre6\bin;
Same question for CLASSPATH. What was the default variable for CLASSPATH?
I open up CMD and type java -version and javac -version
For java -version I get:
java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) Client VM (build 19.0-b09, mixed mode, sharing)
For javac -version I get:
'javac' is not recognized as an internal or external command,
operable program or batch file.
What am I doing wrong?
How do I make java work on windows 7 and what are the right paths to enter?