HOW TO INSTALL THE SOFTWARE TO XP WINDOWS AND SET THE PATH

Please advise of which version of JAVA2 should I download for WINDOWS XP envorinment and I need guidance to install the software to the system and also need complete guidance to set the path to avoid compilling errors when the programme is run.

Thanks.
JohnSrinivassanAsked:
Who is Participating?
 
ZylochConnect With a Mentor Commented:
If you are developing programs, you should start by downloading JDK6 Update 3 from http://java.sun.com/javase/downloads/index.jsp. You can choose either offline or online package. Run whichever one you download, and you should install Java for you. Make a not of what directory you installed Java in.

Afterward, go to System Properties either by holding the WinKey+Pause/Break shortcut or through Control Panel->System. Go to Advanced tab, and click the button at the bottom for Environmental Variables.

In the bottom field, find the one that is labeled Path. Double click it to edit, then add at the beginning C:\path\you\installed\java\bin; Click Ok several times and you should be set.

You can then test by going to Start->Run->cmd and typing javac and hitting enter.
0
 
JohnSrinivassanAuthor Commented:
Hi,

I tried to run, but still getting this error message.  Please have a look on the output and help me to resolve this issue.

C:\>cd\seenu java

C:\SEENU JAVA>javac example.java
'javac' is not recognized as an internal or external command,
operable program or batch file.

C:\SEENU JAVA>javac Example.java
'javac' is not recognized as an internal or external command,
operable program or batch file.

C:\SEENU JAVA>
0
 
JohnSrinivassanAuthor Commented:
HI,

To give you additional information.

The downloaded Java software is in the C drive within the programme files folder.
My notepad example.java is in the SEENU JAVA folder in the C drive.
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
ZylochCommented:
Which folder is your Java saved into? C:\programmer\jdk or something else? Did you add it to the path as I outlined in my post?
0
 
JohnSrinivassanAuthor Commented:
Zyloch,

Are you asking about the Java software programme folder or the notepad folder (Seenujava) location?

0
 
JohnSrinivassanAuthor Commented:
I AM STILL STRUGGLING TO RESOLVE THIS ISSUE.  PLEASE ADVCIE AT THE EARLIEST POSSIBLE.
0
 
JohnSrinivassanAuthor Commented:
THE JAVA SOFTWARE IS IN THE WINDOWS DIRECTORY, SO PLEASE HELP TO SET-UP THE PATH.

THANKS.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.