Get JRE version

Hi, all
How to can get current JRE version from registry
please help me
thanks

hi,
Here you go...
http://forum.java.sun.com/thread.jspa?threadID=5183961&messageID=9876540

Similar Messages

  • I have been getting java.lang.ClassNotFoundException: ZeroApplet.class and java.lang.ClassNotFoundException: JavaToJS.class crashes with JRE version 1.6.0_26-b03-384-10M3425 VM executing a Java Applet. Is Apple aware of this problem? No longer supported?

    My web page uses a Java Applet to allow my visitors to replay chess games; the Chess Viewer Deluxe applet was written by Nikolai Pilafov some time ago and has been working properly for some time (until recently). I don't monitor this part of my site regularly so I am not sure when it began to fail. On his web site [http://chesstuff.blogspot.com/2008/11/chess-viewer-deluxe.html] he has a link to check LiveConnect object functionality (which fails for OBJECT tags). His recommendation is to "seek platform specific support which might be available from the JRE developers for your platform".
    I have been getting java.lang.ClassNotFoundException: ZeroApplet.class and java.lang.ClassNotFoundException: JavaToJS.class crashes with JRE version 1.6.0_26-b03-384-10M3425 VM executing a Java Applet. Until I checked the LiveConnect object functionality, I was unable to identify the source of the console error messages. This does seem to be the smoking gun.
    Is Apple aware of this problem? Are these classes no longer supported? Has anyone else had this problem? You can attempt to recreate the problem locally by going to my web page: http://donsmallidge.com/DonSmallidgeChess.html
    Thanks in advance for any help you can provide!
    Abbreviated Java Console output:
    Java Plug-in 1.6.0_26
    Using JRE version 1.6.0_26-b03-384-10M3425 Java HotSpot(TM) 64-Bit Server VM
    load: class ZeroApplet.class not found.
    java.lang.ClassNotFoundException: ZeroApplet.class
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:662)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:807)
        at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2389)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
        at sun.applet.AppletPanel.run(AppletPanel.java:368)
        at java.lang.Thread.run(Thread.java:680)
    load: class JavaToJS.class not found.
    java.lang.ClassNotFoundException: JavaToJS.class
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:662)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:807)
        at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2389)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
        at sun.applet.AppletPanel.run(AppletPanel.java:368)
        at java.lang.Thread.run(Thread.java:680)

    I just went up to check the LiveConnect object functionality page AND IT WORKED THIS TIME! I must confess, this is very mysterious. I will do some more checking and reply here if I can determine why it is working now (and more importantly, why it didn't work before).

  • HI,  I need to jre 1.6 update 26 on my mac system to make some aaplication work. However latest available is jre 1.6 update 29. Could you suggest how I can get jre 1.6 update 26? I tried downloading older version on java. COuldn't find it on your site.

    HI,  I need to jre 1.6 update 26 on my mac system to make some aaplication work. However latest available is jre 1.6 update 29. Could you suggest how I can get jre 1.6 update 26? I tried downloading older version on java. COuldn't find it on your site.

    What are you missing?
    I inherited this app and signing the third party jars is how it was setup, I was wondering the same thing too, why was it necessary to sign the third party jars?
    The applet runs in either JRE 1.6.0_13 or JRE 1.6.0_27 depending on the other Java apps the user uses. JRE 1.6.0_13 does not have the mixed code security (so it is like is disable), but JRE 1.6.0_27 does have the mixed code security and the applet will not launch with mixed code security enable, so we have to disable it. With all the hacking going on in the last two years, is important to improve security; so this is a must.
    Yes, I always clear up the cache.
    Any idea on how to resolve this problem?

  • To get JRE or JDK version using Java Programs

    How do get JRE or JDK version using Java Programs?.
    Kindly Reply...
    By
    Mani

    If you're talking about current program's runtime environment (as opposed to all installed JDK/JRE) : System properties

  • To get JRE or JDK version in Programs

    How do get JRE or JDK version in Application Programming?. Kindly Reply...
    By
    Mani

    Hi Manivel.
    The System class has methods such as getProperties() and getProperty() that can be used to get almost any system info. To get the version of JRE, for example, you could use something like this:
    System.getProperty("java.version");
    Check the J2SE 1.5 API reference for more info. Use this URL to go directly to the API reference for the java.lang.System class:
    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/System.html
    Hope this answers your question.
    By the way, this is the JDBC forum. In the future, please post such questions in the Java Essentials forum (http://forum.java.sun.com/category.jspa?categoryID=5) or the Core APIs forum (http://forum.java.sun.com/category.jspa?categoryID=32).
    Shakeel.
    :)

  • Get default JRE version...

    If several versions of Java were installed in a client machine,
    and in IE -> Internet Options -> Advanced Tab only one is enabled / checked.
    How to get the default / checked JRE version in JSP ?

    They are called Java SERVER Pages for a reason. They run on the server, not the client. The client machine is completely irrelevant to JSP/Servlets, so what version of java you have installed their doesn't matter at all.
    Unless of course you want to run an applet. Whereas you put the appropriate constraints into your applet/object tag.
    Check out this page: http://java.sun.com/products/plugin/1.3/docs/tags.html

  • 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

  • No JRE version found in launch file for this system

    Hi,
    I have an application which is launched by JWS.
    When we use JWS from 1.4, it runs fine. But JWS from 1.5.0_15 gives the error "No JRE version found in launch file for this system"
    In both the JWS(1.4 and 1.5.0_15)cases, we install JRE1.5.0_15 using the installer and used for invoking the application.
    We invoke mailclient.jnlp, which inturn invokes the installer.jnlp and KanaJreInstaller.asp
    <<mailclient.jnlp>>
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp
    spec="1.0"
    codebase="http://mpshanmu-gx520:80/10r3/"
    href="mailclient.jnlp">
    <information>
    <title>KANA Agent</title>
    <vendor>KANA Software, Inc.</vendor>
    <homepage href="http://www.kana.com"/>
    <description>KANA Suite 10.3.0</description>
    <icon href="images/mail_logo.gif"/>
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="KANA1.5.0_15" href="KanaJreInstaller.asp"/>
    <jar href="lib/mailclient_s.jar"/>
    <jar href="lib/link_s.jar"/>
    <jar href="lib/spell_s.jar"/>
    <jar href="lib/ssce_s.jar"/>
    <jar href="lib/kc_framework_s.jar"/>
    <jar href="lib/kc_sharedGUI_s.jar"/>
    <jar href="lib/xalan_s.jar"/>
    <jar href="lib/xerces_s.jar"/>
    <jar href="lib/java2com_s.jar"/>
    <jar href="lib/jgl3.1.0_s.jar"/>
    <jar href="lib/rsrcbundle_s.jar"/>
    <jar href="lib/response_s.jar"/>
    <jar href="lib/HTMLEditorEnterprise_s.jar"/>
    <jar href="lib/jakarta-oro-2.0.4_s.jar"/>
    <jar href="lib/jdic_s.jar"/>
    <extension name="Sun Libraries" href="sunextensions.jnlp"/>
    </resources>
    <resources os="Windows">
    <nativelib href="lib/windlls_s.jar"/>
    <nativelib href="lib/jdic-native.jar"/>
    </resources>
    <application-desc main-class="kana.mail.wkstn.AppMain">
    <argument>-serverlist</argument>
    <argument>http://mpshanmu-gx520:80/10r3/servers.xml</argument>
    </application-desc>
    </jnlp>
    <<KanaJreInstaller.asp>>
    <%@ language="vbscript"%>
    <%
    Response.ContentType="application/x-java-jnlp-file"
    Response.AddHeader "x-java-jnlp-version-id","KANA1.5.0_15"
    dim fs,f,ts
    set fs=Server.CreateObject("Scripting.FileSystemObject")
    Set f=fs.GetFile("C:\Program Files\KANA\KANA Response Web Server_10r3\installer.jnlp")
    Set ts=f.OpenAsTextStream(1)
    Response.Write(ts.ReadAll)
    ts.Close
    set ts=nothing
    set f=nothing
    set fs=nothing
    %>
    <<installer.jnlp>>
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp
    spec="1.0"
    codebase="http://mpshanmu-gx520:80/10r3/"
    href="installer.jnlp">
    <information><title>KANA J2RE 1.5.0_15 Installer</title>
    <vendor>KANA Software, Inc.</vendor>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.3+"/>
    <jar href="lib/installer.jar"/>
    <jar href="lib/JRE_KANA1.5.0_15.jar"/>
    <property name="jre.container" value="JRE_KANA1.5.0_15.jar"/>
    <property name="jre.execute" value="bin\\javaw.exe"/>
    <property name="jre.version" value="KANA1.5.0_15"/>
    </resources>
    <installer-desc main-class="JREInstaller"/>
    </jnlp>
    Thanks

    >
    We are using sun JRE(1.5.0_15) only. We extract Sun JRE and build it as KANAJRE.jar and signing.>I have never heard of KANAJRE. Would you care to post a link to the site, or should we just keep guessing? (My patience for random guesses is running out.)
    >
    We install using Intaller class and that is getting listed in the Java Control panel and enabled too.>List as what?
    Does it list it with the entire string "KANA1.5.0_15" or is is just listed as "1.5.0_15"?
    Because this line from the JNLP file..
    <j2se version="KANA1.5.0_15" href="KanaJreInstaller.asp"/>..had me convinved it was a non-Sun JRE. Not so much the href, but most especially the version attribute.
    If it really is the Sun JRE, I would expect this to work.
    <j2se version="1.5.0_15" href="KanaJreInstaller.asp"/>And as an aside. If this installer is giving you trouble and the app. requires the 1.5.0_15 JRE, why not simply the default Sun JRE installer? What advantages do you think this installer offers?

  • Problem selecting the right jre version with jnlp

    I am using Webstart 1.4.2.
    When instaling, it correctly found 2 jre versions on my system, 1.4.1_03 and 1.4.2.
    Because our application currently is not working with 1.4.2 I need to force webstart to use 1.4.1_03.
    I tried to set the tag <j2se version="1.4.1_03"
    When loading from the websever I get a "Error Code 11 (11 Could not locate requested version) "...same if I explicitly set to 1.4.2.
    I suspect that webstart is checking the "platform version" which are set for both to 1.4 and not the "product version" (see java preferences in webstart).
    Does somebody know if there is another jnlp tag I can use to force a specific version? or any other workaround.
    In my opinion this is a bug webstart should check the product version
    Thanks Marc

    had the same problem...
    ad the url and try again:
    <resources>
    <j2se version="1.4.1_03" href="http://java.sun.com/products/autodl/j2se"/>
    <jar href="...
    as far as I now are not all JRE's available for autodownload.
    Good luck!

  • 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.

  • JRE version with Forms 10.1.2.3

    I just finished installing the patch set 3 for Forms Services 10.1.2.0.2 to update to version 10.1.2.3. The purpose was for our users with Windows 7 IE 8 to be able to continue to use Forms.
    I understand that this requires JRE 1.6.0_20. However, most machines still have 1.4.2_XX. I am able to use the updated version on my machine that is XP and IE 7 w/ the 1.4.2 JRE version. One of our users with IE 8 gets this message in the Java Console:
    Java Plug-in 1.6.0_20
    Using JRE version 1.4.2_12-b03 Java HotSpot(TM) Client VM
    He has the new one installed but it forces use of the old one.
    Does anyone have a suggestion in configuration with working around this issue for users that will use either version of JRE w/ this Forms update?
    I think an answer would be to uninstall JRE 1.4.2 for users w/ IE 8 but we don't have admin control on our machines.
    Not a critical issue but your advice/help is appreciated.

    Phil,
    When you upgraded, did you modify the formsweb.cfg to change the JRE requirement? If you didn't that would explain the message your user is getting:
    Java Plug-in 1.6.0_20Using JRE version 1.4.2_12-b03 Java HotSpot(TM) Client VM>
    As Chidu suggested, change the following lines in the Formsweb.cfg on the app server:
    jpi_codebase=http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jre-6u22-windows-i586.exe?BundledLineItemUUID=D.uJ_hCujxcAAAErFOQkgqsv&OrderID=pYCJ_hCuGowAAAErCeQkgqsv&ProductID=mCuJ_hCyot8AAAEri7RGXQzG&FileName=/jre-6u22-windows-i586.exe
    jpi_download_page=http://www.oracle.com/technetwork/java/javaee/downloads/index.html
    jpi_classid=clsid:CAFEEFAC-0016-0000-FFFF-ABCDEFFEDCBA
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0Note: The above entries are JRE U pdate independent - meaning any version of Sun JRE 1.6 will work; it is not specific to update 21 (current update version).
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • 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

  • Where can i find JRE Version 1.4.1_02

    Please do let me know where i can find JRE Version 1.4.1_02

    Hmmmmm.....
    The link that was provided in the 13-Oct-2004 response, (two years ago) still seems to work.
    It gets you to downloads for Windows, Linux, Solaris(SPARC), and Solaris(x86).
    It has the JRE, it has the SDK, it has instructions for each,
    and it has their licenses.
    It even has a couple of Solaris patches.
    Rather than just ask again, did you even try that link ?

  • Pressing Tab key in IE with latest JRE version

    Hi,
    I have question about typing "TAB" key in Java Applet in internet explorer with JRE 1.05_08 or above.
    When I type any key other than "TAB", the function, processEvent, will be called 3 times to process the events: keyPressed, keyTyped and keyReleased. However, when I type "TAB" key, processEvent is only called once to process the event: keyTyped and the focus goes outside the applet.
    Is there any way that the focus won't get lost when typing the "TAB" key?
    Note that this problem only happens in IE browser with JRE 1.05_08 or above. It works well in Firefox and netscape with any JRE version and works well in IE with JRE 1.05_06 and below.
    The following is my code:
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class KeyEventDemo extends Applet implements KeyListener, FocusListener {
         public KeyEventDemo() {
              super();
              addKeyListener(this);
              addFocusListener(this);
         public void keyTyped(KeyEvent e) {
              System.out.println("KEY TYPED: e="+e);
         public void keyPressed(KeyEvent e) {
              System.out.println("KEY PRESSED: e="+e);
         public void keyReleased(KeyEvent e) {
              System.out.println("KEY RELEASED: e="+e);
         public boolean keyDown(Event e, int key) {
              System.out.println("keyDown: e="+e);
              return false;
         public boolean keyUp(Event e, int key) {
              System.out.println("keyUp: e="+e);
              return false;
         public void processEvent(AWTEvent e) {
              System.out.println("processEvent : e="+e);
         public void focusGained(FocusEvent e){System.out.println("FocusGained");}
         public void focusLost(FocusEvent e){System.out.println("FocusLost");}
         public void paint ( Graphics g ){
              this.setBackground ( Color.blue );
         public boolean isFocusTraversable() {
              return true;
         public boolean getFocusTraversalKeysEnabled() {
              return false;
    Thanks very much!

    I apologize - the cross posting snookered me; the solution is provided on:
    http://forum.java.sun.com/thread.jspa?threadID=780250&messageID=4438725#4438725

  • Jre version & location

    hello
    how can i get the jre version & location from applet? is there any way for this?
    thanks
    bashar

    Look up the docs for System.getProperty(String) or System.getProperties().

Maybe you are looking for

  • Logical Port

    Hi. I have downloaded a wsdl file from a BAPI in r/3 4.7. I have created a Proxy object in neatwever 2004s client. I created the logical Port for the Proxy Class. When I tested the Proxy class I get the followinf error <CODE>ERROR_WEBSERVICE_RUNTIME_

  • Connecting a SAP-ERP-System to ADS-Server

    Hi all, I'm facing a problem while I'm trying to connect our ERP-Sandbox to an ADS-System by SSL (HTTPS). I already connected it by HTTP successfully, so it pricipally should work. Also DEV, QAS and PRD-Systems are connected to the ADS by http and ht

  • NW EHP1 SPS10 installation fails @PREPARE_JSPM_QUEUE

    Our System is ERP - ECC 6.0 (ABAP+JAVA) ABAP - EhP4 SPS08 (ABAP) JAVA - Ehp1 SPS 07. We are trying to upgrade this can some help us with the following Issue =============================================== The execution of PREPARE_JSPM_QUEUE/PREPARE_J

  • Why is Oracle Client needed?

    Hi May I know why do I need to install Oracle client in another desktop, whereby other desktop without installing Oracle Client and PeopleSoft Client, they also can access into the URL.

  • Create a table from another table

    I have Windows XP with 10g 10.2.0.1.0 I need to create a table from another table to re-arrange the table column order and add the following statement at the end of creation. PCTFREE 10 PCTUSED 0 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE INI