JRE version requirements

I am attempting to write an applet which requires JRE 1.5+ to be installed. For visitors that either do not have any JRE installed or have an older version, I would like my webpage to be able to redirect them to download the latest JRE. I also would like this mechanism to support all browsers and all platforms if possible. I created a web page with an applet tag and tried used HtmlConverter to insert scripts and tags that support various platforms/browsers. It seems to work fine with IE, but when I visit the page with Netscape or Firefox on a machine that has only JRE 1.4.2 installed, all I get is an applet box with a red X. The Java Console shows an "UnsupportedClassVersionError."
I am actually writing this applet only for the purpose of ensuring that the user has a new enough JRE in order to run our WebStart application. If in the jnlp file I specify a JRE version that is higher than the user has installed, it correctly attempts to download a new version. But if they have no Java installed at all, the browser simply tries to save the jnlp file. So this doesn't provide what I need either.
One possible solution might be to compile a JRE 1.1 compiled class and use that to redirect the user to http://java.com/download if it does not detect a 1.5 JRE. But I am not sure if this is a good idea or not because this version is no longer supported by Sun.
Anybody have any recommendations?

I am attempting to write an applet which requires JRE 1.5+ to be installed. For visitors that either do not have any JRE installed or have an older version, I would like my webpage to be able to redirect them to download the latest JRE. I also would like this mechanism to support all browsers and all platforms if possible. I created a web page with an applet tag and tried used HtmlConverter to insert scripts and tags that support various platforms/browsers. It seems to work fine with IE, but when I visit the page with Netscape or Firefox on a machine that has only JRE 1.4.2 installed, all I get is an applet box with a red X. The Java Console shows an "UnsupportedClassVersionError."
I am actually writing this applet only for the purpose of ensuring that the user has a new enough JRE in order to run our WebStart application. If in the jnlp file I specify a JRE version that is higher than the user has installed, it correctly attempts to download a new version. But if they have no Java installed at all, the browser simply tries to save the jnlp file. So this doesn't provide what I need either.
One possible solution might be to compile a JRE 1.1 compiled class and use that to redirect the user to http://java.com/download if it does not detect a 1.5 JRE. But I am not sure if this is a good idea or not because this version is no longer supported by Sun.
Anybody have any recommendations?

