Trying out the WP-Syntax WordPress plugin:
Check it out at: http://wordpress.org/extend/plugins/wp-syntax/
public class Hello {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}