Which JRE version during runtime?

is there a way to get the jre version during runtime?
like when you call
java -versionfrom the command line
I dont want a whole load of stuff I just want to know if its 1.4.0 or above?

System.getProperty("java.version")

Similar Messages

  • How to get which JRE version is used during runtime?

    Hi.
    I want to know in my application which JRE version the user is using. Is there some method in Properties Object?
    Thank you in advance

    System API tells all...
    "The current set of system properties for use by the getProperty(String) method is returned as a Properties object. If there is no current set of system properties, a set of system properties is first created and initialized. This set of system properties always includes values for the following keys: "
    Key                   Description of Associated Value
    java.version          Java Runtime Environment version

  • How do I put strings, which I get during runtime, in a Ring-item? And how to open a Frontpanel of a SubVI by pushing a Button in the MainVI during runtime?

    I'm very new to LabVIEW and every day I learn such a lot about LabVIEW. I did not find any example according to my problem, but I don't know how to do the following :
    In the MainVI I read different strings from file in an array (In the example below I defined them as constants. The example only shows how the frontpanels should look like).
    During a loop I calculate different values, which will be written in an array, too, and in every loop the array of values will be overwritten with the new calculated values. (string[i] belongs to value[i])
    Now, by pushing the button 'sub' during runtime, I want to op
    en the Frontpanel of a SubVI, on which you see a Ring and a numeric Indicator. Now, I want to show the strings I read in the MainVI as items in the Ring-menu. If I choose one of the items (strings) in the Ring-menu during runtime, I want to show the accordant value, which was calculated in the MainVI, in the numeric Indicator, and in every loop the new calculated value should be shown in this Indicator automatically.
    So I have two questions:
    1. How do I put the strings into the Ring-menu during runtime?
    2. How to open a SubVI-Frontpanel during runtime, and how to pass the calculated values to it?
    Every answer I accept with thanks!
    Attachments:
    main.vi ‏29 KB
    sub.vi ‏9 KB

    See the atttached vis :
    1/ Pass the string array to the sub-vi, then use a property node to replace the ring node strings
    2a/ From the subvi front panel window, rightclick on the icon, and select "Show connector". Define the connections
    2b/Set the sub vi properties (right click on the vi icon, select "VI properties... >> Window appearance..." go to "customize...", and checkmark the "Show front panel when called" item).
    3/ your main vi should run 2 separate loops in order to avoid that reading the data stops the aquisition process (if any !..), or the reverse situation.
    You should read the LV manual to find out how to create a sub-vi : there are a number a basic things to learn and to memorize...
    CC
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    main.vi.zip ‏16 KB

  • Which JRE version to install on 64bit OS (win server 2008)

    Hello everyone
    I'm not sure what Java and JCO versions / releases to install on a Windows Server 2008 Standard 64bit Edition. We're installing  Edge BI 3.1... apparently this is 32bit Software. I understand that we need to install JCO 2.1.9. Normally I prefer to install 64bit versions of a software on a 64bit OS.
    In the JCO 2.1.9 installation preliminaries I read:
    The SAP Java Connector (JCo) 2.1.9 requires a Java Runtime Environment (JRE) version 1.3 or 1.4. The 64-bit JCo versions need a 64-bit JRE version 1.4. Please see SAP note 549268 for a current and detailed list of supported platforms and Java runtime environments.
    Unfortunately I can't find a 64bit JRE version 1.4... just a 32bit JRE 1.4.2_19 version. Furthermore this Java version is end of life. See http://www.oracle.com/technetwork/java/javase/download-138376.html.
    So question is: what versions exactly for JCO 2.1.9 (32 or 64 bit) and JRE should I install?
    Thanks for some clarification in advance to anyone!
    Renaud
    EDIT:
    According to [this|Re: BOE SAP integration kit issue - Java connector] posting it seems that it is required to install the 32bit version of JCO 2.1.9

    Actually, this problem is only partially solved. I still get "Can't connect to local MySQL server through socket '/var/mysql/mysql.sock..." when I type 'mysql'. I can access mysql by typing 'sudo mysql', but still get the socket error when connecting via php, so I think I still need to get to the point where I can type mysql without sudo.
    Also, I went ahead and installed MySQL 5 with the tar package.
    Message was edited by: rabbitdog

  • Embed fonts in dynamic TLF textfied which is created during runtime!!

    Hi Experts,
    I have two TLF textfileds in my application. The first TLF textfield is on the stage and the second one is created dynamically during runtime. Now I am able to embed the fonts in the first TLF textfield by using "use device fonts" since it is on stage. The flash player the rendering the data absolutely fine. I want to get the same look and feel for the second TLF textfield which is created dynamically during runtime. I tried so many ways. But it still seems ugly. Please help me out.
    Here is the code I am trying.
                var fmt:TextFormat = new TextFormat();                    //Text Format
                fmt.color = 0x000000;
                fmt.font = "Verdana";
                fmt.size = 14;
                fmt.align="left";
                fmt.bold = true;
                txt.defaultTextFormat = fmt;                                  //txt is a textfield which is on stage
                txt.text = e.target.xml..textField_stage;//textField_stage is a node in the xml
                txt.wordWrap = true;
                var tlf:TLFTextField=new TLFTextField();
                tlf.x = 80;
                tlf.y= 80;
                tlf.width = 290;
                tlf.height = 200;
                tlf.selectable=false;
                tlf.mouseEnabled=false;
                tlf.mouseChildren=false;
                tlf.wordWrap = true;
                addChild(tlf);
                tlf.defaultTextFormat = fmt;
                tlf.text = e.target.xml..textField_runtime;               //textField_runtime is a node in the xml
    Thanks for your help,
    srinivas

    to embed fonts dynamically, you need to add a font your library (click the library panel's upper right, click new font, select your font, select your characters, tick export for actionscript and assign a class name - eg, VerdanaClass).
    you would then use:
                var fmt:TextFormat = new TextFormat();                    //Text Format
    var verdana:Font=new VerdanaClass();
                fmt.color = 0x000000;
                fmt.font = verdana.fontName;
                fmt.size = 14;
                fmt.align="left";
                fmt.bold = true;
                txt.defaultTextFormat = fmt;                                  //txt is a textfield which is on stage
                txt.text = e.target.xml..textField_stage;//textField_stage is a node in the xml
                txt.wordWrap = true;
                var tlf:TLFTextField=new TLFTextField();
    tlf.embedFonts=true;
                tlf.x = 80;
                tlf.y= 80;
                tlf.width = 290;
                tlf.height = 200;
                tlf.selectable=false;
                tlf.mouseEnabled=false;
                tlf.mouseChildren=false;
                tlf.wordWrap = true;
                addChild(tlf);
                tlf.defaultTextFormat = fmt;
                tlf.text = e.target.xml..textField_runtime;               //textField_runtime is a node in the xml

  • Which JRE version to compile for?

    My project is intended for non-developers, and as much as possible, I want my program to just work, without prompting the user to go find and install the latest this or that.
    It looks like current generation of OS X (Leopard) comes with JRE 1.5 installed by default. How about XP? How about Vista?
    What version of JRE should I compile my project for, to ensure the least hassle for users?
    -Ron.

    Optimistic but probably unrealistic.
    What you normally do is program for the lowest common denominator that you are willing to support.
    Windows doesn't come with java. And if you read this site you will find an infinite number of ways for consumers to mess up an install that did work just fine.

  • Java Runtime Environment (JRE) version 1.6 is not supported by this driver"

    Goal: create new ODI install in testlab on single server
    Installer: ODI newbie
    Server Software Installed: all 32-bit
    Windows 2008
    sql 2008
    JDK 1.6_22
    sqljdbc4.jar (downloaded from Microsoft's site)
    No weblogic server installed
    Issue: Using ODI Studio to create Master Repository. Jar files and config described below already implemented. When press “Test Connection ” in ODI Studio I get this error: : “Java Runtime Environment (JRE) version 1.6 is not supported by this driver. Use the sqljdbc4.jar class library, which provides support for JDBC 4.0"
    Details:
    (Sqljdbc.jar and) Sqljdbc4.jar downloaded from here:
    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=99b21b65-e98f-4a61-b811-19912601fdc9&displaylang=en
    (Sqljdbc.jar and ) Sqljdbc4.jar placed in C:\Users\Administrator\AppData\Roaming\odi\oracledi\userlib directory
    Repository Connection Details:
         Technology: Microsoft SQL Server
         JDBC driver: com.microsoft.sqlserver.jdbc.SqlServerDriver
         JDBC URL : jdbc:sqlserver://ODI:1433;SelectMethod=cursor
         User : odi
    What am I doing wrong? TIA.

    More details:
    ODI = ODI version 11.1.1.3
    SQL Server uses default install options.

  • Which jre & tomcat version do you recommend for this hardware setup?

    I have to install a SINGLE JSP application onto an Intel pentium3 windows XP box with 128Mb of RAM clocked at 733Mhz
    1. Is this setup sufficient for running tomcat?
    2. Which version of tomcat and which JRE do you recommend for this setup?
    3. Would I get better performance running Jetty, and if so which version?

    The issue of changing native folder hierarchy and/or naming conventions has little to do with solid state media and everything to do with the container and header data that links the audio/video streams with the metadata and thus allows the content or "media essence" to be properly decoded and played.  This is the very reason to use a tool like Prelude or Premiere's Media Browser or even Bridge or Lightroom or a third party logging tool like metafuze or shotputpro, or dedicated camera format software such as sony xdcam clipbrowser or panasonic p2 browser, redcine x, ect, as these tools all are designed to parse the captured A/V data and make properly syntaxed edits to the metadata either embedded directly into the media container or in Prelude and Premiere's case can also be written back to a sidecar or associated XMP file, which is a flavor of XML that contains all the original captured metadata plus any changes and/or additions made via these tools.
    The dangers come into play when changes to the native file naming convention or folder hierarchy are done directly to the media content via finder on mac or explorer on windows, as changing at that level can break the relationship between the metadata stream and the media essence since the changes are not being written to the metadata or content headers or being handled in a manner referred to as transmuxing..
    Prelude & Premiere's Media Browser both allow for looking into the native files non-destructively and safely modifying either the metadata linked to the native media or also allows for a transcode to be done which will then copy or recreate a new media file in whatever format selected along with a new metadata stream.
    Prelude is a nice utility and Premiere's Media Browser an amazing tool for organizing, modifying and selectively ingesting media and or making quick selects and assemblies.

  • How to find out jre version installed ,using a java program?

    Hello,
    Is there any way to find out the installed JRE version using a java program ?
    The requirement is as follows:
    There is a html page with 4 steps to install a software. each step is a link, which upon clicking does its work.
    the first step is to install jre 1.4.2_11 if its not installed in the system. But how can i find out whether jre 1.4.2_11 is installed or not ?
    Thanks in advance

    For the hell of it... here is a list of properties you can query:
    java.version Java Runtime Environment version
    java.vendor Java Runtime Environment vendor
    java.vendor.url Java vendor URL
    java.home Java installation directory
    java.vm.specification.version Java Virtual Machine specification version
    java.vm.specification.vendor Java Virtual Machine specification vendor
    java.vm.specification.name Java Virtual Machine specification name
    java.vm.version Java Virtual Machine implementation version
    java.vm.vendor Java Virtual Machine implementation vendor
    java.vm.name Java Virtual Machine implementation name
    java.specification.version Java Runtime Environment specification version
    java.specification.vendor Java Runtime Environment specification vendor
    java.specification.name Java Runtime Environment specification name
    java.class.version Java class format version number
    java.class.path Java class path
    java.library.path List of paths to search when loading libraries
    java.io.tmpdir Default temp file path
    java.compiler Name of JIT compiler to use
    java.ext.dirs Path of extension directory or directories
    os.name Operating system name
    os.arch Operating system architecture
    os.version Operating system version
    file.separator File separator ("/" on UNIX)
    path.separator Path separator (":" on UNIX)
    line.separator Line separator ("\n" on UNIX)
    user.name User's account name
    user.home User's home directory
    user.dir User's current working directory

  • No mapping during runtime!!

    Hi all,
                      I got stucked with one problem in  file-xi-idoc  scenario using sap xi 2.0.
    I am using sender file adapter which is picking up the file from ftp server. The file contains three fields and I am placing them in a text file as
    Sriram,mumbai,in.
    The file adapter is picking the file successfully and converting them into xml sending to integration engine. But during runtime these fields are not mapped to target idoc structure (DEBMAS 03) and there are no errors showing in SXMB_MONI. The idoc is going to receiving sap system with error status 51. This is the payload of xml messages observed in SXMB_MONI.
      <?xml version="1.0" standalone="yes" ?>
    - <resultset>
    - <row>
      <field0>sriram</field0>
      <field1>mumbai</field1>
      <field2>in</field2>
      </row>
      </resultset>
    Here is the file adapter configuration :
    file adapter java class
    classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
    mode=FILE2XMB
    mode = file2xmbwithrowconversion
    Integration Engine address and document settings (example, see docu)
    XMB.TargetURL=http://ht56f4:8000/sap/xi/engine/?type=entry
    #XMB.SLDConfiguration = SLDaccessor7
    XMB.User = xiappluser
    XMB.Password = xipass
    XMB.SenderBusinessSystem = PS_LEGACY
    XMB.SenderInterfaceNamespace = http://ps_crm.com
    XMB.SenderInterfaceName = Customer_out
    #XMB.SenderBusinessSystem=ExtAdapterSender
    #XMB.SenderInterfaceNamespace=http://sap.com/xi/xidemo
    #XMB.SenderInterfaceName=ExtAdapterSenderIF
    XMB.ContentKind=T
    #XMB.ContentKind=T
    #XMB.ContentType=application/xml
    #XMB.ContentType=text/xml
    XMB.ContentType=text/plain
    XMB.QualityOfService=EO
    #ftp server details
    ftp.host = 10.1.45.43
    ftp.port = 21
    ftp.user = sapftp
    ftp.password = ftp***sap123
    ftp.connection = permanently
    ftp.mode=Text
    #file.sourceFilename = bank.txt
    ##File Adapter specific parameters (example, see docu)
    file.sourceDir= \/pssap\/
    file.sourceFilename = testing.txt
    #file.processingMode=setAttribute
    #file.processingMode=archive
    #file.archiveDir=c:/temp_archive
    file.pollInterval= 60
    file.pollIntervalMsecs= 10
    #file.retryInterval = 30
    file.logPollInterval=YES
    file.processingMode=delete
    ##xml conversion properties if mode FILE2XMBWITHROWCONVERSION specified (example, see docu)
    #xml.fieldFixedLengths=8,9,2
    xml.processFieldNames=notAvailable
    xml.fieldSeparator=,
    xml.enclosureConversione = YES
    I am not able to test mapping in sap xi 2.0.
    Any suggestions greatly helpful.

    Thanks,
    found it.
    Regards Mario

  • Changing Changing Database Location During Runtime

    I'm using Netbeans 6.0.1. My database location ALWAYS change in place. That's why I'm planning that there would be a "Database Settings..." inside my program. But I don't know how to change the current: user, password, url settings of my program DURING RUNTIME. Here's my persistence.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
      <persistence-unit name="LibraryPU" transaction-type="RESOURCE_LOCAL">
        <provider>oracle.toplink.essentials.PersistenceProvider</provider>
        <class>desktopapplication2.Books</class>
        <properties>
          <property name="toplink.jdbc.user" value="root"/>
          <property name="toplink.jdbc.password" value="password"/>
          <property name="toplink.jdbc.url" value="jdbc:mysql://localhost:3306/Library"/>
          <property name="toplink.jdbc.driver" value="com.mysql.jdbc.Driver"/>
        </properties>
      </persistence-unit>
    </persistence>

    To solve the "why the hell would I want that stuff inside a jar file" issue, I googled a bit and found this
    style of approach in a Oracle forum. Essentially think of the persistence.xml file as an template
    that the program uses.
    I use a properties file to set all local DB configuration aspects. Load the properties at application
    startup and set then extract the required fields into a Map to create the persistent unit.
    All the "examples" I seen always use a static xml which is never what you need in the real
    world.
    Map properties = new HashMap();
    properties.put(TopLinkProperties.JDBC_URL, dbProps.getString("abc.jdbcurl") );
    properties.put(TopLinkProperties.JDBC_DRIVER, dbProps.getString("abc.jdbcdriver"));
    properties.put(TopLinkProperties.JDBC_USER, dbProps.getString("abc.user"));
    properties.put(TopLinkProperties.JDBC_PASSWORD, dbProps.getString("abc.password"));
    EntityManagerFactory emf = Persistence.createEntityManagerFactory("abcPU", properties);
    entityManager = emf.createEntityManager();
    HTH Altimes.

  • Switch databases during runtime

    Hi
    We work with JDeveloper 10g Build 1929 and Oracle 10g as database.
    We use JDBC Datasources as Connection Type, which obviously means that the database connection parameters are set via data-sources.xml.
    DataSources.xml:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
    <data-sources>
    <data-source
         name="jdev-connection-DB1" username="test1" password="test1" url="jdbc:oracle:thin:@test1:1521:test1" inactivity-timeout="30"/>
    <data-source
         name="jdev-connection-DB2" username="test2" password="test2" url="jdbc:oracle:thin:@test2:1521:test2" inactivity-timeout="30"/
    </data-sources>
    In my application I have an applicaiton module named "TestAM". During runtime, I want the TestAM to be connected to "jdev-connection-DB1" for some time and I want to switch to "jdev-connection-DB2" for some time.
    Is it possible to switch databases during runtime?
    Thanks
    Shoba

    Hi
    I used dynamic JDBC credentials in my application (i.e.) user enters the username and password for the database before entering into the application.
    I was using "JDBC data source" as Connection Type. But dynamic database credentials did not work. But it worked for the Connection Type "JDBC url".
    But if I have the connection type as "JDBC URL" and if I use
    Configuration.createRootApplicationModule
    in my code I get the following error:
    oracle.jbo.JboException: JBO-29000: DB Connection Failure
    at oracle.jbo.JboException.<init>(JboException.java:343)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1772)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:406)
    at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1505)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1463)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1435)
    07/09/20 12:54:19 JBO-30003: DB Connection Failure
    at com.dags.view.controller.PageAction.changeApplicationUserContext(PageAction.java:429)
    at com.dags.view.controller.PageAction.processComponentEvents(PageAction.java:192)
    at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:430)
    at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:126)
    at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)
    at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:222)
    at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:153)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
    at com.dags.view.admin.DynamicJDBCBindingFilter.doFilter(DynamicJDBCBindingFilter.java:31)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:669)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    So, if I have the connection type as "JDBC url", then dynamic database credentials works, but "Configuration.createRootApplicationModule" doesn't work.
    if JDBC data source, then dynamic database credentials doesn't work, but "Configuration.createRootApplicationModule" works.
    Has any one faced the same issue?
    Please help....
    Thanks
    Shoba

  • Which JRE 6 has bug fix #4905777 ?

    Hi everybody,
    We have a problem that could be resolved by the bug fix [JDK-4905777 : java.io.Print{Stream,Writer}.println(Object) oversynchronized, can deadlock].
    This bug fix has in its "Details" these info data :
    Type:
    Bug
    Submit Date:
    2003-08-13
    Status:
    Resolved
    Updated Date:
    2005-03-04
    Project Name:
    JDK
    Resolved Date:
    2005-03-04
    Component:
    core-libs
    OS:
    linux,generic
    Sub-Component:
    java.io
    CPU:
    x86,generic
    Priority:
    P4
    Resolution:
      Fixed 
    Affected Versions:
    1.4.1,1.4.2
    Fixed Versions:
    6  (b27) 
    When we look at our JRE installation version executing this command : java -version, we have this :
    java version "1.6.0_16"
    Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
    Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)
    We cannot find which JRE 6 version embeds this bug fix. Is the "b27" info in the bug fix is related to the -bNN info of the JavaHotSpot build info or is related to the update info (here _16) as it appears in the artifact name : jre-6u16-windows-i586.exe for example.
    We also look in the release notes of all JRE 6 without founding any reference on this bug. Does it really embeded in any JRE ?
    If anyone can help, thank you.

    Eh?
    >Affected Versions:1.4.1,1.4.2
    Those are the versions.  Where 1.4 comes before 1.6.
    >Resolved Date: 2005-03-04
    Java 6 was released on 12/11/2006.  2006 is of course after 2005.  About 2 years after that.
    > If anyone can help
    Java 6 has been end of lifed for quite some time now.  So you really need to get off of it.
    Oracle Java SE Support Roadmap

  • How to find JRE Version on client machine

    My client machine does not have any class file, they are running web pages on web Browser.
    We have some specific plug-in based on JRE Versions (e.g. JRE 5 or JRE 6).
    Also we do not have permission to run an applet on client machine as it�s a security concern.
    We have following senerio
    Application server on Machine-1
    Web Server on Machine-2
    Client on Machine-3
    We need JRE version of Machine-3.
    Please provide me a solution.
    Thanks in advanced.

    Old post but replying anyways so that the solution can be used for later
    For Firefox/Mozilla/Netscape this can be done through javascript like below
         for (i=0; i<navigator.plugins.length; i++) {
         document.write(navigator.plugins.name);
         document.write("::::");
         document.write(navigator.plugins[i].filename);
         document.write("::::");
         document.write(navigator.plugins[i].description);
         document.write("<p>");
    It prints out "Java Plug-in::::NPJava12.dll::::Java Plug-in 1.4.1_02 for Netscape Navigator (DLL Helper)"
    from which the plug-in version can be found out
    For IE :
         try{
              var obj= new ActiveXObject("WScript.Shell");
              if (obj!= null) {
    //Version for the installed JRE          
    var ver = shell.regRead("HKEY_LOCAL_MACHINE\\Software\\JavaSoft\\Java\ Runtime\ Environment\\CurrentVersion");
              alert(ver);
         }catch(e){}

  • Multiple jre versions using same cache location

    Hi,
    i searched the web but couldnt find an answer.
    I have a Terminal Server deployment with various installed jre Versions (1.6x and 1.7x) on the same Server as well as on different Server Silo Setups.
    But for all Servers i configured the Cache Location to H:\Java-Cache (Homefolder of the user) in the deployment.properties file.
    1. are there any Problems to expect when using the same Cache Folder for many different jre Versions (jre 6/7/8) ? Any knows issues about that ?
    2. is it supported to share the same cache Location (for example D:\java-cache) for many users ? i cannot find ony official KB or Oracle Note about this.
    There are a few Blog Article out there which describe to configure the Cache Location on a terminal Server to a local location like D:\java-cache shared by
    many users. Does it depent on the Java webstart application if tha works well ?
    Thanks a lot,
    Marcus

    Hi Tyler,
    In my opinion, you could go ahead with first option - have multiple JRE's and maintain the environment variables accordingly.
    This should not be a problem as the envrionment variable would take care of which JRE is used. Also as you have only another ABAP system on the same server, the other older JRE would only be required during the SAPInst operations. Non-existence of a Java system makes things simpler here
    Regards,
    Srikishan

Maybe you are looking for