JVM Version question

Sorry for what might seem a really random question!
At work, we're using a software audit tool which lets us know all the .exes and .coms, etc which are installed on the PC's in our estate...
We need to know what version of JVM is installed on these PC's - does anyone know whether you can determine this by looking at the files on a machine? For example, is there an .exe (maybe of a particular filesize) that would point to the fact that a particular JVM is installed???
Does this make sense?

I assume you work on Windows.
If you want to know which VM is installed by suns means you can look in the Registry in
HKLM\SOFTWARE\JavaSoft\Java Development Kit or HKLM\SOFTWARE\JavaSoft\Java Runtime Environment
see http://java.sun.com/j2se/1.4.2/runtime_win32.html
Or if you want to search for a recource description look at the jvm.dll in %JRE_HOME%\bin\client\jvm.dll (client vm) %JRE_HOME%\bin\server\jvm.dll (server vm) . The fileversion should match the version of the jvm (java -version).
Note that in an JDK installation the JRE_HOME is in %JAVA_HOME%\jre where JAVA_HOME is the directory where the jvm is installed.
The safest way would be to tell your tool to search for jvm.dll and the fileversion entry. For j2sdk 1.4.2_05 it is 1.4.2.50
This is true for 1.4.2 my installations.
I found that in all installations the rt.jar in the lib dir of the JRE contains in his Manifestfile the implementation-version of the installed JVM. This means look at the META-INF dir in the rt.jar (Zip-File)
and open the MANIFEST.MF and look at the tag Implementation-Version. (e.g. Implementation-Version: 1.4.2_05)
I have not found more to identify the vm. The safest is to call java -version.

