Java: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
= Install openjdk = | |||
See http://openjdk.java.net/install/. On Ubuntu, I can use | |||
<pre> | |||
sudo apt-get install openjdk-7-jre | |||
</pre> | |||
= Some projects written in Java = | = Some projects written in Java = | ||
* [http://www.bioinformatics.babraham.ac.uk/projects/fastqc/ 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. | * [http://www.bioinformatics.babraham.ac.uk/projects/fastqc/ 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. |
Revision as of 10:22, 3 March 2014
Install openjdk
See http://openjdk.java.net/install/. On Ubuntu, I can use
sudo apt-get install openjdk-7-jre
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