473,224 Members | 1,420 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,224 software developers and data experts.

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

I know I can access the System.properties 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!

Hal
Jul 17 '05 #1
0 1178

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Radha News | last post by:
Hi, I am looking for reference books/tools/code samples for calling java objects/methods from COM/C++ classes. I am reasonably familiar with JNI. If you have used JNI, please let me know of...
3
by: atlantix | last post by:
How do you execute a .BAT file from a C# WinForm? An example would be greatly appreciated. Thanks, atlantix
2
by: Volly | last post by:
Helo ! I want write console application and I want to reuse my old class, but inside it is used Image class (and System.Drawing.Imaging namespace). I can't complile it. The error is: The...
2
by: leoman730 | last post by:
Hi, I need some help Anyone could tell me how to run a .exe file from console?? For example, I have a file called A.exe, how can I execute it in the console (WinXP cmd) I have tried to use this:...
4
by: Mo | last post by:
Hi, I am writing a console application to send a key sequence to an old clunky application on a regular interval using the windows scheduler. I can get it to work if it is a windows form...
2
by: Jade Lee | last post by:
Hi. I want to read a character from console, while writing something to the console. And if, there were no input character in some seconds, then I wish to continue to writing to the console....
1
by: menyki | last post by:
how can i code a radio button so that when a user click an option it will determines what will fill in combobox at run time. how do i reference or display another form from main form. am using java ...
1
by: vani1987 | last post by:
Hi, I'm new to the web services. I've to call the two java web services from other network system from classic ASP page. There are two java webservices are hosted in one server and this ASP...
0
by: netri | last post by:
I need to write a java program in which i need to access a computer in my network using IP address but system is password protected.so how can i access a password protected system to fetch a file...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.