Java Web Start with various java libraries different version.

Hi fellow Java developers.

I have a Java Web Start program that works very well.
My application uses JAX - WS among many other libs.
I would like to continue my support for Java 1.5 as long as possible. JAX - WS is not included in Java 1.5, so I've been packing via start Java web.

Now I wish I had a JNLP file that provides Java 1.5 with JAX - WS, while sending is not the 10 MB for customers Java 1.6 or 1.7. Is there a way to do this?

The problem may be just as relevant within 6 months for Java 1.6 and 1.7 :)

My server applications (Tomcat) doesn't seem to know which version of Java has a client, so he can't provide the a JNLP different version (or y at - it an easy way to achieve this?).

for example
<jnlp>....
    <resources>
     <j2se version="1.5"/>
     <jar href="FastInfoset.jar"/>
     <jar href="http.jar"/>
     <jar href="jaxws-api.jar"/>
....
    </resources>
    <resources>
     <j2se version="1.5+"/>
     <jar "mysoftware.jar" />
    </resources>
    <resources>
     <j2se version="1.6+"/>
     <jar "some_libraries_specific_to_java_6.jar" />
    </resources>
</jnlp>
but it is only beginning of java web on the client displays
<jnlp>....
    <resources>
     <j2se version="1.5"/>
     <jar href="FastInfoset.jar"/>
     <jar href="http.jar"/>
     <jar href="jaxws-api.jar"/>
....
     <j2se version="1.5+"/>
     <jar "mysoftware.jar" />
     <j2se version="1.6+"/>
     <jar "some_libraries_specific_to_java_6.jar" />
    </resources>
</jnlp>
I'd appreciate any suggestions really.

Thank you

Martin.

Published by: mac24nz on June 8, 2011 03:17

You can have nested inside or elements. Extract from record of JNLP 1.6:
«element of resources: a java element can contain elements of nested resources.» If the JRE specified by enclosing the java element is chosen by the JNLP Client, then the resources specified in the nested resources is also part of the resources of the application, other they are ignored. Any element of java in this resource element is ignored. »

Tags: Java

