Java: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 7: | Line 7: | ||
* [http://programmingbydoing.com/ Programming by Doing] | * [http://programmingbydoing.com/ Programming by Doing] | ||
* [http://introcs.cs.princeton.edu/java/home/ Introduction to programming in Java] | * [http://introcs.cs.princeton.edu/java/home/ Introduction to programming in Java] | ||
= Compile a simple Java program = | |||
<pre> | |||
javac Example.java # generate Example.class; bytecode version of the program | |||
java Example # run bytecode in Java Virtual Machine | |||
</pre> |
Revision as of 10:03, 3 March 2014
Some projects written in Java
- FastQC The code uses Java 2D graphics APIs in awt like BasicStroke, Color, Dimension, Graphics, Graphics2D, RenderingHints and javax.swing.JPanel. It also uses java.util.Vector.
Tutorial
Compile a simple Java program
javac Example.java # generate Example.class; bytecode version of the program java Example # run bytecode in Java Virtual Machine