How can I tell whether Java is Sun / Oracle / OpenJDK? -
possible duplicate:
which jre using
i'm trying figure out whether java installation in hpc environment running sun jvm, or oracle, or openjdk. since don't have administrator access , didn't install java, there quick way can determine jvm have installed?
standage@login4:~$ java /usr/bin/java standage@login4:~$ java -version java version "1.6.0_03" java(tm) se runtime environment (build 1.6.0_03-b05) java hotspot(tm) server vm (build 1.6.0_03-b05, mixed mode) standage@login4:~$ uname linux
there's java.vendor property system.getproperties(), should give info you're looking for.
on mac it's:
java.vendor=apple inc.
Comments
Post a Comment