Similar Messages

  • 1.1 vs 1.4 : SDK API's and how they relate to JVM versions

    Hey all,
    I'm hoping some Java expert/guru/enthusiast can help me understand a little (OK, a lot) more about designing applets for backward compatibility .
    My situation is that I need to design applets which are compatibile with the built-in Java features of Internet Explorer and Netscape 6.x - which appears to be JVM versions 1.1.4. I know going with Java2, JDK 1.4, web start whatever would be MUCH better, and will do whatever I can to push clients to plug-in & non-MS browsers, etc. etc., but believe me, supporting MS JVM 1.1.4 is a requirement...
    ...So my question is, are there any things added to the JDK since 1.1.4 that can be used in a 1.1 JVM? If so, how would I be able to determine what those things are without testing them all?
    Like could i take java source for some 1.4 SDK code and add them to a 1.1 project? how do I know if the api requires a new intrinsic or not? (native keyword?)
    Also, I'm using the 1.4 SDK compiling for 1.1 targets, aside from the 1.4 SDK api's & packages, will there be any code I can write that will happily compile for a 1.1 target but then mysteriously fail when testing? What I mean is, if I use a new language feature or compiler feature since 1.1, will the 1.4 compiler's byte-code still be 1.1 compatible, or will there be some potential run-time problems?
    thanks

    As a rule of thumb, avoid all swing components (just use awt) because they are only available in 1.2. You can use all enhancements and bug fixes to awt components that are available in 1.4 (even 1.5).
    ;o)
    V.V.

  • Changing JVM version in CE 7.1 SP11 using Config Tool

    Hi Experts,
    I have CE 7.1 SP11 installation, in the server node I could see two versions of JVM (jvm: sapjvm_5.1.017 and sapjvm_5.1.058 in directory usr\sap\<>\SYS\exe\jvm\<>\....)
    In Config Tool, it shows only sapjvm_5.1.058.
    I faced a problem with jvm  sapjvm_5.1.058 connecting to rmi/iiop which is running in ibm webspehere, but I able able to connect properly with using sapjvm_5.1.017 which I tested by creating and executing sample Java program.
    My question is - I want to change the JVM version in Config tool and want to point it to sapjvm_5.1.017.
    Please suggest me how can I do this.
    Regards,
    Patana

    hope this note wlll help
    Note 718901 - How to Change the JDK of the J2EE Engine

  • Recommended JVM Version for ZfS 6.5 SP1 on NetWare 6 SP5 w/NCS

    Quick question - what is the recommended version of the NetWare JVM to use
    with ZfS 6.5 SP1? I'm running NW6SP5, ZfS65 with SP1 applied, and Tomcat
    3.3. Right now I'm using JVM 1.4.2_6 and just wanted to verify there are no
    known issues with JVM 1.4.2_6 playing well with ZfS 6.5 SP1. Running on on
    a 2 node cluster.I plan to add ZfD 6.5 SP1 to the cluster soon - primarily
    for HA inventory services. Thanks in advance for any input.

    Ron,
    Thanks for the general advice. That's what I thought, but sometimes we
    all need a sanity check. Especially when you see java thread death
    messages when the distributor starts up :-) Not due to the JVM.
    > In General, use the JVM version that shipped at the same time as the
    NetWare
    > Service Pack you're using.
    >
    > For NetWare 6 this still gives you the choice between JVM 1.3.x and
    1.4.x,
    > my preference is the JVM 1.4.2 as it has better performance then the
    1.3.x.
    > The 1.4.2_6 your using is quit stable, no major issues known.
    >
    > Ron
    >
    >
    > <[email protected]> wrote in message
    > news:MaeMe.444$[email protected]..
    > > Quick question - what is the recommended version of the NetWare JVM
    to use
    > > with ZfS 6.5 SP1? I'm running NW6SP5, ZfS65 with SP1 applied, and
    Tomcat
    > > 3.3. Right now I'm using JVM 1.4.2_6 and just wanted to verify there
    are
    > no
    > > known issues with JVM 1.4.2_6 playing well with ZfS 6.5 SP1. Running
    on on
    > > a 2 node cluster.I plan to add ZfD 6.5 SP1 to the cluster soon -
    primarily
    > > for HA inventory services. Thanks in advance for any input.
    >
    >

  • Restrict JVM version on javafx application on browser

    Hi,
    I really appreciate if someone give me direction on my question.
    I have javafx application running under browser perfectly fine. Issue is that with new version of Java, old application doesn't work all the time and we don't want user to have bad application experience.
    I know that we can inform user to turn off java auto download but still problem persist for users who doesn't have java on their machine and want to use our application.
    I have defined J2SE version as 1.7.0_21 in my JNLP file, when user who doesn't have java loaded on their box try to access our application, the installer always try to install latest version of java instead of
    the one specified in JNLP.
    Is there way to restrict JVM version somewhere in JNLP which allows application to runs only if specific version of JVM is installed.
    Thanks & Regards,
    Ashu.

    This might be a bug in JavaFX, could you please file an issue in http://javafx-jira.kenai.com for it?

  • Interfacing different JVM version

    hello gurus,
    quick question....
    Will different JVM versions running concurrently will interfere with each other ( eg. mouse events, etc).
    any response appreciated...thanks...@

    No,
    Each VM is it's own little world. There would be no interaction between them unless you specically wanted it. Even in that case GUI would behave as they should in each version.
    Hope this helps.

  • How to set JDeveloper JVM version

    Can you please let me know how to set JDeveloper JVM version?

    I'm going to assume you mean you want to "compile against"?
    in menu ->Application->progject properties -> Compiler->use custom settings->customer setting->change JDK Version Compatability by selecting the source and class files to be used and generated respectively.
    use "Helpful" or "Correct" to give points, else let us know you need some more help

  • Possible to set CacheSize for the single-JVM version of the data cache?

    Hi -
    I'm using Kodo 2.3.2.
    Can I set the size for the data cache when I'm using a subclass of the single-JVM version of the
    data cache? Or is this only a feature for the distributed version?
    Here are more details...
    I'm using a subclass of LocalCache so I can display the cache contents.
    The kodo.properties contains these lines:
    com.solarmetric.kodo.DataCacheClass=com.siemens.financial.jdoprototype.app.TntLocalCache
    com.solarmetric.kodo.DataCacheProperties=CacheSize=10
    When my test program starts, it displays getConfiguration().getDataCacheProperties() and the value
    is displayed as "CacheSize=10".
    But when I load 25 objects by OID and display the contents of the cache, I see that all the objects
    have been cached (not just 10). Can you shed light on this?
    Thanks,
    Les

    The actual size of the cache is a bit more complex than just the CacheSize
    setting. The CacheSize is the number of hard references to maintain in the
    cache. So, the most-recently-used 10 elements will have hard refs to them,
    and the other 15 will be moved to a SoftValueCache. Soft references are not
    garbage-collected immediately, so you might see the cache size remain at
    25 until you run out of memory. (The JVM has a good deal of flexibility in
    how it implements soft references. The theory is that soft refs should stay
    around until absolutely necessary, but many JVMs treat them the same as
    weak refs.)
    Additionally, pinning objects into the cache has an impact on the cache
    size. Pinned objects do not count against the cache size. So, if you have
    15 pinned objects, the cache size could be 25 even if there are no soft
    references being maintained.
    -Patrick
    In article <aqrpqo$rl7$[email protected]>, Les Selecky wrote:
    Hi -
    I'm using Kodo 2.3.2.
    Can I set the size for the data cache when I'm using a subclass of the single-JVM version of the
    data cache? Or is this only a feature for the distributed version?
    Here are more details...
    I'm using a subclass of LocalCache so I can display the cache contents.
    The kodo.properties contains these lines:
    com.solarmetric.kodo.DataCacheClass=com.siemens.financial.jdoprototype.app.TntLocalCache
    com.solarmetric.kodo.DataCacheProperties=CacheSize=10
    When my test program starts, it displays getConfiguration().getDataCacheProperties() and the value
    is displayed as "CacheSize=10".
    But when I load 25 objects by OID and display the contents of the cache, I see that all the objects
    have been cached (not just 10). Can you shed light on this?
    Thanks,
    Les
    Patrick Linskey [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Different JVM versions in a SAP system

    I have an SAP system which consist of 3 servers, and 2 of them have jvm version - 1.4.2_17-b06 and the other one has JVM version 1.4.2_12-b03, so i wanted to know will this setup affect the system/performance
    thank you
    Jonu Joy

    Hi
    Will my system/performance be affected if my CI has a different java version compared to the version on the app servers
    As per my knowledge it wont effect your sytem performance,you can still proceed with what you have now but its better to have same JAVA version
    Regards
    Uday

  • Solaris JVM Version

    How do I verify which JVM version is running on a Solaris 7 box?
    Thanks

    Hello,
    that's quite simple. If you configured properly the path
    where the virtual machine was installed to
    just type the following command in a console:
    java -version
    Otherwise you have to search for a directory like
    java/jdk1.2.2/bin/
    or
    ..jdk1.3/bin
    etc.
    and to execute there the preceding command.
    Marc

  • Oracle 8i jvm version

    Is there any standard pl-sql procedure or java procedure , that gives the version of JVM , within oracle 8i.From the readme.txt I am sure that the version of JVM is 1.2.1 , but I would like to have a function callable from within sqlplus which gives the same result.

    Hi Chandrashekaran,
    Please note that I can't verify this for you at the time of writing,
    but I think that one of the "System" properties gives you the version
    of the JVM. So you could write a java stored procedure that retrieves
    the JVM version from the appropriate System property. Check the javadoc
    for the java.lang.System class. From memory, there is also a method
    that lists all the property names -- so you can locate the relevant
    one and then use that to get the required information regarding the
    JVM version.
    Hope this helps,
    Avi.

  • Daylight Savings Time (DST) - Sun JVM Upgrade Question

    I am using JRun 4 Build 106363 on a MS Windows 2000 Server.
    We have updated our Windows 2000 server for the new DST. I also
    updated Sun j2sdk1.4.1_02 using Sun Java SE TZUpdater Tool.
    Do I have to upgrade to Sun's JVM version 1.4.2_11 (see link
    to technote below) or will the steps I've already taken ensure
    correct DST date/time handling?
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=d2ab4470

    You need to upgrade to 1.4.2_11.
    Ted Zimmerman

  • How to detect JVM version in Internet Explorer

    Hello, I have a site I need to do a check to determine if the user has the Sun JVM or Microsoft JVM and the version of each. This needs to be fully client side and preferably in JavaScript.
    The problem is I can't seem to grab the JVM versions. Do I use a version number or objectID? If I have to use an object number like this 08B0E5C0-4FCB-11CF-AAA5-00401C608500, where do I find those numbers?
    I did a pretty extensive web search and can't find a lot of options. Thanks.

    Hi
    I am also looking for solution for same problem..
    While Searching in this forum I came across this thread..
    Re: wf installation/monitor configuration
    Please install the plugin on the following url http://www.java.com/en/download/manual.jsp. This will view all the images and the applet.
    Sharat
    I am now going to try this... Also I have a doubt whether it is because of IE version less than 6 ... As somewhere in requirements I have read IE 6 is required. Cant remember where
    Sanjeev

  • JVM versions

    If JVM versions are different then is there any impact on execution?

    DrClap wrote:
    Definitely maybe. You can believe this.I can absolutely confirm that. I'm 100% sure that maybe it does.

  • Java JVM version

    Hi,
    In our xMII 11.5  server system, I found that java JVM version is 1.4.2_07. In my client side JVM version is 1.5.0_11. Will it be a problem?
    -Raj

    Hi Govind,
    This depends on the version of xMII you are running. From SR3 onwards (11.5.3), I believe the xMII server needs to have JSDK 1.4.2_13 or newer and officially supports JRE 1.5.0_09 or newer on client machines.
    Maybe you can post the service release your are on and you can get a more accurate answe on this forum...
    Regards,
    Sascha

