Thought and Freedom

Articles for those who think. By Terry Pearson

Installing a Java Compiler

without comments

So you have a great looking program. Perhaps you typed out the source code for the hello world tutorial. Now, you need to transfer that source code into a computer language. You do that through a process called compiling. In our case, Java is compiled into Java Bytecode.

Sams Teach Yourself Java 2 in 21 Days (4th Edition) (Sams Teach Yourself)

Compiling a Java file produces a new file. If the old file is called HelloWorld.java, the compiled version of the file will be HelloWorld.class. This is how you can tell the difference between a compiled class and the original human readable format.

Where do I get a compiler?

Fortunately for potential Java programmers, the Java compiler (called the Java SDK) is free. The most generic solution is to go to the Sun Microsystems Java 2 SE download page and get the latest compiler version.

However, there are other options. One thing that I would recommend is to install an Integrated Development Environment, such as Netbeans. The Netbeans installer can also install the Java SDK. You will find a link to the Netbeans installer on the same Java SE download page. There is also a special “learning edition” of Netbeans that is called the BlueJ edition. It can be found here. It is specially designed to help students of java to learn the basics, and get familiar with an integrated development environment.

Related posts:

  1. Java: Hello World Java is becoming an important language for every programmer to know. It is key to creating platform independent software. In my opinion, Java will continue to play a greater role...
  2. So you want to program? So, you have made up your mind, you want to be a programmer. But where do you start? With all the information and opinions on the internet, it can be...
  3. How do I use an MD5 checksum? If you followed the links on my last post, one of them would have taken you to the Torpark web browser download page. When downloading Torpark, you are given an...

Written by Terry Pearson

September 26th, 2006 at 5:36 pm

Posted in Java,Tutorials

Leave a Reply


Creative Commons License
Terry Pearson - The Blog by Terry Pearson
is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.