You are currently browsing the My Web Information Blog Site weblog archives for the day 08-14-2008.
08-14-2008 by Tons.
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.
Posted in Programming | Print | 3 Comments »