Java (programming language)

From Higher Intellect Wiki
Jump to: navigation, search

Java is a objectoriented programming language and a trademark of Sun Microsystems. The language is part of the Java-Platform.

Java sourcecode is translated to bytecode, which is executed by java virtual machine. Java is also the name of the interpreter of a Java virtual machine (JVM). Sun itself offers VMs for Solaris, Windows(32|64) and Linux(32|64). The sun java-vm is called Hotspot and is written in Java and C++.

Apple provides a certified Java-VM for MacOSX. There are several open source VMs available. Java is not limited to run on workstations or servers, it also runs on mobile phones and smart cards.

Another part of the java-platform ist the Java Development kit (jdk) or Java2 software development ki2 (j2sdk). One of the central parts of its is javac, the java compiler, which is written in Java. Javac translates Java-sourcecode to bytecode, which can be run on compatible VMs without recompilation.


Year Version

1996 1.0 first release

1997 1.1 ResourceBundles, JDBC, javaBeans

1998 1.2 Swing, Corba, java2D

2000 1.3 HotSpot

2002 1.4 Sevlets, j2me

2005 5.0 Generics, advanced Look&feel, threading, XML

2006 6.0 JavaDB, Scripting via PHP, Python, Ruby und Javacript, WebServices, Digital signatures

The java tools will become open source under the GPL-License.

Hello world

Hello world in Java:

public class Hello {
   public static void main(String[] args) {
       System.out.println("Hello, world!"); 

Compile with javac

Run with java Hello

Java on SGI Systems

SGI provides a VM and jdk for IRIX for Java Versions 1.2, 1.3 and 1.4, and an implementation of Java 3D 1.3.1

GCJ, the Gnu Java Compiler is available as a Nekoware-tardist (as part of neko_gcc).

The KAFFE VM claims to run on IRIX.

The Cacao VM claims to run on IRIX64.


Java Homepage

Wikipedia on Java

Java for MIPS, by SGI

Kaffe VM

Cacao VM

Share your opinion