Jre-6u22 and greater breaks java webstart 1.4.2_11 application

I have a java web start application that actually worked in jre-6u18, but but definitely breaks with the jre-6u24 and I suspect any other jre greater than jre-6u21. The reason I suspect this is because a buddy of mine also experienced a similar issue and determined the breakage for him was between jre-6u21 and jre6-u22. I have tested in pristine environments and found breakage between jre-6u18 and jre-6u24 only because I do not presently have any of the versions in between to test.
Here are the details:
The JNLP file is configured to autodownload <j2se version="1.4.2_11*" href="http://java.sun.com/products/autodl/j2se" initial-heap-size="64m" max-heap-size="256m"/>
The launch attempt successfully downloads and installs this JRE in both 6u21 and 6u24.
It has been re-written from spec="1.0" to spec="1.5" and when I try to run it directly with the 1.4.2/javaws/javaws.exe it breaks with error stating that it is incompatible with spec="1.5" and to use a more up to date JVM.
When launched with jre-6u18 it installed the j2re1.4.2 and continued to fail to launch the application initially, but succeeded to launch it on a second attempt.
When launched with jre-6u24 it installed the j2re1.4.2 and ultimately failed on any consecutive attempt as well as the initial attempt usually with the following console output:
Java Web Start 1.6.0_24
Using JRE version 1.4.2_11-b06 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\smithj
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to <n>
FATAL 2011-04-08 14:42:03,441 [javawsApplicationMain] (JavaApp.java:1086) - Error starting JavaApp
java.util.MissingResourceException: Can't find bundle for base name my.co.pkg.myprops, locale en_US
     at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
     at java.util.ResourceBundle.getBundleImpl(Unknown Source)
     at java.util.ResourceBundle.getBundle(Unknown Source)
I compared the differences between the properties of the shortcuts that got created for the successful one and the unsuccessful one and they seem identical except for a minor cache difference as follows:
C:\WINDOWS\system32\javaws.exe -localfile "C:\Documents and Settings\smithj\Application Data\Sun\Java\Deployment\cache\6.0\39\3a08ece7-75d85e43"
C:\WINDOWS\system32\javaws.exe -localfile "C:\Documents and Settings\smithj\Application Data\Sun\Java\Deployment\cache\6.0\39\3a08ece7-5657ebe9"
Has anybody else experienced this type of breakage? Does anybody else have an answer, solution, or suggestion other than "upgrade your 1.4.2 app"?
thanks in advance.

851004 wrote:
..It has been re-written from spec="1.0" to spec="1.5" ..Who changed it, and why?
..Does anybody else have an answer, solution, or suggestion ..?I suggest:
<ul>
<li>Change the spec. number back to something that 1.4 JWS claims to understand (i.e. "1.0").
<li>Checking the launch file using JaNeLA
</ul>
Edited by: Andrew Thompson on Apr 9, 2011 7:54 AM