Similar Messages

  • JRE version requirement for browser based Webtop connections ?

    I've been looking but I can't see a documented require version number for JRE for SGD browser webtop connections.
    Can anyone point me in the direction of something that says 'must use JRE 1.5 or higher' or something like that ?
    Edited by: Slimm on Feb 29, 2008 1:25 AM

    This is covered in the Release Notes for each version. e.g.
    [SGD version 4.4 release notes|http://docs.sun.com/source/820-2548/chapter1.html#d0e1108]

  • Different JRE Version requirements

    I apologize in advance if this has been posted and answered already; I couldn't find the right combination of keywords to locate it...
    The company I work for has two large partners that it works closely with. One of these partners Java programs require JRE 1.4.2 the other company's programs require at least JRE 1.5. To this point we have not been able to find any way to direct company A's java programs to use JRE 1.4.2 and company B's programs to use JRE 1.5 on the same computer. This has required that certain people be setup for company A and other people be setup for company B. Is it possible to force these programs to use the version of Java they're looking for on the same computer?
    In one case these programs are a mix of Java applets and JNLPs, while in the other they are all Java applets.
    TIA!

    Try it and see, I've ran earlier version bytecode on new releases and also compiled old source on new JDK's without any problems before, but then your app is not my app and you may have used something or combinations of somethings that nobody else ever has and it yacks on you.
    Never know until you try it.
    BTW: I'm still running some of my 1.5, 1.4, 1.3, and 1.2 code on 1.6 no problems, but then not all of it is rocket science either.

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

  • Use different JRE versions in Oracle Discoverer 10g(10.1.2.0)

    Hello.
    We have a Oracle Forms application which also uses Discoverer Plus and Reports.
    Problem is we have some user clients who uses XP/IE 6.0 while otheres has Vista IE 8.0.
    Based on here
    http://www.oracle.com/technetwork/middleware/ias/downloads/as-certification-r2-101202-095871.html#BABGCBHA
    depending on OS/browser different plugin versions are required. If we
    Can we have different JRE versions in separate clients? Kinda confused with the matrix.

    Hi;
    Please check below which could be helpful for your issue:
    Overview of Using Java with Oracle E-Business Suite Release 12 [ID 418664.1]
    Deploying Sun JRE (Native Plug-in) for Windows Clients in Oracle E-Business Suite Release 12 [ID 393931.1]
    Oracle Jinitiator and Sun JRE/JPI Support for Oracle Forms Applications [ID 555720.1]
    Regard
    Helios

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

  • IE 7 problem with jre version 1.4.1

    We are experiencing a problem with a site that is running java applets. It requires version 1.4.1. After logging into this site, a second window should appear. There are several times when that second window will attempt to open but then closes immediately. The only fix that I have found is to open the Java Console (tools>Sun Java Console) with the browser open and then immediately close the console.
    Is there another workaround or fix?
    Thanks

    Starting in JRE 5.0u7 and 6, we have family clsid support for the 1.4.2 and 5.0 JRE family. Please refer to Deploying Java Applets With Family JRE Versions in Java Plug-In for Internet Explorer for details. In your HTML page you can specify the 1.4.2 family clsid so that the latest installed JRE 1.4.2 version on the machine will be used. Note that we no longer support JRE 1.4.1. Please migrate your applet to JRE 1.4.2 or newer JRE versions.
    http://java.sun.com/developer/community/askxprt/2007/jl0212.html
    => upgrade to the latest jre

  • J2SE/JRE Version(s) on Clients

    Hi All!
    Can someone offer some guidance on what version(s) of J2SE/JRE we should have installed on our clients (PCs)?  We have standardized on 1.4.2_13 and are moving to 1.4.2_15 for Vista support, but we've run into several situations where SAP is asking for us to also install 1.5 or 1.6, and we also have other vendors asking for various versons of J2SE/JRE.  In the past we tried to use the same version as the version on the server, but we're finding this is hard to do.
    Also, if you're running multiple versions, how do you manage cases where 2 browser apps want to use different versions since (at least with IE) it appears only one can be the default.
    Thanks!
    Jeff

    Jeff,
    Unfortunately, as you have realised, you're stuffed when it comes to IE and Java.  Only one can be used.
    We have to produce a certified list of apps that can be run against a common JRE.  It looks like a neat matrix sheet and normally works around the lowest common denominator of JRE.
    Unless SAP don't support you on older JRE versions, don't be bullied by them into upgrading.
    Unless there is a very compelling reason (e.g. you need a patch that requires an upgrade) then I wouldn't change it, for simplicities sake.
    I found this link to be of use though:
    Re: Assigning Frieght conditions by Vendor
    Best Regards,
    Darryl

  • 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

  • Determine if JRE version is compliant through Batch Script

    I am deploying multiple programs to remote systems. Some of the programs require JRE 1.41 or later to run. I would like to create a bat script to not only identify the JRE version, but identify if the client has a newer version of JRE. So far I have been able to identify the latest version. However, I do not know how to compare to a later version of JRE. For example lets say JRE version 6.0 comes out. At this point the program will probably be compliant with my machine, but I don't know how to make my script identify later versions, since batch files only compare and don't have many math features. I thought about doing a comparison between every java version that has been deployed.(I haven't even found a comprehensive list either) But this may not provide support for newer versions of JRE Any suggestions? Below is what I have so far.
    @echo off
    start /w regedit /e reg1.txt "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment"
    type reg1.txt | find "CurrentVersion" > reg2.txt
    for /f "tokens=2 delims==" %%x in (reg2.txt) do set JavaTemp=%%~x
    if %JavaTemp% == 1.41 echo G2G
    if %JavaTemp% == 1.3 echo Failed. You need to upgrade JRE to at least 1.41

    does anyone know how (or if it's possible) to
    determine if a JRE is the international version?
    thanks.There is no API to provide this answer conclusively. However, one might guess.
    For example, in the non-localized JRE, you will not have the Japanese locale support. So you could do something like this:
    Locale[] supportedLocales = DateFormat.getAvailableLocales();
    If the Locale array contains a Locale for ja_JP, then you have the international version. It's simple, but perhaps not the cleanest way of determining the answer to your question.
    Regards,
    John O'Conner
    http://www.joconner.com/javai18n/

  • Multiple JRE versions Help

    I am a simple network engineer (not a programmer) and I am having difficulties because I have several boxes from different vendors that require different versions of the java browser plug in to work. Effectively I need to be able to change between version 1.3.1_02, 1.4.1_05, and 1.4.2_03 in order to manage my different devices. I cannot find a simple way of doing this on a single computer. Can anyone tell me if it is possible? I would hate to have to carry 3 different Laptops around to allow me to manage the systems that are in place.
    Thank you in advance to any and all who respond.

    The Webstart information was incomplete. Webstart in the client works in conjunction with (and requires) a server that implements the Webstart protocols, Java Network Launching Protocol.
    I doubt that this is applicable to you, but if you wish to explore it further there is a Webstart & JNLP forum here, and more information is at http://java.sun.com/products/javawebstart/index.jsp
    Regarding the problems with the Control Panel, there were compatibility problems with the earlier JRE versions (1.3.1 is of that era). I have heard that they can be overcome. The problems were especially bad when an earlier version was removed after a later version was installed. The later version's Registry data was corrupted, among other effects. Discussions about this exist in threads in the forums, and in bug reports.

  • Specifying JRE version when starting CRM On Demand

    I am trying to find a way to specify what jre version to use when logging into CCA. Our users have multiple jre version including newer versions that are not compatible with CCA. They have open java and disable the newer versions in order to get CCA to work. Of course this causes issues when they run other programs that require the newer versions (what a mess!).
    Is this possible and can someone tell me how to do this? Any help would be greatly appreciated!
    Thanks in advance!

    This could be a problem with mounting of CD.
    If you are not using Solaris Volume Management software. Execute the following commands as root user.
    prompt> mkdir /cdrom
    prompt> mount -r -F hsfs device_name /cdrom
    prompt> exit
    Regards
    Ranga
    null

  • 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

  • J2EE and related J2SE/JRE versions

    I understand the difference between J2EE and J2SE/SDK/JDK, and JRE. However, I'm having trouble identifying what version of SDK each of the J2EE versions uses. Maybe they match up.
    For example, if I have an old project someone says was built with J2EE 1.3 SDK, does that use J2SE/JRE 1.3? Does Java EE 5 use Java 1.5? 1.6? 1.4? (For example, if I'm setting Eclipse Compiler Compliance Level for a J2EE 1.3 project, what should it be?)

    is there a way for me to know what Java version that would have been or could have been compiled against?No.
    Edit: Slight clarification - the class files in the application contain a magic number that corresponds with the compiler target - so for any given class file you can determine what JRE was targeted at compile time. This can be different from the compiler version. Different classes in the same application may have been targeted to different JRE versions.
    Are there any versions of Java that it could not be compiled against?No.
    what version of Java does the Application Server on which this will be deployed support.The Application Server will be running on a JRE corresponding to a particular Java release. That JRE will support all versions of Java prior to the release. Code compiled on subsequent versions of Java can, if suitably written, be targeted to run on that version of the JRE and (depending on versions) may not need specific targeting to do so. Whether they in fact work or not depends entirely on what library calls they make.
    What's the business requirement that drives this request?
    Edited by: dcminter on 03-Mar-2010 18:54

Maybe you are looking for

  • IPhone and iPad connected but not with iCloud??

    When I updated to iOS 6.1, I was asked if I wanted to connect all devices. My mistake was selecting yes! I have an iPhone and iPad I just got for Christmas; I was using the same email on both devices for iMessages but I hate receiving all messages on

  • Apple TV defaults to "Movies" pane displaying inappropriate cover art

    Each time the Apple TV sleeps, the default Apple TV display after exiting a screen mirroring (or Air Play) session is the "Movies" section.  Because the movies section shows a handful of recent movies with their cover art, we are finding a lot of ina

  • JSP TableView Sorting Problem

    I have been trying to get a tableview to be sortable by clicking on the header of columns.  I have been reviewing existing threads on the forum in particular the one below. https://forums.sdn.sap.com/thread.jspa?threadID=16417 I seem to understand th

  • Report to find Users that cannot Shop?

    Hi All, Is there a report/program in SRM 5.0 that can tell what users are not configured correctly that will not allow them to shop? Also does the same report run in SRM 4.0? Thanks, Nikhil Edited by: Nikhil Malvankar on Nov 24, 2008 6:49 PM Edited b

  • Wen site with business report

    I need to build a web site with business report to connect ColdFusion server and would like to know what product I need purchase. I would like to know is it possible to purchase ColdFusion Report alone, or ColdFusion Report Builder is part of ColdFus