compile java

Java
// compile
> javac myCode.java
// run
> java myCode
Source

Also in Java: