Created
October 15, 2012 04:53
-
-
Save sinewalker/3890869 to your computer and use it in GitHub Desktop.
java.vendor id in OpenJDK
This file contains 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
[hax]virbuntu$ cat vendor.java | |
public class vendor { | |
public static void main(String[] a) { | |
System.out.println(System.getProperty("java.vendor")); | |
System.out.println(System.getProperty("java.vendor.url")); | |
System.out.println(System.getProperty("java.version")); | |
} | |
} | |
[hax]virbuntu$ java -version | |
java version "1.6.0_24" | |
OpenJDK Runtime Environment (IcedTea6 1.11.4) (6b24-1.11.4-1ubuntu0.12.04.1) | |
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) | |
[hax]virbuntu$ java vendor | |
Sun Microsystems Inc. | |
http://java.sun.com/ | |
1.6.0_24 | |
[hax]virbuntu$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment