By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,737 Members | 1,989 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,737 IT Pros & Developers. It's quick & easy.

Determining if a System is Running Sun Java or Another Vendor (From the console!)

P: n/a
I know I can access the from within Java to find out who
the vendor of a particular JVM is, but is there any way to do this from the
command line?

java -version

will giveme the official version, but I don't see anything specifying it is
Sun's "official" Java and I know there are various open source JVMs (like
Kaffee). Is there any way to be sure I'm running Sun's Java (which, as far
as I know, is the only JVM with AWT and Swing)?

It might help if those using a JVM other than Sun's posted the results they
get from the "java -version" command.

Thank you!

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.