Automatich download JRE

Hi,
In the jnlp file it's possible to specifiy the jre version needed to run the application.
Example :
<j2se version="1.4+"/>
Because I'm not sure that the JRE 1.4 is installed on the client machine and because the automatic download from the Sun site doesn't work I prefer to specify a location on my webserver.
Example :
<j2se version="1.4+" href="/MyProject/J2SE"/>
I copied the j2re-1_4_2_04-windows-i586-p.exe file in the specified folder on my webserver.
When I launch the jlnp file I receive the following error :
Missing version field in response from server when accessing resource: (http://158.67.39.160/MyProject/J2SE, 1.4+)
What is wrong, did I copy the wrong JRE file in the webserver folder ?
What do they mean with 'missing version field' ?
Any idea ?
Thanx for you help,
Piet

First of all, webstart will request the jre using version based protocol, so you have to run a servlet or equivilant on the hosting webserver that implements the version based download protocol.
Secondly, the thing pointed to isnt a windows executable (you have j2re-1_4_2_04-windows-i586-p.exe) but needs to be a jnlp installer extension.
Finally, you need to abide by the java licensing agreement.
You can get an example of how all this is done int the sdk of Java 1.5.0. The new samples directory contains both the sample jnlpservlet, and the sample jreinstaller.
/Dietz

Similar Messages

  • Why my browser want to download JRE?

    Applets dont work with SDK? I think it is not possible, but my applet doesn't work, browser starts downloading JRE and want to install it. Appletviewer doesn't work too. I've tried 2 options in htmlconverter use any wersion of java 1.4 or higher and use only java 1.4.2_09. Both gives this same effect. (I want to change my applications from jforms into applets, but even sample applets don't work).

    Hmm.. i found that browser need plug - in, but it should be installed with SDK :/. Do I have to install it again? If I have 2 versions of java environemt, won't I have problems?

  • I need java download  jre-7u6-macosx-x64.dmg file.

    I am trying to download a  PrintMaster Platinum software onto my macbook pro.  I have OS X 10.9.4.  IWhen trying to download it says I need java update and when I try to download jre-7u6-macosx-x64.dmg file. it won't let me.  Not sure what to do.  Wondering if the software that I bought at a store is too old for the computer, which I was told would download in the store.
    the box says ; Macintosh OS S 10.6, 10.7, 10.8 with latest Java update.
    Not sure what is wrong.
    Thanks
    Renee

    ! have this problem as well. anyone know how to find and download jre-7u6-macosx-x64.dmg?

  • 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

  • Cannot download JRE

    hello,
    well i am running windows 2000, and i cannot download JRE. in the instructions, it says if you recieve a certain error message then a yellow bar should appear at the top of the screen and then you click on that and it guides you through the problem.
    my problem is that i get that error message but the yellow bar never appears? anyone know whats going on?

    See if your bank has an App Store app. Most banks do. I'm guessing you are try to get on using Safari, which won't work due to the incompatibility of Java.

  • Where can I download JRE 1.4.2_23 or higher?

    Hi,
    I've been surfing for a while trying to find out where I can download JAVA Runtime 1.4.2_23 but I can't find it anywhere. It's like a myth. I need it for my Windows environment. I'm using Windows 7 and I read on the Internet that 1.4.2_23 is compatible with Win7. Also, I need JRE 1.4.2_X because one of our main tool here is only offering stable performance using that Java version.
    Thanks and sorry for that simple question. I really don't know where to look.
    Martin
    Edited by: mart_armis on Jun 29, 2010 5:20 AM
    Edited by: mart_armis on Jun 29, 2010 6:13 AM
    Edited by: mart_armis on Jun 29, 2010 6:13 AM

    [http://www.sun.com/software/javaforbusiness/support.jsp]
    ... call Sun your Sun Sales Representative, or your Authorized Partnerto get
    ... continued access to software that has reached end of life

  • Where can I download JRE version to be released October 14, 2014?

    I want to do some early testing of the coming JRE, so where can I download a copy of the JRE that will be released on October 14, 2014?

    I want to do some early testing of the coming JRE, so where can I download a copy of the JRE that will be released on October 14, 2014?
    You need to contact Oracle if you desire to participate in any of their test programs.
    The latest public Java release is the JDK 8u20 update. You can download it from the Downloads tab on this page:
    JDK 8 Update Release Notes
    The 'release' you are talking about is likely just the critical patch update as discussed in the 8u20 release notes:
    JDK 8 Update Release Notes
    JRE Expiration Date
    The JRE expires whenever a new release with security vulnerability fixes becomes available. Critical patch updates, which contain security vulnerability fixes, are announced one year in advance on Critical Patch Updates, Security Alerts and Third Party Bulletin. This JRE (version 8u20) will expire with the release of the next critical patch update scheduled for October 14, 2014.
    Unless you are part of Oracle's pre-release test program you will not have access to versions prior to their public release.

  • Can't download JRE

    I cannot download the JRE from java.com . Any download button just hangs and then results in "Page not found". Tried it from 3 Windows systems on two different ISPs. Been this way since Monday, March 1st.
    Is this happening to others?
    I really need the offline install for 1.4.2_03.
    Thanks

    Yep, me too (from Australia).
    There seems to be something wrong with the site.
    Cheers,
    Dave

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

  • Diffculty downloading JRE version if user has no admin rights on the box...

    If you try to load in your own JRE version using the j2se tag in the JNLP file, and you don’t have Admin Rights on the computer, java webstart client will give you the following error:
    The application has requested a version of the JRE (version xxxx) that currently is not locally installed. Java Web Start is unable to automatically download and install the requested version. This JRE must be installed manually.
    The underlying reason for this, is because the user doesn’t have admin rights, the Java Control Panel->Advanced->JRE Autodownload option is set to Never AutoDownload, where as with a user with admin rights this option is set to Always AutoDownload. Once you switch this to Always AutoDownload, the JRE version is loaded correctly as specified by the j2se tag in the JNLP file.
    Is there any way to set this option programmatically, or via the JNLP API? Any other suggestions on how this can be done?
    Thanks,
    Amado

    odama94 wrote:
    ..Is there any way to set this option programmatically, or via the JNLP API? If there was a way, it would be a security bug.
    .. Any other suggestions on how this can be done?Talk to your System Administrator.

  • Where or how to download JRE version 5 update 23 or higher?

    Seeing that this is a Sun forum devoted to the Java JRE, there must be people here that can answer these questions:
    a) why are there updates to Version 5 higher than update 22 being developed but not being made publically available?
    b) what is the lowest cost option that would allow me to have access to these higher versions? What is the name of the Sun/Oracle product that will give me access to those higher versions, and what exactly is the price?
    c) Would the "Java for Business" product give me access to Version 5 update 23, and what does it cost? (A few months ago I tried to get information about Java for Business, but none of the links worked, and a chat with an on-line agent proved fruitless).

    You already asked this question in another subforum and received an answer:I asked the question in the wrong forum (a solaris JRE forum, not a Windows JRE forum). I realized that when I did not receive a useful answer. I already knew that Version 5 Update 22 was the last public version, and when I expanded my question to ask WHICH PRODUCT would give me access to any higher non-public updates, I was met with silence, and then I figured that asking the question in a Solaris forum was probably not a good idea anyways.
    I see that you are continuing the legacy of not answering my questions by putting forward the idea that they have already been answered. That's too bad. I expected more cogent and useful information from this group, but obviously I'm asking about something that is either taboo or that goes right over most people's heads here.
    Not even a single response about Sun's "Java for Business" product - what it is, how much does it cost, and does it contain the Version 5 updates I'm asking about.

  • Where and how can I download JRE?

    I want to run Java bytecode applications, I need the interpreter for running bytecode. Where can I find it?
    Thanks beforehand!

    http://java.sun.com/j2se/1.3/jre/

  • How (or where) can I download JRE 5 version 23 or later?

    JRE 5 update 23 (and later) versions do not seem to be publically available. Why is that, and how can I obtain the most recent update for JRE version 5?

    Seeing that this is a Sun forum devoted to the Java JRE, there must be people here that can answer these questions:
    a) why are there updates to Version 5 higher than update 22 being developed but not being made publically available?
    b) what is the lowest cost option that would allow me to have access to these higher versions? What is the name of the Sun/Oracle product that will give me access to those higher versions, and what exactly is the price?
    c) Would the "Java for Business" product give me access to Version 5 update 23, and what does it cost? (A few months ago I tried to get information about Java for Business, but none of the links worked, and a chat with an on-line agent proved fruitless).
    By the way, I'm asking specifically about Windows versions of the JRE. If this is a solaris-only JRE forum, please let me know.
    Edited by: Sum-Guy on Jun 13, 2010 7:31 AM

  • I downloaded JRE 6u3 but I get error

    I have spent long hours and a few months trying to figure out why Java does not work on my computer. I am running 32bit Vista.
    I went to Java.com and clicked on the link "Do I have Java", I clicked on the link to verify the install and I don't get the congratulations Java is installed on your system. I
    In my control panel I see a Java file and a Java Icon telling me it is installed.
    When I go to sites like countryrealestate.com the web page tells me that Java is not installed on my computer. When I go to the washington post to download a crossword puzzle I get a bar asking me if I want to install Active X, I say yes then I get an error message from Microsoft saying "Windows has blocked this software because it can't verify the publisher"
    I see Sun Java Control in the Tool bar but when I click on it nothing happens.
    Today my ISP had me change the following settings and Java still does not work all i get is a red x. I deleted all my browsing history, cookies, temporary internet file folder. I set my security to Medium, hit the reset button in the Security tab, in the Connections tab I unchecked the boxes.
    I am very frustrated and would greatly appreciate it very much if someone can help me resolve this issue.

    In Vista, click Start, and in the search box, type 'cmd' and hit enter. At the command prompt that comes up, type "java -version" and hit enter. Paste the results here.
    The 'Verify the Publisher' thing is just a Vista/IE7 security thing, you can disable those blocks, or click the yellow bar that comes up in the browser and enable whatever got blocked.

  • Problems downloading JRE

    A while ago I accidently uninstalled Java from my computer and, realising I needed it for a few things on my computer, found that I could not Re-download it...
    When I try to download it in any way, it comes up with an error message.
    When I use Firefox, it says the page has timed out.
    When I use Internet Explorer, it says the page can not be found.
    When the Limewire installer tries to install it, it simply says it can't and directs me back to this site.
    I don't know what is wrong...

    All you have to do is put your HTML file thru the HTMLConverter by typing:
    HTMLConverter test.htm
    where test.htm is the name of your HTML file which should contain an <APPLET> tag like this:
    <APPLET CODE="MyApplet" CODEBASE="." WIDTH=200 HEIGHT=100></APPLET>
    Note that the above is just a sample with bare minimum for an applet. Note also that the HTMLConverter should come with your JDK1.3 but if you can't find it on your system, you may have to download it from Sun's web site.
    V.V.

Maybe you are looking for

  • Not Showing Most Recent Files

    I've got a strange one. I've been able to network my imac to a dell laptop and they can see each other's shared directories. Tried to access an Excel file from the laptop and it didn't show the most recent file, but one that was nearly three weeks ol

  • Resolution for print

    I downloaded some photo's some time ago from my sony digital camera to my mac.  I was recently printing off some photo's taken using the same camera on the same day. Some photo's printed fine no problem however some photo's looked great on the mac sc

  • Robohelp HTML with AppleHelp

    The programmer I'm working with to publish my RoboHelp 7 application help wants an output which will work with AppleHelp. I have given him WebHelp and HTML (.chm) output files, but he wants "unzipped files without Javascript" instead. He doesn't want

  • How can I add some help text to a plain text field?

    I would like to put the basics in the plain text (formatted text) field and then some details and clarifications in the help text area.  Seems like this would be easy and useful.

  • CS4:  "Critical errors were found in setup. Please see the setup log for details" !!

    I am using Win XP Pro SP3. I have CS3 installed, and successfully installed Dreamweaver, Fireworks and Flash from CS4 Design Premium. Then I successfully uninstalled DW, FW and FL CS3. When I tried to open a SWF in Illustrator it failed to open, and