.bashrc
schreiben:
export PATH=/usr/local/j2sdk1.5.0/bin:$PATH
javac -source 1.5 -Xlint Foo.java
java Foo, appletviewer Foo.html
oder Eclipse-3.1M5 (Sun-Pool: ja, PC-Pool: noch nicht?)
Window Preferences
Java
Compiler
Compiler Compliance Level
5.0