problems with class paths
Posted on 2006-05-20
I am trying to set up the claths paths on my windows xp machine. I go to environment variables and make new user variable.
I then write in the variable name: classpath and in variable value: .;C:\Program Files\Java\jdk1.5.0_06\jre\lib\rt.jar
I want to be able to compile files primarily off my a: drive but would like to compile them off any where on the machine.
Currently if I write: a:\> javac test.java , I just get 'javac' not recognised as an internal batch command etc..
I have read other similar question on ee, but I think the answsers given where to older versions and they said that with java 1.3 some bits were not needed. It has confused me a little, so In would like to know an up-to-date answer..