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.

Similar Messages

  • 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

  • How can I download music from iTunes using iOS 5.1.1?

    How can I download music from iTunes using iOS 5.1.1

    You can't you will need to go thru the process, if you want music.

  • How do I download software from line6 using os lion

    How do I download software from line6 using os lion

    http://line6.com/software/.  If you have tried, what problems are you having?

  • 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

  • Download file from URL using ADF (urgent help required)

    We have the following requirement:
    On clicking a button we need to download the file present at a particular location(we have the URL).
    I have written the following in .jspx file :
    <af:commandButton  id="btn1" >
                        <af:fileDownloadActionListener contentType="text/plain; charset=utf-8" method="#{bean.getFile}"/>
    </af:commandButton>
    The corresponding method in bean is :
    public void getFile(FacesContext facesContext, OutputStream outputStream) {
    HttpServletResponse response = null;
    ServletOutputStream ouputStream = null;
    currUrl = getFileURL("ID", 281);
    response =
    (HttpServletResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse();
    try {
    ouputStream = response.getOutputStream();
    ouputStream.write(this.getFileBytes(), 0,this.getFileBytes().length);
    ouputStream.flush();
    ouputStream.close();
    } catch (IOException ioe) {
    System.out.println("IO Exception");
    public byte[] getFileBytes() {
    URLConnection urlConn = null;
    InputStream iStream = null;
    URL url;
    byte[] buf;
    int byteRead;
    try {
    url= new URL("http://hjhj:34104/test.pdf");
    urlConn = url.openConnection();
    iStream = urlConn.getInputStream();
    buf = new byte[5000000];
    byteRead = iStream.read(buf);
    if (byteRead > 0) {
    System.out.println("Downloaded Successfully.");
    return buf;
    } catch (FileNotFoundException fnfe) {
    System.out.println("File not found Exception");
    fnfe.printStackTrace();
    } catch (Exception e) {
    System.out.println("Exception:" + e.getMessage());
    e.printStackTrace();
    } finally {
    try {
    iStream.close();
    } catch (IOException e) {
    System.out.println("IO Exception");
    e.printStackTrace();
    System.out.println("File");
    return null;
    The file is opening in same window but in some encrypted format. My requirement is to :
    1. Have a pop (as in Mozilla or IE) which asks if I want to save the file or open.
    2. Depending on that the file should be opened in pdf format and not in browser same window neither in browser tab.

    Jdev version : 11.1.2.1.0
    in .jspx file : we have a button. On clicking the button file from URL should be downloaded. I have used fileDownloadActionListener in commandButton. Corresponding code :
    <af:commandButton  id="btn1" >
                        <af:fileDownloadActionListener contentType="text/plain; charset=utf-8" method="#{bean.getFile}"/>
    </af:commandButton>
    in bean class : the method corresponding to fileDownloadActionListener is :
    public void getFile(FacesContext facesContext, OutputStream outputStream) {
         HttpServletResponse response = null;
         ServletOutputStream ouputStream = null;
         response =(HttpServletResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse();
         try {
              ouputStream = response.getOutputStream();
              ouputStream.write(this.getFileBytes(), 0,this.getFileBytes().length);
              ouputStream.flush();
              ouputStream.close();
              } catch (IOException ioe) {
                   System.out.println("IO Exception");
    public byte[] getFileBytes() {
         URLConnection urlConn = null;
         InputStream iStream = null;
         URL url;
         byte[] buf;
         int byteRead;
         try {
              url= new URL("http://hjhj:34104/test");
              urlConn = url.openConnection();
              iStream = urlConn.getInputStream();
              buf = new byte[5000000];
              byteRead = iStream.read(buf);
              if (byteRead > 0) {
                   System.out.println("Downloaded Successfully.");
              return buf;   
        } catch (FileNotFoundException fnfe) {
              System.out.println("File not found Exception");
         } catch (Exception e) {
              System.out.println("IO Exception");
    The URL given in the code is for a file which can be a PDF file or an EXCEL file.
    My requirement is when i click the button:
    1. A pop should come (as in Mozilla or IE) which asks if I want to save the file or open.
    2. if i click on save file should save in a particular location.
    3. if i click on open it should open as PDF/EXCEL format and NOT in browser.
    Message was edited by: 1001638

  • How can I download data from icloud using my windows desktop since I lost my ipad

    Can anyone help to show me how to download all the backup I've done in iCloud. I'm force to do this since my iPad was stolen a few days ago.

    You can't view or download an iCloud backup using a PC.
    When you set up a new iOS device, you will be asked if you want to restore from an iCloud backup.

  • Why I cant download movies from itunes using 3g?

    I am trying to download some series from itunes using 3g but its not working only when I use wifi. The same happens with games from apple store. Is there any limit of size to use 3g?

    If you are trying to download on 3G it is just to slow. And some Apps will not download  at all with 3G, they just sit in the "waiting stage".

  • Download images from flicker using RSS....

    Hello,
    I am trying to download images from my flicker account to flex builder. When i search online i got so many API which can do this but i do in different way I want to download images using RSS feed. I want to download RSS (XML) feed which contain all the information about the photos in flicker.
    If we got that RSS feed I can create an array of all the information and i can use it to download images.
    Can anyone tell me how should i connect with flicker using flex to download my images?
    Thank you,
    --Amit

    Hello Shyam,
    Thank you for your reply. The RSS feed i wanted is not there. I want a RSS feed which will give me an information about my photos in my flicker account. Can you tell me which RSS feed should i use. But i think there is an API which will give me what i want. But i don't know how should i use that in flash builder. 
    flickr.photos.getInfo : http://www.flickr.com/services/api/flickr.photos.getInfo.html
    I am new to Flex/Flash Builder so can you please help to find out how should i get my flickr account photo to flash builder.
    Thank you,
    --Amit

  • How do I download videos from facebook using SpeedBit Downloader-Getting error 12029?

    I am using svd2 to download videos from facebook.But I'm getting a msg "Error 12029".How to resolve this problem?
    == URL of affected sites ==
    http://

    Go to the following address for assistance with SpeedBit Downloader:
    http://www.speedbit.com/contact/

  • Download attachments from gmail using javamail

    I want to download the selected attachments from my gmail accout by using javamail.Is it possible?How can i acheive this?
    The actual need is i want to download only the selected files from my attachments.
    Thanks,
    vino

    I have downloaded attachments from my gmail account to local drive by using JavaMailApi.
    i will show the message subjects in my webpage.If i click the subject the corresponding attachment will be download.
    Here i have two questions,
    1)Can i display the attachment files in my page?
    2)I want to download the selected file from an attachment.suppose If i have an attachment with 5 files.
    and i select the 3rd file then the 3rd file will be download.how can i do it?

  • Download data from sharepoint using script

    Hi,
    Can someone please help me and let me know how can i download data automatically from sharepoint server.
    URL - MyDomain.sharepoint.com/_layouts/15/WopiFrame.aspx?sourcedoc=%1-2-3-4%7D&file=MPS.xlsx&action=default
    I want to create a script which would run periodically and download this file to linux server.
    Any help would be appreciated.

    Hi,
    As you said, you want to download files from SharePoint server to your Linux server.
    This can be achieved with the REST service of SharePoint 2013, “developers can interact remotely with SharePoint data by using any technology that supports REST web requests”:
    http://msdn.microsoft.com/en-us/library/office/dn450841(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/office/fp142380(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/office/jj164022.aspx
    For about how to call REST service in Linux, it would be more appropriate to open a thread in the corresponding forum to get more help and confirmed answers.
    Feel free to reply if there are still any questions.
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Can I download songs from iTunes used for my 80GB to a shuffle?

    I want to know if I buy a shuffle can I download songs from my iTunes for my 80GB iPod? Will it mess anything up trying to download to the two separate devices? Also, can I upload my playlist from my 80GB iPod to another computer and then download from that computer to a shuffle?
    Thanks,
    tim

    In the simplest terms, one PC/Mac, many iPods.
    Many PCs/Macs, then you must use manual mode.
    The exception being the Shuffles. They only work with one machine at a time.
    Scott

  • Cannot download messages from .mac using Mail or Entourage

    When I open Mail, it will display the headers, new and old, for messages in all mailboxes on .mac, but if I highlight a specific message, the activity viewer says it is being downloaded, or the cache updated but it never completes and activity viewer stops.. Exactly the same thing happens with Entourage.
    .Mac support says it's not their problem but it seems to me it must be on the server side since 2 apps have the same issue.
    Any ideas? I have tried rebuilding mailboxes, deleting /Library/Mail reinstalling, etc etc
    iMac G5 PPC   Mac OS X (10.4.7)  

    I did wonder if it was a network issue but the same thing happens when I change from my usual dsl/router access to dialup; also I tried using my wife's iBook G4 running Panther and it's the same. I set up Thunderbird and Eudora on my work PC (windows 2000) and they both download an inaccurate list of folder (ie, existing ones plus old ones that have been deleted in the past, as well as some non-existent ones. They also tell me that some folders which exist on the web interface, don't exist). I can then access some messages but not ones in the Inbox.
    That strikes me as some kind of corruption on the .mac side, though I'm no expert. Weird.

  • OmG! Lost entire library, playlists, ratings - last action taken was downloading album from Amazon, using Amazon mp3 downloader...  I have a backup drive, but I don't know what to do.  Please help!

    I used the Amazon downloader for the first time last night.  Today, my entire itunes library vanished:  ITunes opened as if it were a brand new installation, with no content at all.  I had a very large library.  I had 50 playlists. I had many purchased songs from iTunes.  None of it is in iTunes right now.
    I have two problems.
    First, I want to know how and why this happened. 
    Second, I want to know how to restore my iTunes library and iTunes data (ratings, playlists, etc) into iTunes. 
    I have an HP Simple Save drive that is hooked up to the computer, and presumably backed up the iTunes data.  I don't know how to restore it though, and I don't know why this happened.
    Please, dear iTunes Gurus, help me fix this!

    beckijc wrote:
    now do I have to do that everytime i open it? or should i change it somehow?
    No, you should not have to do it everytinme.
    However, as part of your regular backup plan (you do have one, yes?) make sure to backup the entire /Music/iTunes/ folder.

Maybe you are looking for

  • View standard tabs in BP transaction

    Hi Experts,         I have a requirement to view standard tabs on BP transaction which are not visible. For Eg: While Creating Business partner with role as (BP General) I could see the following tabs :- Address , Address Overview , Identification ,

  • Clean Install Mavericks and Restoring files

    Good afternoon everyone, I want to do a clean install of Mavericks on my iMac so I have a fresh system to work with.  Having read all the blogs I think I understand how to actually do the clean install via a USB stick but there appears to be a wide r

  • Can you stitch photos with aperture 2? or is there a plug in to do it?

    Just wondering if anyone knows of a plug in to stitch together photos?

  • Runtime error 1114 for visual c++/ win 7 professional

    After a restore in my pc, during the staring of windows I took a message 'run time error for visual C++' and just after that 'Runtime error Program:C:\program files\iTunesHelpex.exe R6034 An application has made an attempt to load the run time librar

  • Unix Command doesn't work in Tiger

    Hi, I've got labs of eMacs that I'm finally upgrading to Tiger. My image seems to work fine, but I'm running into a weird quirk with my "Send Unix" commands via ARD. We're doing NWEA testing and LOVE the unix commands because we can login to machines