Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to install Java on PC?

Status
Not open for further replies.

laina222

Technical User
Sep 7, 2001
172
US
Hello everyone,
Starting with the basics here - I'm trying to install the JAVA SDK environment on my PC, but am utterly confused. First I installed and then set my Path by going to Control Panel->System->Advanced Tab->Environment Variables->andthen I set a new User Variable as "C:\jdk1.3.1_06\bin". If I open "Java Web Start" my PC opens the "My Computer" window, whichmakes no sense. I also would like to know how to access the Java Environment once I've installed and correctly set everything up. Am I missing a step? Or did I do something wrong?
Thanks!
 
Java Web Start is something completely different from what you want. You should ignore it for now.

Using a raw SDK, you access the java compiler through a DOS window (MS-DOS Prompt, Command Prompt .. depending on what version of Windows you have).

This link:


will give you a Hello World tutorial that should get you going. Have fun!
 
If you wish to use the raw SDK, you will have to develop your programs using a text ecitor such as notepad, or another API. You will then have to comple the program using javac. Finally you can run the file by typing java filename.

If you wish to have a nice Java programming interface, I would recommend downloading Sun One from java.sun.com. It is free.

Hope this helps
 
There is a great interface called JCreator that really looks a lot like C++ and it's free. That way you don't have to compile from the command line. Good Luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top