Integrating Java Webstart feature at later stage?

Hello All,
It's me again with more query.:) I have a requirement now that I don't want to deploy my application using Java WebStart. Imagine the application is already installed on my system from the last 1 year. At that time Java webstart was not used for deployment but now I want to use webstart just for automatic update. Is it possible to integrate this automatic update feature at later stage? By using plugin or smthing else? Please show some light.Many thanks in advance.

Hello Luca-Sanna ,
Yesterday only I got solution for this. I referred this link
"http://today.java.net/pub/a/today/2008/07/10/distributing-web-start-via-cd-rom.html" I am little confused about this point "Jar shouldn't get re-downloaded". Actually what I am doing is , I am just copying my jars in JWS cache using this command "javaws –codebase <application-path> –import <application path>/<xxxx>.jnlp." I also copy a JNLP file in my installation folder of my application where all my jars are present. So now when I click on JNLP & launch the application & if updates for jars is available server side, it should re-download the jars. Right?
One more thing what is the problem with desktop shortcut?

Similar Messages

  • Java Webstart in Windows 7

    I have a Java Webstart application running on a Windows 7 Laptop. An Apache Tomcat webserver is also installed on this laptop so everything is self contained. When the laptop is not connected to a network and I start the application, Webstart gives me two instances of the application. When the laptop is connected to a network, I get one instance.
    I also have an identical installation on a Windows Vista PC. Irrespective of whether or not this PC is connected to a network, I always get one instance of the application when I start it.
    I would like to hear from anyone who has noticed similar behaviour and whether they have an explanation and whether they can advise if this is a 'bug' or a 'feature'.

    Thanks a lot for your reply.
    but no luck. still nothing happens.... javaws just dies without logging anything?
    maybe its a security problem?
    here is the system event log again:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2012-10-01T18:41:12.000000000Z" />
    <EventRecordID>3719</EventRecordID>
    <Channel>Application</Channel>
    <Computer>XXXXXX</Computer>
    <Security />
    </System>
    - <EventData>
    <Data>javaws.exe</Data>
    <Data>10.7.2.10</Data>
    <Data>503d8a47</Data>
    <Data>javaws.exe</Data>
    <Data>10.7.2.10</Data>
    <Data>503d8a47</Data>
    <Data>c0000417</Data>
    <Data>00011d9c</Data>
    <Data>16c0</Data>
    <Data>01cda004542d62eb</Data>
    <Data>C:\Program Files (x86)\Java\jre7\bin\javaws.exe</Data>
    <Data>C:\Program Files (x86)\Java\jre7\bin\javaws.exe</Data>
    <Data>92310d7c-0bf7-11e2-bd20-6cf049e5f1f7</Data>
    </EventData>
    </Event>
    Edited by: 962394 on 01.10.2012 11:44

  • How to launch a Java WebStart application with older JREs when Java 7u25 is on the client?

    How can I launch older versions of my Java WebStart application, that are built and run with Java 7u21 or earlier, even if Java 7u25 is installed locally on the client? Application launch and behaviour must be reliable and consistent.
    Background:
    As of 7u25 (and later), Java Webstart applications launch with a different class loader than pre-7u25.
    My Java Webstart application has supported versions that were built with older versions of the JDK (e.g. Java 5, 6, 7u21 or earlier). These applications run with their required JRE version, enforced through JNLP. Once Java 7u25 is installed locally, these older applications fail to launch, due to classloader differences.
    The question is: what is required to run older Java WebStart applications even if 7u25 (or later) Java Webstart is installed locally on the client?

    I confirm your findings when using shortcuts to try specific versions of JavaWS with 7u25 or later installed:
    JRE 5u14 launched and the classloader was as pre 7u25
    JRE 6u43 would not launch
    JRE 7u21 launched but the classloader was not as pre 7u25
    You can launch the shortcut with the JavaWS -verbose option to display a messagebox with valuable information.
    I am keeping a close watch on this thread.

  • Different versions of Java webstart and Java Runtime Environment

    Hi I am using a thin application client (swings application) which is downloaded as a jar file using Java Web Start. The earlier version of the application was deployed on the server and client using the version 1.5.0_09. Due to some performance measures we are changing the Client version of JRE to 1.6.0_03. Will this really help??
    The approach we are following is bit confusing.
    First we are launching the application in JRE 1.5.0_09 and creating a shortcut for that (WebStart shortcut). Later we are changing the Java Web Start version from 1.5.0_09 to 1.6.0_03 in the shortcut.
    And of course also changing the JNLP j2se version tag to 1.6
    The application we are launching using this shortcut but its throwing FailedDownloadException : Unable to Load Resource hxxp://ascdcf.....*.jnlp
    The funny thing is when i launched the same shortcut using the 1.5.0_09 version i.e. only the WebStart version as 1.5.0_09 and the JRE on client as 1.6.0_03 the application starts.
    I searched about this and came to know that webstart just deploys the application jar on the client in a browser independent form and then it is run on JRE. If thats the case (and if i am right) then Webstart version can be anything only the JRE version should be the latest as specified in the JNLP. Can anyone give me suggestions in this regard???
    Also if this approach is correct where will we get more performance???
    1. Is it running application on updated JRE Version i.e. 1.6.0_03
    2. Or on updating Java Web Start i.e. 1.6.0_03 (curretnly which is not running)
    Also the Java Web Start is a part of JRE then where does this lead to....???
    I am just an amateur with great doubts.....kindly help......

    Hello,
    I suggest you really read, understand and trial-and-error the following previously suggested solutions;
    http://stealthpuppy.com/juggling-sun-java-runtimes-in-app-v/
    http://packageology.com/2014/02/sequencing-java-the-definitive-guide-part-1/
    http://packageology.com/2014/02/sequencing-java-definitive-guide-part-2/
    http://packageology.com/2014/02/sequencing-java-definitive-guide-part-3-restricting-access-insecure-java-versions/
    Nicke Källén | The Knack| Twitter:
    @Znackattack

  • Unable to open Java Webstart jnlp files in Mavericks

    Since upgrading to Mavericks I am unable to open Java webstart jnlp files in Safari.
    When trying to open the specified URL with the jnlp file, nothing happens, the download simply will not start.
    Tried different security settings in Safari & Java control panel
    It affects all applications using webstart.
    Java 7.45 & iOS 10.9

      Can you check which version of Camera Raw is installed - it needs to be version 6.2 or later for the 60D
    Open Full edit on the menu bar click:
    Help >> About Plug-In >> Camera Raw
    Press Esc to close the pop-up.
     

  • Java webstart on Mac OS9.2

    Hi I have a java webstart application that uploads files to my website, I now have 2 people that want to upload to my site that are running mac OS9.2.
    They both seem to be having the same problem as that the java application just does not start. They both have Mac OS runtime for Java 2.2.5 installed
    Can someone give me some clues as to what may be going wrong and where to look on a mac as I have never owned one and have no idea.
    Thanks
    Dean

    http://www.versiontracker.com/dyn/moreinfo/macos/377&vid=381
    From that site:
    Mac OS Runtime for Java (MRJ) is Apple's implementation of the Java Virtual Machine (JVM), based on Sun Microsystems' Java 1.1.8 specificationAlso from that site, there is a version 2.2.6 (fixes some Oracle bug)
    If you need anything other than 1.1.8, your only option is to ditch 9.2 (which is 5+ years old at this stage!) and get OS X

  • PI 7.1 ESR and Java Webstart very slow

    Hi,
    I have been using the PI ESR and IB on the snow leapord OS with Mozilla and Safari browsers. The java webstart seems to be very slow  and working on the ESR objects is sometimes a pain as it takes long time to save , activate or change and sometimes I end up java heap space issues although we are running at a 2 gig heap size. Is it only me or is anyone else facing the same issue?
    Is it time to go back to good old windows XP? or can this be fixed in Mac ...I love my Mac for other reasons though...:)
    Teresa

    Hi,
    >>>serverXXXPI71
    add this server info with related IP address into your hosts file
    and it will work
    Regards,
    Michal Krawczyk

  • CS3 JS create textFrame with label then change content at a later stage.

    Is it possible to select a textframe by label?
    Here is a simple script which creates 2 text boxes labeled JSLabel and JSLabel2.
    var myDocument = app.documents.add();
    var myTextFrame = myDocument.pages.item(0).textFrames.add();
    myTextFrame.geometricBounds = ["6p", "6p", "24p", "24p"];
    myTextFrame.contents = "Hello World!";
    myTextFrame.label = "JSLabel";
    var myTextFrame = myDocument.pages.item(0).textFrames.add();
    myTextFrame.geometricBounds = ["8p", "8p", "24p", "24p"];
    myTextFrame.contents = "Hello World Again";
    myTextFrame.label = "JSLabel2";
    Here is a script you can run at a later stage to change the content of JSLabel textframe.
    if (app.activeDocument.textFrames[1].label == "JSLabel"){
    var mySelect = app.activeDocument.textFrames[1];
    app.select (mySelect);
    mySelect.contents = "Text has been changed.";
    Rather than using if (app.activeDocument.textFrames[1].label == "JSLabel") can I just select the textframe labeled JSLbel and change the content?

    Just bear in mind that if you have multiple frames with the same label, they'll all be affected if you set the content.
    Dave

  • Jar files download problems in Java Webstart with JRE 1.6

    We have encountered a few problems in Java Webstart with JRE 1.6
    In JRE 1.5, the jar files are getting downloaded onto the client
    machine with it's original names.
    Example :
    Server File Name : acm.jar
    Client File Name : RMacm.jar
    But in JRE 1.6, the jar files are getting downloaded with improper file names.
    Example :
    Server File Name : acm.jar
    Client File Name : 4fb074cc-66fc7407
    Moreover the path itself seems to be invalid.
    Example Path :
    JRE 1.5 path:
    C:\Documents and Settings\Administrator\Application
    Data\Sun\Java\Deployment\cache\javaws\https\D17.16.23.11\P443\DMtest\DMwebStart
    JRE 1.6 path:
    C:\Documents and Settings\Administrator\Application
    Data\Sun\Java\Deployment\cache\6.0\12
    Due to this, we are facing Classpath problems.
    What changes do we have to make to the code, for Java
    Webstart to work ?
    We are using JBoss 4.0.4 and JDK 1.5 in the Server
    On the client machine, we have IE 6 and JRE 1.6.01
    Help would be appreciated.

    Ask your Java Web Start question at:
    http://forum.java.sun.com/forum.jspa?forumID=38

  • Java webstart proxy bypass not working

    java webstart does not work through proxy as the jar files is not getting downloaded. most simple solution would of course be to bypass the proxy for the target server (by entering the server in the system network preference panel). however, that does not work. apparently this bypass is not taken into account by java webstart.
    if i remember correctly there once was a possibility to set such things (proxy etc.) in java webstart preferences. this is not existing any more.
    how can i solve the problem?
    tia
    tobias (very desperate)

    Hi,
    Thanks a lot for your reply, Prateek.
    I have already checked SAP Note 1142580 - "Java Proxy is not processing messages in parallel" where they ask to modify the ejb-jar.xml. However, on performing the change in ejb-jar.xml and while building the EAR, I get the following error:
    Error! The state of the source cache is INCONSISTENT for at least one of the request DCs. The build might produce incorrect results.
    Then, on going through the SAP Note 1142580 again, I realised that the SAP Note 1230721 also should be looked onto which will be needed for generating the Java proxy from Message Interfaces in IR for parallel processing.
    Kindly help me if any of you have worked on such a scenario.
    Thanks in advance,
    Regards,
    Rosie Sasidharan.

  • The steps to enable Java Webstart in OSX Mavericks are not working.

    The steps located here:  http://support.apple.com/kb/ht5559 are not re-enabling the Java Webstart for Java 6 in OSX Mavericks.  I have tried all four steps about 20 times and looked at all the settings in all my browsers (chrome, safari, and firefox) and all say "missing plugin" when I go to any website that requires Java -- in this case, the NY Times Crossword Puzzle's "solve with a friend", which is incompatible with Java 7 so upgrading does not help me.  I've tried searching for other answers and all keep directing me to the same four steps that have not worked.
    A note, those steps worked when I had the same problem after upgrading to Mountain Lion.  Should something be altered for Mavericks?
    Please advise.

    You'll possibly need to remove Oracle Java altogether before, see these notes on their WebSite:
    http://www.java.com/en/download/help/mac_uninstall_java.xml
    After you remove it, go through the steps to re-enable Apple Java again; and, inside Safari, you can also go to its menu and choose "Reset Safari".
    Hope this helps.

  • How to use Java WebStart with EJB ?

    hi forum...
    how to use Java WebStart with EJB ? examples ?
    thanks
    mindu

    Greetings,
    hi forum...
    how to use Java WebStart with EJB ? examples ?Well, for starters these are complementing, not 'cooperating', technologies. I presume, since EJB's do not - directly, at least - communicate with a web browser, that you intend for "Java WebStart" to somehow invoke an EJB?? Java WebStart is a technology for running client-side (Java) applications from the web browser - perceptively, the application resides on the server, but technically it, like an applet, is downloaded to the client and run there. Unlike an applet, however, it is not constrained by "sandbox" restrictions and does not have to be re-downloaded each time it is invoked - though the process allows for automagically updating the client-side with new versions of the application. ;) So, with this in mind, to "use Java WebStart with EJB" means little more than deploying an EJB client application with Java WebStart as the distribution channel.
    thanks
    minduRegards,
    Tony "Vee Schade" Cook

  • Why Do We Need Java Webstart For XI

    Hi All,
    Can Any Body Please Explain me Why We Need Java Webstart For XI.
    What is the Use of it in XI.
    Please Let me Know
    Regards
    Babu

    Java web start is a technology by Sun Microsystems which enables running thick clients developed in Java after they are downloaded from the server and / or cached on the local drive...
    XI IR & ID are thick clients developed in Java which communicate with the XI server using EJB based communication and Java web start makes it possible to download / cache them and trigger point to run them...more on Java web start here -->
    http://java.sun.com/developer/technicalArticles/WebServices/JWS_2/JWS_White_Paper.pdf

  • Servlet Communication with Java WebStart

    Hi there,
    we have an application that works fine with Java WebStart whenever we start it in a local area network. But from outside the LAN the application cannot communicate to it's servlets. I use the codebase IP address with the servlet runner's port (http://<codebase IP>:port/) as URL for servlet communication, but the application's request never reaches the servlets.
    My question is now, if anyone had the same or a similar problem with servlet communication using Java WebStart, or if anyone knows, if that might be a problem with proxy configuration.
    The servlet runner we use, is JServ from Sun (JSDK2.0) and the webserver where it is running on is not behind a firewall or a proxy, but the client PC with the web start application is.
    Thanks,
    Katja

    Thank you for your early reply. But I think, that's not the problem.
    I get no security error and the webserver is identified the same way it is in the jnlp file. Also my application is not running in the Sandbox. My assumption is, that the http-request to the servlet does not go through the proxy server between my PC and the PC the servletrunner is running on.
    I wonder if I have to configure my application to use a proxy server for communication with the servlets instead of the direct http-request to the servlet runner?

  • Java 6 Update 12 64bit Java Webstart documentation

    I notice that 64bit 6 Update 12 comes with 64bit version of Java Webstart - I am just wondering whether there are any documentation on how 64bit Java Webstart works? For example:
    1) By default it will use the 64bit JRE to launch an application. What if an JNLP embedded some 32bit JNI DLLs that requires the use of 32bit JRE?
    2) How can an app specify larger heap if it runs on 64bit host, but less on a 32bit host?
    3) Is there any new extensions to JNLP to support 64bit Java?
    Thanks.

    1.) The initial release of the 64 bit version of javaws will work only with 64 bit JRe's. There is no support yet for mixing.
    2.) You can specify different dlls for use with 64 bit and 32 architectures just as you can with operating systems as follows:
    <resources>
    <java version="1.6+"/>
    <jar href="myapp.jar" main="true"/>
    <resources os="Windows" arch="i586">
    <nativelib href="mydll32.jar"/>
    </resources>
    <resources os="Windows" arch="amd64">
    <nativelib href="mydll64.jar"/>
    </resources>
    </resources>
    3.) There are no new JNLP extensions.
    /Andy

Maybe you are looking for