Maybe you are looking for

  • Deleting a recurring event in iCal

    Situation; iphone 5 recurring event wont delete.  looking at same calendar on a synced PC (work) the event is not there at all.  If you are having trouble deleting a recurring event in iCal try this: on your iphone change the event "alert" or "show a

  • Exception CX_SY_RANGE_OUT_OF_BOUNDS raised while executing a Web Report

    Hi Gurus, When I executed a Web Report, I got the following Exception CX_SY_RANGE_OUT_OF_BOUNDS when it is filtered for September month report is working fine, but when filtered for October month got the following message Messages: An exception with

  • Disk Utility Hard Drive Repair Shows Following Message

    Hi all I have a Lacie FW800 External HD that was mounting on my desktop though slow to access earlier this morning. I shut down and checked all FW 800 connections [some of the five connected drives have been daisy chained - 3 from the rear port and 2

  • Blinking Screen and no response - iPod Video 60GB

    All of a sudden the screen of my iPod Video started to blink non-stop. The iPod was off, and suddenly the screen started to blink every few seconds. And now, I cannot even turn on the iPod, and my iMac won't recognize it when I put on the dock. I've

  • Unexpected result when parsing a datetime using sap.ui.core.format.DateFormat

    I am parsing datetime values in order to use them in an makit Chart. My x axis is a time axis with values in the JavaScript datetime format like 1408177125000. I wondered about a time shift in my axis and see the following result: console.log(Date(fV