Similar Messages

  • JRE 8 and Locale.setDefault(), java 8 update 5, Windows 7

    Hello,
    I have simple question that i can't resolve.
    I am working on JavaFX application in which I am using DatePicker. This part is not important.
    My date picker is formating date based on my Windows 7 OS Regional and Language settings(Formats).
    This part is now relevant:
    In order to try to make my app Regional independant, and show date format always as US, I only once used this line of code:
    Locale.setDefault(Locale.ENGLISH);
    Here is problem:
    Now when I remove this line of code "Locale.setDefault(Locale.ENGLISH)" my application is no longer able to get Regional format from my Windows 7 OS Regional and Language settings(Formats). Locale informations are permanently lost in JVM. Things are even worse, because my JDBC connection is not working now, and it reports:
    java.sql.SQLException: Locale not recognized
      at oracle.jdbc.driver.T4CTTIoauthenticate.setSessionFields(T4CTTIoauthenticate.java:1006)...
    How can I revert to old JVM behaviour, and get Locale information from my Windows 7 OS Regional and Language settings(Formats) automatically? Any help?
    The application now is only working when there is Locale.setDefault(Locale.ENGLISH); line in code.

    I am constantly using JRE8. Now
    Locale.getDefault(Locale.Category.DISPLAY) returns en_US which is OK
    and
    Locale.getDefault(Locale.Category.FORMAT)? returns bs_BA_#Latin witch is something I set wrongly with my Locale.setDefault.
    I think that this bs_BA_#Latin. How can I repair this and make JRE8 read Locale settings from regional settings?
    Many thx

  • How can I compile and run other java classes from within an application?

    Hello there everyone! I really hope that someone can help me. I am writing a program that must be able to compile and run other java classes that are in different files, much like development environments like Kawa or Forte allow you to do.
    There has to be a way of doing this ( I hope!! ), but i can't seem to find it!!
    I have tried using this command to compile:
    Runtime.getRuntime().exec ("c:\\programs\\javac className.java");
    ...and this one to run:
    Runtime.getRuntime().exec ("c:\\programs\\java className");
    ...but neither works!!! I can compile and run classes that are in the same file as my application, but I can't get it to work at all for files in different directories or files.
    PLEASE, PLEASE, PLEASE help me - i've run out of ideas, and i need this to be working in 3 days!!!
    Thank you very much for any help anyone can give me, I really appreciate it!! Thanks again!!
    Adrian ( ...in distress!! )

    public class JavaCompiler{
       public static void main(String[] args)throws Exception{ //sorry bout the laziness
          if(args == null || args.length != 1){
             System.out.println("Usage: java JavaCompiler MyClass.java");
             System.exit(0);
          String className = args[0];
          Runtime rt = Runtime.getRuntime();
          Process p = rt.exec("javac " + className); //consider setting cpath for this
          p.waitFor();
          //now try to run after it is done.
          p = rt.exec("java " + className.substring(0, (className.length() - ".java".length()));
          p.waitFor();
          //do some other stuff
    }This should get you going. You may consider looking into the System.getProperty() method in order to determine the type of OS it is running on in order to findo out what command to run. I know that the sun tool listed above is nice, but by my understanding the sun tools provided are not guaranteed to stay the same. I'm no expert on this matter, but that is one of the reasons there is no API documentation for those tools. Also, I don't believe those tools come packaged with the JRE. (Of course if you are making an IDE it will be expected that the user has an sdk installed. Good luck with figuring this thing out.

  • JRE-6 and J2RE-1_4_2_13.

    February 04, 2006
    Hai!
    What is the difference between jre-6-windows-i586.exe and
    j2re-1_4_2_13-windows-i586-p.exe?
    Best Regards,
    Kartheek D. N.

    Hai!
    The URLs are -
    1. http://java.sun.com/javase/downloads/index.jsp for JRE-6 and
    2. http://java.sun.com/j2se/1.4.2/download.html for J2RE-1_4_2_13.
    Read the README docs, it's almost the same.
    Best Regards,
    Kartheek D. N.

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

  • 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

  • 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

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

  • 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

  • HT5246 The above info is confuses me.  I thought this trojan horse affected those who had Java (JRE) up and running  i.e.,Safari security Java checkbox enabled.  I also believed this Trojan horse affected those using Snow Leopard. Clarify please.

    The above info re the Flashback removal tool confuses me.  I thought this trojan horse affected those who had Java (JRE) up and running  i.e.,Safari security Java checkbox enabled.  I also believed this Trojan horse also affected those using Snow Leopard. Clarify please.

    There are several variants of the trojan. The first ones were released as installers for Adobe Flash and therefore did not require you to have Java on your system. Later variants took advantage of a Java vulnerability and could install themselves by simply visiting a rogue Web site. Therefore, even without Java installed if you had run a rogue updater for Adobe Flash or Reader, then you might have installed the trojan.
    The trojan also affects Snow Leopard and prior versions of OS X (so far the code is known to be intel-only, but this is unconfirmed), but Apple has only issued patches for supported versions of the OS (version 10.6 or later).
    Apple's removal tools run in OS X 10.6 or later if you instlal the Java update, and the standalone removal tool is for Lion only. Why Apple does not offer options for other operating systems is beyond me, but that's the way of things. Right now there are other tools you can use to check for and remove the malware on versions of OS X that Apple does not support: http://reviews.cnet.com/8301-13727_7-57413811-263/flashback-malware-removal-tool -roundup/

  • The difference between Java webstart and Java Applet?

    Hi all!
    I'm preparing deploy my application. But I'm in two minds I should deploy My application follow Java Webstart model or Java Applet Model.
    if i deploy application by using Java webstart then what will I get benefit? and otherwise?
    Could you tell me some advices?
    Thanks!

    Applet runs in the context of a browser, Webstart requires a small piece of software to be installed on the client and then when you click on your link/icon webstart downloads your application from the server and runs as a Java application (not within a browser).
    Regards
    Grant Ronald
    Oracle Product Management

  • ComponentUI - How-To differences between Java 6u22 and later?

    Hello,
    i've implemented some special-paint-methods using ComponentUI-classes.
    I've only tested this against java 6u22 on Windows.
    Now my first user showed me that it doesn't work with java 6u25.
    After installing 6u25 on my computer, I get the same result.
    Mostly the frame and its children isn't repainted correct and the menubar isn't painted.
    I tried to debug this with Eclipse hoping to get some exceptions, but none occurred.
    Then I goggled to find any readme/changes/howto-modifications.
    But again, I found nothing!
    Can someone point me to that documentation please?
    Thanks in advance
    mimo

    gimbal2 wrote:
    Don't let the fact that something works under Java version X and not under Java version Y fool you into thinking this is a problem with Java version Y...I'm totally sure, that it's not a problem with the Java version but instead with my understanding of the howto! Sorry if my english was not correct enough!
    gimbal2 wrote:
    ...there is a bug in your code that does not happen to show up in the older version, but it is still there.That I know, but was hoping, that some readme changes from java 6u22 to 6u25 would help me to find that buggy code even faster!
    Thus I wanted to know, where I can find the "readme changes from java 6u22 to 6u25"! Any help with the link would be much appreciated! I wasn't able to find that myself so far!
    gimbal2 wrote:
    ..I suggest you create a minimal version of your application that demonstrates the problem, probably in the process of doing that (shouldn't take more than 30 minutes) you will figure out what you are doing wrong.I'm working on that right now, but the problem is to extract that minimal version, because there is much original code!

  • Java WebStart and Mac OS X 10.8

    I'm a bit afraid that Java WebStart applications are encountering a problem with the latest OS X release because of the Gatekeeper settings preventing Java WebStart applications from running. Is it really true that if an application is not signed with an apple developer id that it will no longer be allowed to start unless changes are made to the Gatekeeper settings?
    https://blogs.oracle.com/talkingjavadeployment/entry/java_applications_and_gatekeeper
    http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/mac-faq.html#gatekeeper
    If this is the case then of course my question would be how can I additionally sign my webstart application built with maven on windows with a free apple developer id?

    doing a test app where you replace the .png with a .jpg might be a good idea. If you do not have a "test app", you probably should for JWS. It does not have to do much.

  • Java\jdk1.6.0_02\jre\lib\ext\mysql-connector-java-5.1.16-bin.jar was unexp

    Hello, please i am new to Jdeveloper and weblogic servers and i developed an application using jdeveloper and when i try to run the application it brings up this error message
    "*** Using HTTP port 7101 ***
    *** Using SSL port 7102 ***
    C:\Users\Lucky\AppData\Roaming\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    \Java\jdk1.6.0_02\jre\lib\ext\mysql-connector-java-5.1.16-bin.jar was unexpected at this time.
    Process exited."
    I tried deleting the jdk1.6.6.0_02 and tried it again but it still did not run, I also uninstalled the JDeveloper and weblogic server and reinstalled them but the error message still pops up. Please i need help to fix this.
    Thanks.
    Edited by: Chinedu on Feb 21, 2013 8:48 AM

    Andrew,
    Thanks for the lightning response... but the problem has been solved.
    I rebooted again, and installed again (didn't download again because the filesize checked out) and now it works fine, and I'm none the wiser as to the root cause of the problem, except that rt.jar has magically appeared:
    C:\Users\Administrator>dir "C:\Program Files\Java\jre6\lib\*.jar"
    Volume in drive C has no label.
    Volume Serial Number is 00AC-1BC7
    Directory of C:\Program Files\Java\jre6\lib
    08/11/2009  06:38 PM         6,685,813 charsets.jar
    08/11/2009  06:38 PM         2,989,538 deploy.jar
    08/11/2009  06:38 PM           716,841 javaws.jar
    08/11/2009  06:38 PM            88,256 jce.jar
    08/11/2009  06:38 PM           558,189 jsse.jar
    08/11/2009  06:38 PM               382 management-agent.jar
    08/11/2009  06:38 PM         1,704,664 plugin.jar
    08/11/2009  06:38 PM         1,115,985 resources.jar
    08/11/2009  06:38 PM        44,295,255 rt.jar                             <<<<<<<<<<<<<<<<<<
                   9 File(s)     58,154,923 bytes
                   0 Dir(s)  115,454,173,184 bytes freeSOOOO... I presume that the installer failed on rt.jar, probably because something (something in my start-up, I suppose) was using the JRE while the instal was running... but I didn't do anything different the second time (to the best of my knowledge).
    Thanks anyways... My hair (what's left of it) greatly appreciates your time.
    Cheers. Keith.

  • 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

  • Selections in BEx query designer

    Hi, I have object apparaisal rating scale compounded with rating value. Rating scale can have values : A,B,C and rating value : 1,2,3..etc Suppose I want to count total emplooyees in rating value 1 So in selections It shows values available for restr

  • Multiple DataSources of the same type (e.g. Peoplesoft Financials) in DAC

    If I am definining multiple DataSources of the same type (e.g. Peoplesoft Financials) so as to extract data from multiple source ERP systems into a single DataWarehouse, should I have to define separate Data Source Numbers for each source database ?

  • I cant sync my iPod touch / What does setting up as new iPod do?

    The other day, I first synced my iPod touch to itunes, didnt take very long. Then I tried syncing a CD and when it was half way through I tried to sync the songs already downloaded onto my ipod, but didnt see how. And today, I tried connecting my ipo

  • Search option in catalog selection in maintenance notification item, object

    Dear Experts, I have a problem to search & choose the relevent catalog codes in maintenance notification item,  in catalog selection pop up when F4 done on object part. Is there any setting to find the relevent codes from the cataloge selection scree

  • Ideal way to update a field in a table

    Hi All, We need to update a field in a table which have some 8 million records. The value of the field needs to be updated in all the above mentioned records. Now, we have an input file with all the primary key fields and the field to be updated. Can