This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
How to use JDK & JRE without setting the path in environment variable
Rahul Shivsharan
Ranch Hand
Joined: Jun 17, 2009
Posts: 83
posted
0
hi,
if i want to run java programs on my PC i have to set JAVA_HOME and PATH in environment
variables .
so once we do that , and type in CMD that "java -version", it gives me which version my JDK installed is
and if i do 'echo %PATH%' i'm able to see all the folder struture which are in the path.
Now my question is,
in my current Project we are using JDK 1.4 ,
if i do 'java -version' it shows as follows,
if i do echo %JAVA_HOME% nothing is shown,
but if i do 'echo %PATH%' it gives me following info
Hence my question is, if i install latest Netbeans 6.X or latest Eclipse and just give the JDK 6 path in the IDE's environment variables, will it effect my Systems PATH which still takes jdk 1.4.2
For my Live projects which uses Jdk 1.4.2 , we are using Oracle JDeveloper IDE
Please suggest me
Manish Singh
Ranch Hand
Joined: Jan 26, 2007
Posts: 160
posted
0
You can create a project in an IDE.
For example in eclipe create a project and use the .classpath file to store your classpath