JRE auto download version

Hi,
I�m involved with supporting an application that uses applets. If a user opens a browser (IE 6.0) and starts the applet, the JRE download and install process automatically starts, if the client machine doesn�t have a JRE installed.
The problem is that it always downloads JRE 1.4.2_03, but we want it to download JRE 1.4.2._10 or 1.4.2._11. Is this a configuration parameter within the browser, or is it down to the applet itself? The applet is served up by an application running on IIS, but I think this more of a client side issue, right?
Any help would be appreciated.
Thanks,
Dave.

You can use the htmlconverter to convert applet tags to object tags.
Since IE is already downloading the jre I guess you are using an object tag.
For IE this object tag has a clsID and a codebase, codebase is the
location of the cab file (activex control) IE needs to download and install
if the clsid is missing from it's installed activex controls.
If you use the htmlconverter to convert an applet tag in a html page there
are options you can choose for browser and java version.
http://www.google.com/search?complete=1&hl=en&q=site%3Asun.com+applet+versioning&btnG=Google+Search
will get you here:
http://java.sun.com/products/plugin/versions.html

Similar Messages

  • Can the JRE auto download support in Vista using Java 5?

    Hi,
    I am investigating the JRE auto download and upgrade in intranet on Vista. But it seems the JRE auto download is disabled in Java 6.
    http://pscode.org/jws/upgrade.html
    Is it possible I achieve this in Java 5?
    Thanks a lot!

    a sample of the jreinstaller is provided in the samples directory go the 1.5 JDK.
    /Dietz

  • 1.4.2 JRE auto-download signature problem

    Hi,
    When I try to use the 1.4.2 cab file for auto-download, I find that there is a certificate signature problem when it installs. It comes up with a message:
    "Warning: The authenticity of this content cannot be verified, therefore it cannot be trusted.
    Problem listed below:
    Content does not match the signature."
    I'm not sure that it happens every time, but at least half of the time.
    This is a problem because we will supply this cab file with our product, so that the customer has an option to install it. However, it will look like we're supplying something unsecured.
    Here's the location of the cab file in question:
    OBJECT CODEBASE="http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab"
    Anyone else experienced this? Is this a bug?
    Thanks,
    Mike.

    This seems to the same problem as in bug 4908234, which currently has status "In progress, bug".

  • JRE Auto Download

    I am trying to ensure the customer has the JRE 1.3.1_08 version. My .jnop file contains the following line:
    <j2se href="http://java.sun.com/products/autodl/j2se" version="1.3.1_08" initial-heap-size="64m" max-heap-size="128m"/>
    I am getting an error during the jre install process:
    An error occurred while launching/running the application.
    Title: J2RE 1.3.1_08 Installer (US)
    Vendor: Sun Microsystems, Inc.
    Category: Security Error
    Unsigned application requesting unrestricted access to system
    Can anyone help?

    Do you also have a secion in your jnlp file that says
    <security>
    <all-permissions/>
    </security>
    If so that is your problem. Applications launched with Java Web Start are -- by default -- run in a restricted environment where they have limited access to local computing resources, such as storage devices and the local network. In this sandbox environment, Java Web Start can guarantee that a downloaded and potentially untrusted application cannot compromise the security of the local files or the network. So depending on what your app does you may need all-permissions but if you don't you should be able to remove that section and you will get past that error. If your app needs system resources you may be able to rewrite parts of it using classes from the javax.jnlp package to access local resources (if you do this you will not need all-permissions) or you can sign your jar files. Take a look at the delevopers guide http://java.sun.com/products/javawebstart/1.2/docs/developersguide.html it talks about the restriced environment and how to sign your jar files.

  • JavaWebStart JRE 1.4.2 auto-download installer sample

    Environment: WinXP - Pro SvcPack2, jdk1.5.0_08
    I am a JAVA newbie attempting to learn more. In trying to learn more about the JRE auto-download installer, I tried to build the sample installer using the README found in the jdk1.5.0_08\sample\jnlp\jreinstaller directory as a guide -- without success.
    I went the GNU website and got a copy of "gnumake". I then went to the jreinstaller\build\win32\jreinstallers directory and ran 'gnumake'. I got the following error;
    process_begin: CreateProcess(NULL, uname, ...) failed.
    process_begin: CreateProcess(NULL, uname, ...) failed.
    process_begin: CreateProcess(NULL, uname, ...) failed.
    for i in j2re1_4_2/GNUmakefile ; do \
    echo ">>>Recursively making "$i" "all"..."; \
    C:/Program Files/Java/jdk1.5.0_08/sample/jnlp/jreinstaller/build/win
    32/gnumake -f $i bundle || exit 1; \
    echo "<<<Finished Recursively making "$i" "all"." ; \
    done
    i was unexpected at this time.
    gnumake: *** [all] Error 255
    I "assume" the problem I am having is a "setup" issue. Can anyone help point me in the right direction to compile this.
    Thank you!!!

    Well, I got over one hurdle by using a SUN document that describes setting up the environment for building a JDK under Windows.
    I am using the Cygwin command binaries for compilation.
    Now when I try to build the sample, I get the following error;
    C:\Program Files\Java\jdk1.5.0_08\sample\jnlp\jreinstaller\build\win32\jreinstallers>C:\cygwin\bin\make all
    for i in j2re1_4_2/GNUmakefile ; do \
    echo ">>>Recursively making "$i" "all"..."; \
    /usr/bin/make -f $i bundle || exit 1; \
    echo "<<<Finished Recursively making "$i" "all"." ; \
    done
    Recursively making j2re1_4_2/GNUmakefile all...make[1]: Entering directory `/cygdrive/c/Program Files/Java/jdk1.5.0_08/sample/jnlp/jreinstaller/build/win32/jreinstallers'
    cl /IC:/Program Files/Java/jdk1.5.0_08//include /IC:/Program Files/Java/jdk1.5.0_08//include/win32 -c -o bin -Fobin/WindowsInstaller.o ../../../src/win32/jreinstallers/WindowsInstaller.c
    make[1]: *** [bin/WindowsInstaller.o] Error 53
    make[1]: Leaving directory `/cygdrive/c/Program Files/Java/jdk1.5.0_08/sample/jnlp/jreinstaller/build/win32/jreinstallers'
    make: *** [all] Error 1
    Any idea what the 'Error 53' means?

  • JRE 1.4.1 auto-download URL?

    If it is available, what is the "codebase" URL for the auto-download of JRE 1.4.1 for use in the <object> tag?
    Thanks all,
    Mark

    I found it:
    http://java.sun.com/products/plugin/autodl/jinstall-1_4_1-windows-i586.cab#Version=1,4,1,0

  • Auto Download JRE from Intranet using JWS

    I'm pretty new to JWS, I want to download a specfic JRE version from my Intranet or from a directory on the Unix server (webserver). I have downloaded 1.4.2_11 from Sun web site to http://webserver01.intra.xyzabc.com:8000/sample. What step I must do to autoload when the user does not have any JRE installed on desktop
    please help me.
    Thanks
    Baski
    Sample.jnlp:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for Sample Program -->
    <jnlp
    spec="1.0+"
    codebase="http://webserver01.intra.xyzabc.com:8000/sample"
    href="Hello.jnlp">
    <information>
    <title>Java Web Start, Sample Program</title>
    <vendor>Java Web Start Home Page</vendor>
    <!--homepage href="docs/help.html"/ -->
    <description>This is a Sample Program</description>
    <offline-allowed/>
    </information>
    <resources>
    <jar href="Sample.jar"/>
    <j2se version="1.4.2_11" href="http://webserver01.intra.xyzabc.com:8000/sample"/>
    </resources>
    <application-desc main-class="Sample"/>
    </jnlp>

    Note that only certain version are available for
    auto-download, and the published list may be
    out-of-date (it was the last time I checked.)
    (grumble) I'd have thought Sun might be able to get
    the technology together to generate the list of available
    versions actively (e.g. using JSP/servlets).
    There was recently a question why no version
    NN available?, my reply linked to the list of
    available versions and asked Do you see
    your requested version, listed here?
    I probably led the questioner entirely astray.

  • Auto download JRE

    Hello,
    One of the described features of webstart is the auto-download of the specified JRE (if not yet installed)
    I want to place the JRE on my local server to prevent downloads from the Sun site when the JRE is not yet installed on the client PC.
    How can I do this ?
    Thanks for the info,
    Piet

    As I said in previous response, the complete jre installer source is included in the JDK/samples directory.
    You cannot use the standard tag: href="http://java.sun.com/products/autodl/j2se" alone, because this directs java web start where to download the jre from.
    if you wan to accept either a jre downloaded from sun, or one loaded from your company server, but want only to force autodownload only from your companies server you would need to list multiple j2se elements:
    <j2se version="1.4.2*" href="http://yourcompany.com/products/autodl/j2se">
    <j2se version="1.4.2*" href="http://java.sun.com/products/autodl/j2se">
    then if either are there it will use it, otherwise it will try to download from the first one.
    It sounds more like most people want a local client configuration, that says where to download jre from when the standard href (href="http://java.sun.com/products/autodl/j2se") is given.
    there is the config entry: deployment.javaws.installURL , but that won't do what you want. (that will cause platform version specifications (those w/o href) to download from it's value, but it will also set that value in the location field of jre's discovered on the system (as on windows thru the registry), which will cause a non-match on jnlp files specifying sun product version (ie: with href="http://java.sun.com/products/autodl/j2se")
    What we really need is a configuration parameter that means "alternative download url" so that anyone requesting either a product version, or a platform version with the href equal to the value of the property deployment.javaws.installURL, will go to the alternative url to attempt the download.
    I'll file such an RFE for the next version.
    /Dietz

  • Multi-language JRE via auto-download?

    It seems that the JRE installed via the auto-download cab file for Windows is not the multi-language version. If I install the JRE by hand and then launch my Web Start application, I have no issues accessing other encodings like JIS_X0201. However, if I use the auto-download feature described in the Java Web Start tutorial (using http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=6,0,0,0...) I get an English-only version and end up with UnsupportedCharsetExceptions when I access other encodings.
    So, in short: Is there a way to get the multi-language JRE via auto-download?
    Thanks!

    Thats the GUI I am talking about
    Confirmation Needed - Print
    Print Request
    Applet would like to print . Do you want to proceed?
    Don't show this dialog box again?
    Yes No
    I want this to be in Portuguese, my native language.
    I changed the code like this:
    import java.util.Locale;
    import java.util.ResourceBundle;
    private String language = "br";
    private String country = "BR";
    Locale currentLocale;
    ResourceBundle messages;
    currentLocale = new Locale(language, country);
    messages =ResourceBundle.getBundle("MessagesBundle",currentLocale);
    ( I included )
    ( I algo created those files )
    MessageBundle.properties
    Dialog = Confirmation Needed - Print
    Title = Print Request
    Text = Applet would like to print. Do you want to proceed?
    Warn = Don't show this dialog again
    MessageBundle_br_BR.properties
    Dialog = Confirma��o Requisitada - Impress�o
    Title = Requisi��o de Impress�o
    Text = O Applet deseja imprimir. Deseja prosseguir?
    Warn = N�o mostre esta caixa de di�logo novamente.
    Everything according to tutorial.
    But I did not understand how this change a dialog that came from the JRE!!
    Angel Portal

  • IE8 prompting to auto download wrong plugin version

    Hi All,
    I have problem auto-downloading the latest java plugin 1.6 in IE 8.
    I have an applet which is configured to use the latest java version installed on the client machine. If java is not found, it is expected to download java plugin 1.6.0.21 [as configured in applet codebase].
    When i uninstall java on my local machine and try running html containing applet in IE 8, it is prompting to download java plugin 1.4.2_08 instead of 1.6.0.21.
    Please let me know where exactly IE8 is taking the plugin version?
    Applet classid and code base are as below.
    classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    codebase = https://java.sun.com/update/1.6.0/jinstall-6u21-windows-i586.cab#Version=1,6,0,21
    Thanks
    Avinash K.P

    Hi Calvinc
    Thanks for replying.
    I have tried changing version number as suggested by you, but problem persist.
    Its still pointing to java-plugin 1.4.0.
    FYI, I have tried below steps
    1. Uninstalled java on my local machine, however while uninstalling java 6 update 21 and 10, its showing
    'Fatal error while installation' error message. And i am not able to remove these entries from 'Add or Remove Programs'.
    2. Manually removed Java Run time entry from below path.
    C:\WINDOWS\Downloaded Program Files
    3. Removed Registry entries under JavaSoft.
    Guess i have messed up things pretty well :)
    Thanks
    Avinash K.P
    Edited by: Avinash K P on Mar 15, 2012 10:58 AM

  • Java web start unable to auto download java 1.6.0_14

    Hi,
    My application runs on java 1.6.0_14 and i want clients to use either 1.6.0_14 or higher while running the application. In the JNLP file i have mentioned j2se version as 1.6.0_14+
    If the client machine has a java version lesser than 1.6.0_14, Java web start is not automatically downloading the given version from sun auto download site.
    Isn' t this version supported by Sun for auto download? If yes, how to get around this problem?

    Thanks..
    We do have a web page from which we access the jnlp and that web page has javascript to force download of a specific version of JRE. Once it downloads the application on client machine, it creates an icon on the desktop.
    If the application and jnlp is changed on the server, we want clients to go through the icon on desktop and still get the version of jre mentioned in the updated jnlp rather than having them go through the web page again do download the new JRE required...

  • 1.4.2 not available for auto download via JWS

    I just tried to change my jnlp to use 1.4.2 and it will not auto download from Sun. Does anyone know if/when this will be available?
    The application has requested a version of the Java 2 platform (JRE) that is currently not locally installed. Java Web Start was unable to automatically download and install the requested version. The JRE version must be installed manually.
    <j2se version="1.4.2*" max-heap-size="144M"/>

    Yeah, I'd rather not have had to do all this work too.. I'm not clear on wether Sun intend to deprecate this JWS feature in favour of Java Update which should arrive with the next 1.4.2 revision. It's certainly true the support was even worse than I feared before I pinged the autodl server responses - jvms that used to work have vanished, indeed the whole international jvm request service ("http://java.sun.com/products/autodl/j2se/international") seems to have been suspended.
    As of tonight the a request for all the 1.3 & 1.4 Sun runtime products returned:
    <pre>
    Checking for version (1.3.0) - Not Available, error message "11 Could not
    locate requested version"
    Checking for version (1.3.0_01) - Not Available, error message "11 Could not
    locate requested version"
    Checking for version (1.3.0_02) - Download version 1.3.0_02 available
    Checking for version (1.3.0_03) - Not Available, error message "11 Could not
    locate requested version"
    Checking for version (1.3.0_04) - Not Available, error message "11 Could not
    locate requested version"
    Checking for version (1.3.0_05) - Not Available, error message "11 Could not
    locate requested version"
    Checking for version (1.3.1) - Not Available, error message "11 Could not
    locate requested version"
    Checking for version (1.3.1_01) - Not Available, error message "11 Could not
    locate requested version"
    Checking for version (1.3.1_01a) - Not Available, error message "11 Could not
    locate requested version"
    Checking for version (1.3.1_02) - Not Available, error message "11 Could not
    locate requested version"
    Checking for version (1.3.1_03) - Not Available, error message "11 Could not
    locate requested version"
    Checking for version (1.3.1_04) - Not Available, error message "11 Could not
    locate requested version"
    Checking for version (1.3.1_05) - Not Available, error message "11 Could not
    locate requested version"
    Checking for version (1.3.1_06) - Not Available, error message "11 Could not
    locate requested version"
    Checking for version (1.3.1_07) - Not Available, error message "11 Could not
    locate requested version"
    Checking for version (1.3.1_08) - Download version 1.3.1_08 available
    Checking for version (1.4.0) - Download version 1.4.0 available
    Checking for version (1.4.0_01) - Not Available, error message "11 Could not
    locate requested version"
    Checking for version (1.4.0_02) - Not Available, error message "11 Could not
    locate requested version"
    Checking for version (1.4.0_03) - Not Available, error message "11 Could not
    locate requested version"
    Checking for version (1.4.0_04) - Not Available, error message "11 Could not
    locate requested version"
    Checking for version (1.4.1) - Download version 1.4.1 available
    Checking for version (1.4.1_01) - Not Available, error message "11 Could not
    locate requested version"
    Checking for version (1.4.1_02) - Download version 1.4.1_02 available
    Checking for version (1.4.1_03) - Not Available, error message "11 Could not
    locate requested version"
    Checking for version (1.4.2) - Not Available, error message "11 Could not
    locate requested version"
    </pre>
    Pretty poor support, hence my continued griping in: http://www.javadesktop.org/forums/thread.jspa?threadID=84&tstart=0
    - Richard

  • Auto download 1.6.0_10

    we have run into a problem that is resolved in 1.6.0_10. We would like to make the install occur from our jnlp.
    Ex:
    <j2se version="1.6.0_10"
    It doesnt appear to be available yet from the auto download. Can someone update the servlet to make the download available? Any estimate of when would be greatly appreciated.

    I'm running up against the same thing.
    bug # 6669818 - http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6669818
    That's causing our web start app to die when trying to connect. It works fine with 1.6.0_10, but not with any release prior to that because we need 1.6.0_05 or later for some sealed libraries that we are using.
    Any news on when 1.6.0_10 will be available through the auto-download system would be appreciated.
    I noticed that someone from Sun mentioned in these forums that a JRE is usually available from the auto-download URL within a couple of weeks of its release - http://forums.sun.com/thread.jspa?threadID=704112&messageID=4082098
    What was the release date for 1.6.0_10 anyway? I see an article from April this year introducing it (http://java.sun.com/developer/technicalArticles/javase/java6u10/), but no word on when exactly it was officially released.

  • 1.4 Auto-download

    Hi, the auto download of the 1.4 jre is failing with "Unsigned application requesting unrestriced access to the system" during the auto intall of the jre from
    <j2se version="1.4.0*" href="http://java.sun.com/products/autodl/j2se">.
    Has anyone else seen this?
    Thanks
    Csquill

    I believe this is because you are running with a 1.2.x JRE. You need 1.3 or higher to be table to understand the signing necessary to do the auto download/install.

  • How do I delete auto download of ios7

    How do I delete auto download of ios7

    I found a solution from a Chinese website called WeIphone (http://www.weiphone.com/)
    Here is the original Chinese version if you are interested: http://bbs.weiphone.com/read-htm-tid-7022768.html
    Now I will try to retell the solution for those who prefers English:
    Notice: This guide is for those who still have iOS 6 running on their  devices and only want to delete the update file for iOS 7 automatically  downloaded. For those who have already updated their devices to iOS 7  and want to downgrade to iOS 6, this guide will probably be useless.
    Part 1. How to prevent iOS 7 from being downloaded automatically:
    If your device has already downloaded iOS 7 automatically, please skip this part and read part 2.
    Method A: Keep free space on your iPad / iPhone below 3.1GB all the time. You can do this by installing some large games or keep some music / films.
    Method B:With your device unplugged from power, connect to WIFI and open Settings->General->Software Update. Now your device will try to find whether there is new update or not. After a few minutes, there will be a notice of new update (currently is iOS 7.0.2) and a button says "Download and Install". DO NOT press it. Now you can use your device as usual. As long as you check the update manually, it won't download it automatically. It's wired, but it works.
    Part 2. Delete iOS 7 firmware downloaded automatically:
    Method A: If you have backup in iTunes, recover it. (I didn't test this method, so it's on your own risk.)
    Method B: Open Settings->General->Software Update, Click "Install Now". There will be a prompt says "Verifying update...", Wait until this prompt disappear, there will be a spinning wheel on the black background. Immediately press and hold both of the power and home buttons at the same time. DO NOT release the power and home buttons for about 10 seconds. Your device will reboot. It's done. The automatically downloaded firmware will have been deleted. Now read part 1 to prevent automatically downloading in the future.
    My new iPad (the 3rd generation, 16GB WIFI version) is running iOS 6.1.3 and automatically downloaded iOS 7.0.2, I tried Method B to delete it and succeed. However this is not an official method so there is no guarantee it will work for everyone, please use it at your own risk.

Maybe you are looking for