Paste the contents of the command prompt into an editor, change the contents as you like and then copy and paste that here.
Type: Posts; User: Norm
Paste the contents of the command prompt into an editor, change the contents as you like and then copy and paste that here.
Open the command prompt and enter the path command. It will display the environment variables' values. Here is what I get:
To copy the contents of the command prompt window:
Click on Icon in...
If the OS's PATH variable does not point to the folder where the javac command is located, then the OS can only find & use the command when it is in the current folder.
The OS must have the path...
You don't need to set the CLASSPATH variable. In fact sometimes having it set can be a problem.
You do need the PATH variable as you have described. The PATH is used by the OS and you would NOT want...
when you get errors, please copy and paste the full text here.
To copy the contents of the command prompt window:
Click on Icon in upper left corner
Select Edit
Select 'Select All' - The...
There must be a site with some doc on DOS and the DOS commands.
I bought a small book years ago that I still use occasionally when I write batch files. I'm on XP.
Use the cd command:
cd Java1
to change from Me to Java1
The cd command will change the directory. use .. to go up one level
D:\JavaDevelopment\NormsTools>cd ..
D:\JavaDevelopment>cd ..
D:\>
Sorry to hear that. Sounds like your stuck in-between here and there.
There are tools to remove stuff from the OS. Maybe google would find something to help.
Can you explain how you got the mixed versions of java on your system?
It looks like the java.exe file on the PATH (1.6) is not the same version as is referred to in the Registry (1.7).