Similar Questions

  • What order to install various parts of different versions of CSs?

    I have:

    First Adobe CS3 Pro

    Adobe CS4 Web Premium

    Photoshop CS5

    InDesign CS5

    5 Lightroom

    What order/sequence should I install in?

    In the upgrade to the Mavericks of OSX, I formatted my hard drive and do a clean install of everything. I had tons of problems in the past with different versions of CSs. I'm currently minimise problems trying to not have first, and the installation sequence seems to be the first place to start.

    My notes 3 years ago:

    The file pcd.db that the Adobe guy had me move (on 12/19/10) had to be put back. They could not give me a reason why he had me remove this file. The only file that needed to be replaced was cache.db.

    Transaction #: 307-588-034

    And before that:

    I installed CS4 CS3 on top. None of the existing applications have been improved, or CS4 applications installed in parallel. The answer, not included in the read me instructions installation, is to uninstall CS3 and CS4 to reinstall. [But that didn't work.] I does everything first install Adobe CS3 Web Premium and first Pro CS3 is not part of Adobe CS4 Web Premium, so I hope for no problem there.

    Why my most expensive software is also most of the dispute?

    John.Brennan wrote:

    I have:

    First Adobe CS3 Pro

    Adobe CS4 Web Premium

    Photoshop CS5

    InDesign CS5

    5 Lightroom

    What order/sequence should I install in?

    Don't think it matters too much, but probably the order you listed in.

    Out of curiosity, have you bought them all individually? that is the version of Photoshop CS5 and Indesign CS5 full after buying CS4 Web Premium?

  • Machines Windows does not start with 2 virtual disks different on 2 different

    Hello

    With the help of esx.3.5.0 update 3

    I have a problem where if I have a new VM to win 7 or Win 2008 r2 with or without vmtools.

    If I reboot it up to 10 times without having to install anything, whether he'll join the black windows loading screen, then restart and then restart and try to start in safe mode, it still does not start.  the machine rendering it useless.

    The single element only on these virtual machines is as follows.

    Windows machines have 2 different virtual disks 1 on a lun, VMFS (vmfs version 3.21 c:) and a RDM VMFS (d :))

    3 questions

    Is it a problem to have 2 different discs with 2 different stores file types?

    Would this questions we see above?

    Also, I thought that you might not? VMotion/clone? a virtual machine if she drives in 2 different places?

    I tested and I can vmotion live VM with records stored on 2 different LUN.

    Hello.

    With the help of esx.3.5.0 update 3

    I have a problem where if I have a new VM to win 7 or Win 2008 r2 with or without vmtools.

    If I reboot it up to 10 times without having to install anything, whether he'll join the black screen windows loading and then restart and then restart and try to start to > safe mode, it will not even start.  the machine rendering it useless.

    Windows 7 and 2008 R2 are not supported in this version.  5 update brings support for these two operating systems.  Go to U5, maybe it's the solution.

    3 questions

    Is it a problem to have 2 different discs with 2 different stores file types?

    Laughing out loud

    Would this questions we see above?

    It is unlikely.

    Also, I thought that you might not? VMotion/clone? a virtual machine if she drives in 2 different places?

    I tested and I can vmotion live VM with records stored on 2 different LUN.

    VMotion requires shared storage.  Local storage would be a problem if you tried to change hosts.

    also would it be a problem if 1 store was running 3.2.1 vmfs and other store runs 3.31 and a v on each disc is used for the VM 1?

    Lol this is explained in KB 1005325.

    Good luck!

  • CAN I VMotion between ESX server with they are in different version?

    Hi all

    I want to upgrade my 2.5u1 to 2.5u3 vCenter, then upgrade my all the ESX Servers 3.5u1 to 3.5u3. VMFS on storage shared SAN and VMotion already activated. My question is if I upgrade the first server ESX 3.5u1 to 3.5u3, can I use VMotion to migrade the 3.5u1 virtual machine remains in the new 3.5u3 updated? Thank you!

    -david

    PS. I had been looking, but too many results or not exactly my scenario. So hard to find one suitable.

    Yes and you can even go to 3.0.2 3.5.3 without a problem. Usually, it is the target CPU model that causes pain when he is not the same.

    http://blog.laspina.ca/

  • Active runtime error editor or any page of jnlp Java web start

    When I try to run the active Editor or Import/Export or pages that runs using Java Web Start jnlp, I get an error. Java Web start 7 starts but he throws "Could not connect to Server. Please check your browser and Java Web Start proxy settings".

    I read different opinions on the internet as to which version of JRE/JDK is required, and potentially a few issues running Java Web start with Java 7. I have 1.7.0_45 of 64 bit java JDK/JRE THAT installed and no other version. I tried to install 1.7.0_45 32-bit as well. I tried to run it from a 32-bit browser like 64-bit also. All situations are the same error.


    However, when I install JRockit, it seems to work correctly. But we cannot use jrockit. You must use IBM JDK/JRE 7 subsequently. Currently, the java web start does not work on Oracle Java as well as IBM JRE.

    Any help is very appreciated.

    I found a solution for this problem. We need to apply the hotfix 17634436.

    https://support.Oracle.com/epmos/faces/UI/patch/PatchDetail.JSPX?_afrLoop=149081897091441&patchId=17634436&_afrWindowMode=0&_adf.CTRL-State=xfsajjmff_74

    Just thought that it will be useful for all those who encounter this problem.

  • How to set up a Java Console for Java Web Start app

    I run a Java Web Start application. I need to debug using the Java Console. After upgrading my system, the Java Console is no longer happens with my application, although "Show Console" is always defined in the Java Control Panel.

    This has happened

    Each time Firefox opened

    == I have improved my system, including the version of FireFox

    I forced the Java Web Start to use jdk1.6.0_18 and the console comes up. However, as I need to debug what my users are using, I wish I could have the console when I use jdk1.5.0_22. I would really like to know if it is a FF problem, a problem of JWS or Fedora!

  • Java Web Start application runs under jre8u40 but not jre8u51

    We have a Java web application that uses javaws. It runs very well under the update of Java 8 40, but under the update Java 8 51 jp2launcher.exe stops right, without launching the application.

    • I found the papers in C:\Users\me\AppData\LocalLow\Sun\Java\Deployment\log, but they are identical between j8u40 and j8u51 (except of course for the order of pots are loaded, the version of jre and the start time).
    • I connected the launch using Process Monitor for the two versions of jre. Under j8u51, jp2launcher.exe ends with just the result of 'SUCCESS' Comparing the two newspapers procmon, I can't choose anything unusual. They have both search in the directory C:\Users\me\AppData\LocalLow\Sun\Java\Deployment and their respective C:\Program Files\Java\jre1.8.0_XX\lib directories and others like, but then the j8u51 there is only.
    • The Windows event logs show any what that touch of Java.
    • I managed to run the jnlp whose value "JAVAWS_VM_ARGS = - Xcheck:jni - XX: - TraceClassLoadingPreorder - XX: + PrintCommandLineFlags-verbose: jni-verbose: class - verbose: gc - XX: + PrintGCDetails-Djava.util.logging.config.file=C:\misc\logging.properties" and connect the stdout/stderr. It looks like an end to newspapers javaws and jp2launcher for versions of the output, then both jre8u40 and jre8u51. Probably in the j8u40 version it launches another jp2launcher.exe to run the application.
      • Comparing newspapers two output gives nothing interesting. Classes are loaded in almost the same order, for the most part identical classes other than the few differences that are explained easily by just be more up-to-date used classes.
    • Finally, I was able to launch the application directly, using java.exe, by getting the customer their unpacking and installing the server files. The application itself works fine in jre8u51, so the problem is definitely javaws himself.

    I find very little documentation on the inner workings of Java Web Start and no documentation at all on jp2launcher.exe. Can anyone suggest what could go wrong here, or other diagnostic measures I can take?

    e: sorry for the strange user name. I tried to change it in my profile, but the forums don't seem to accept the change.

    Hi people.

    I managed to find the solution. There are several factors that interact and I think one of them is a bug in Java Web Start.

    Please see full report at http://stackoverflow.com/questions/31556273/java-web-start-application-runs-under-jre8u40-but-not-jre8u51

  • Using Java libraries

    Hi all

    I have a simple question. I am using mail library of some j2ee at my request. It works well. I used a lot of things like that.

    My question is, is this a good practice?


    Thank you

    Vinay

    Of course, the library of j2ee javax mail is very good.
    Access to a wide variety of Java libraries is one of the main advantages of JavaFX development.

    Things to consider in choosing libraries are:
    -What is the learning curve of their API for you and other developers?
    -How to introduce this library will affect (positively and negatively) the architecture of my solution?
    -are the features beneficial to your needs?
    -How is the stability and the support of the library?
    -What is the size of the library for web deployments?
    -What are the requirements of privilege for sandboxed applications?
    -What are the other dependent libraries your chosen library can bring along for the ride? (beware the kitchen sink, unless you need clean dishes)
    The learning curve and complexity introduce some libraries as well as their architectural impact is the most important and often the review underestimated.
    Many libraries is in fact frameworks that define the format of your solution, so, in this case, you need to be comfortable that you want to format that they define.
    Sometimes less can be more. For example, using a small library for JSON manipulation via a connection HTTP for client-server communication rather than a large number of WS-* SOAP libraries is much simpler for developers to understand and often gets the job done easier - even if WS-* libraries provide many more features that may seem so much better on paper. Curiously, it sometimes takes years allowing developers to do this.

    For many, many things, you will produce a better product more quickly with a good library to try to build things yourself - today the world needs to be built with glue more than wood.
    Then you turn your attention to the implementation of features like a great user interface or a storage interface smart google app engine mail rather than re - implement, perhaps wrongly, an smtp e-mail client.

  • Everything was fine until my Windows 10, lost the start feature, if I ever go back to Windows 7, in this process, I lost my Adobe Reader software, I tried about ten times with different versions and different locations, all with the same download error

    Please forgive me for not knowing how to use this forum, I am an old man and not good at computers, I called Adobe, they said it was my only hope!

    Sorry to repeat

    Everything was fine until my Windows 10, lost the start feature, so I had to go back to Windows 7, in this process, I lost my Adobe Reader software, I tried about ten times with different versions and different locations, all with the same error message that is download "the feature you are trying to use is on an unavailable network resource"... are looking for It seems that it does not find when I search there, and I no longer seem to have the AcroRead.msi... the most difficult file, I try, I get deeper and deeper into things I don't know... I am looking for a simple solution!

    When it gets to this point, it is probably better to start from scratch.

    First of all, download, install and run Adobe Reader cleaning tool to get rid of all remains little. Here is a link to the tool: Download Adobe Reader and Acrobat tool - Adobe Labs

    Then go to the following link to download the full installer for the reader.

    https://get.Adobe.com/reader/Enterprise/

  • How do I register a very old acrobat from adobe and then download the upgrade? It seems that the serial number is not consistent with the serial number required by the adobe Web site. My serial number starts with the letter instead numbers.

    How do I register a very old acrobat from adobe and then download the upgrade? It seems that the serial number is not consistent with the serial number required by the adobe Web site. My serial number starts with the letter instead numbers.

    Please see:

    Redeem your student and teacher edition purchase, convert a redemption code to a number of series and much more .

    I hope this helps.

    Concerning

    Megha Rawat

  • When I rename my image (F2), I don't want to start with 1, but with a different number.

    When I rename my image (F2), I don't want to start with 1, but with a different number. I chose "number of images (0001)", concatenated with other data.

    I found a help of ambient light that says to change the "bib" but I can't find this setting. Where is it?

    Thanks for your help

    Hi carcala,

    When you go to Photo rename (F2), you must choose the Custom name - sequence in the menu drop-down

    You can enter the starting number according to your choice.

    Kind regards

    Claes

  • Hi, I'm rookiee and I just started with the first steps of creating a Web site. the katies-coffee-building file is on my desk and uplouded in the library. That has worked well. Now I'm putting the button in Photo Shop (banner), I have pull down on file/pl

    Message "Hi, I'm rookiee and I just started with the first steps of creating a Web site. the katies-coffee-building file is on my desk and uplouded in the library. That has worked well. Now, I'm putting the button in Photo Shop (banner) in. I pull down on the file Photo Shop button instead and try to select the Banner.psd file. Unfortunately all of the (active) folder is not accessible to all. One is not visibel. Please - need some help here. Thank you.

    @Ach ja, meine Muttersprache ist Deutsch

    You must use the file > Place Photoshop button (Cmd / Ctrl + B).

  • Hello. I started with the DPS. Is it possible to publish a magazine for a limited specific target group? For example, in a Department of a large company? Or for the heads of the different services? If so, how should I do? Thank you for your help.

    Hello.

    I started with the DPS. Is it possible to publish a magazine for a limited specific target group? For example, in a Department of a large company?

    Or for the heads of the different services? If so, how should I do? Thank you for your help.

    The short answer is Yes.

    Click on the request of consultation in link Digital Publishing Suite help | DPS pricing options to receive a quote for your project of the DPS license.

  • Animation of edge in an existing Web page with the assets of edge in a different folder

    Possible is defined in the publication of 'web' settings, the full path of the assets of edge?

    I would like to insert the edge animate Web pages with 'php include', but every time I need to manually change the path in the js files (... _edge.js... _edgePreload.js) does not work otherwise.

    Thank you.

    Yes I know, if you want your edge files to publish in another folder that the default you must do it manually, there are no other options in the settings of export now. I do it like this for the moment.

    What you can do if you do not want to rename and edit your files after every change, is to work with a "temporary folder".

    So for example, you can change your file as much as you need and then when you think it's ok, you just replace the edge files that have been changed.

  • Getting started with Dreamweaver on existing web sites and several developers

    The company that I work has two existing web sites; an one site of 'brand', which is the most often text and graphic content, the other an ecommerce with a lot of .NET components site. We have three people working on the sites now, two on the content, code, and a couple of outside contractors. (I'm the coder). Two guys contained both use Dreamweaver, but mostly just for editing HTML on the live sites. As we moved into a situation of development more demanding and added more than players in the game this approach seems undesirable.

    Can someone point me to a resource that deals with existing websites in Dreamweaver and using Dreamweaver features to help manage a multi-developer project, on several sites?

    I have a chapter in the Bible of CS4 Dreamweaver called Web sites with a team that covers a lot of what you are looking for including the standard Check-In / Check-Out, Design Notes, reports, help, Visual SourceSafe and Subversion.

    Best - Joe

    Joseph Lowery

    Author, Dreamweaver CS4 Bible

Maybe you are looking for