Solved

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

Posted on 2007-12-01
7
196 Views
Last Modified: 2013-11-23
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.
0
Comment
Question by:JohnSrinivassan
  • 5
  • 2
7 Comments
 
LVL 36

Accepted Solution

by:
Zyloch earned 500 total points
ID: 20388420
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
 

Author Comment

by:JohnSrinivassan
ID: 20389049
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
 

Author Comment

by:JohnSrinivassan
ID: 20389096
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
Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

 
LVL 36

Expert Comment

by:Zyloch
ID: 20389496
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
 

Author Comment

by:JohnSrinivassan
ID: 20541065
Zyloch,

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

0
 

Author Closing Comment

by:JohnSrinivassan
ID: 31412101
I AM STILL STRUGGLING TO RESOLVE THIS ISSUE.  PLEASE ADVCIE AT THE EARLIEST POSSIBLE.
0
 

Author Comment

by:JohnSrinivassan
ID: 20588830
THE JAVA SOFTWARE IS IN THE WINDOWS DIRECTORY, SO PLEASE HELP TO SET-UP THE PATH.

THANKS.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

As hardware bugs go, this is a strange one! I upgraded a laptop in December 2011 with a 512GB Crucial m4 2.5-inch/9.5mm SATA Solid State Drive (SSD), Crucial part number CT512M4SSD2: http://www.crucial.com/store/partspecs.aspx?IMODULE=CT512M4SSD2 …
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now