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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java Beginner

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I downloaded Sun jdk 1.3 but doesn't know how to compile it. I followed the instructions posted on Sun.com and changed the Path in Autoexec.bat but that doesn't help. I am familer with VB and C++. Can somebody out there help me?
 
1. First run the install j2sdk1_3_0-win.exe.
2. Then add to your Set Path= "C:\JDK1.3\Bin" if that is where it is installed on your hard drive. This would be in your autoexec.bat file or on NT your environment settings.
3. From the DOS Command line in any directory, enter the word "Java". You will get a Usage listing for the Java command and that means you have the path set correctly.
4. Go to the directory where your source code is. Your source code should be a .java file. In this directory from the DOS command line enter "javac programname.java". Your program should compile.
5. For more info about the SUN SDK and a sample applet and application check out my web site and click on the coffee mug:
Good luck,
Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top