Compiling an Application
It is very easy to compile your application once you have installed and configured your JDK.
You simply go to the directory in which you have saved your .java file and use javac to compile it into bytecode using the command:
javac filename.java
(or sometimes javac *.java to compile all java files in one directory)
The process is demonstrated below:
NEXT
Selena Sol contributes to the JavaBoutique's Introduction to Java. Selena curently works for Barclays Capital in London, one of the leading global investment banks in Europe and has worked as a software developer for the National Center for Human Genome research, Microline Software, Neuron Data, and Electric Eye in Singapore. Selena is perhaps best-known for creating the Public Domain Web Script Archive (Extropia) and writing several books on Web Programming (Perl, CGI, Java).
Email: selena@extropia.com
|