Created
April 8, 2015 15:19
-
-
Save benjic/bb2806d2462a9738ca22 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bc223913@juno> javac -version | |
~/hello | |
javac 1.7.0_75 | |
bc223913@juno> java -version | |
~/hello | |
java version "1.7.0_75" | |
OpenJDK Runtime Environment (rhel-2.5.4.0.el6_6-x86_64 u75-b13) | |
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode) | |
bc223913@juno> javac Hello.java | |
~/hello | |
bc223913@juno> java Hello | |
~/hello | |
Hello, world | |
bc223913@juno> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Hello { | |
public static void main(String[] args) { | |
System.out.println("Hello, world"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment