- My Web Information Blog Site - http://blog.myweb-info.com -
Learning Java
Posted By Tons On 08-14-2008 @ 07:43 In Programming | 3 Comments
Day 1
Today is the first day to study java. I started on the basic steps like know how to compile, where to get the compiler and how to run it via ms-dos prompt and via web.
So far i was able to get a compiler from java.sun.com website — j2sdk-1_4_2_18-windows-i586-p.exe. I was able to compile my basic java script using javac.
Before i was able to use the command javac, I went to the MS-DOS PROMPT and type PATH=c:\ j2sdk-1_4_2_18\bin.
Now I can use javac FILENAME.java to compile the file. Once the file is compiled, a new file will be created. FILENAME.class is the new file that was created.
To view the output of the file in MS DOS, use java FILENAME.
Article printed from My Web Information Blog Site: http://blog.myweb-info.com
URL to article: http://blog.myweb-info.com/2008/08/14/learning-java/
Click here to print.