Skip to content

Instantly share code, notes, and snippets.

@Cam1337
Created April 27, 2010 02:09
Show Gist options
  • Save Cam1337/380235 to your computer and use it in GitHub Desktop.
Save Cam1337/380235 to your computer and use it in GitHub Desktop.
cam@g-mac In(~/Desktop/x/Store/bin) Time(22:08:12)$ which
usage: which [-as] program ...
cam@g-mac In(~/Desktop/x/Store/bin) Time(22:08:21)$ which java
/usr/bin/java
cam@g-mac In(~/Desktop/x/Store/bin) Time(22:08:25)$ which javac
/usr/bin/javac
cam@g-mac In(~/Desktop/x/Store/bin) Time(22:08:27)$ java -version
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03-333-9M3125)
Java HotSpot(TM) Client VM (build 1.5.0_22-147, mixed mode, sharing)
cam@g-mac In(~/Desktop/x/Store/bin) Time(22:08:49)$
cam@g-mac In(~/Desktop/x/Store/bin) Time(22:09:08)$ javac -version
javac 1.5.0_22
javac: no source files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment