Problems in setting classpath in vista
i am using Xp pro and Vista.
My issue is that I am not able to set classpath in vista.
i want to set classpath so that I can compile and run programs from different folder other than default one in which java is installed.
Please help.
> i am using Xp pro and Vista.
> My issue is that I am not able to set classpath in
> vista.
Don't worry about it. The CLASSPATH variable is best avoided anyway. Specify classpaths for particular apps on the command-line. Teh Docs show you how
> i want to set classpath so that I can compile and run
> programs from different folder other than default one
> in which java is installed.
> Please help.
This suggests you're talking about PATH rather than classpath. Do you understand the difference?
I am sorry about confusion between PATH and CLASSPATH.
I am able to set PATh variables as well as CLASSPATH.Now I can compile as well as run my programs from E:\java.
However when from command prompt i.e.
E:\java>edit hello.java
it says edit is not recognized as internal or external command.
do I have to use notepad or can I fix this issue from command prompt itself.Please Help