Correct javaw but incorrect runtime used

Hello,
the JNLP contains:
  <resources>  
    <j2se version="1.5" initial-heap-size="512m" java-vm-args="-client" />
  </resource>I have installed JDK 1.5 (update 20) and JDK 1.6 (update 16) on my Window Vista machine. When I start the application with javaws, the correct 1.5 javaw.exe is used but incorrect runtime from 1.6 is used.
This is my command line:
javaws myTest.jnlpThis is spawned process command line:
C:\Programs.Java\Java\jre1.5.0_20\bin\javaw.exe -Xbootclasspath/a:C:\Programs.Java\Java\jre1.6.0_16\lib\javaws.jar;C:\Programs.Java\Java\jre1.6.0_16\lib\deploy.jar;C:\Programs.Java\Java\jre1.6.0_16\lib\plugin.jar -classpath C:\Programs.Java\Java\jre1.6.0_16\lib\deploy.jar -Djava.security.policy=file:C:\Programs.Java\Java\jre1.6.0_16\lib\security\javaws.policy -DtrustProxy=true -Xverify:remote -Djnlpx.home=C:\Programs.Java\Java\jre1.6.0_16\bin -Djnlpx.remove=true -client -Xms512m -Xmx512m -Djnlpx.heapsize=512m,512m -Djnlpx.splashport=62384 -Djnlpx.jvm=C:\Programs.Java\Java\jre1.5.0_20\bin\javaw.exe -Djnlpx.vmargs=-client com.sun.javaws.Main C:\Temp\javaws2Is this correct behaviour? I excpected, that when Java 1.5 was requested in JNLP, the full 1.5 Java will be used, not this mixture of 1.5 and 6.0. Of cource this is source of issues.
Thank you for explanation, Jan

One Ring to rule them all, One Ring to find them, One Ring to bring...
To everything there is a season, a time for every purpose under the sun. A time to be born and a time to die; a time to plant and a time...
A system JRE to run javaws, a user jre for your app, one for mine, one for those who like old style urls, one..
It couldn't be any different, there must be only one system JRE (the one whom exe and dll get copied to the system32 on windows OSes). That's it, browser gets a mime type and calls an app (do you someone get to chose the pdf reader the client browser should invoke?), Sun is so kind to let you run your app on any other one you like, asking more sound a bit spoiled; the system one only manages your resources (usually newer is better when it comes to that), I can see no arm in it.
Anyway if you want a different behaviour your may ask your browser provider to have a new version aware of jnlp existance that interacts with sun sw in order to retrieve available runtimes, parses the jnlp and launches the most suitable JRE.
Looks pretty hard (for a no use feature).
Bye.
PS: didn't mean to be mean but this has been already discussed many times in this very same forum; sarcasm keeps me sane and saves me against boredom.

Similar Messages

  • Correct cheque but incorrect document in terms of posting date

    Hi
    I have a problem.
    The document posted(f-48) incorrect in terms of posting date but the correct cheque (FCH5)is taken by the user and already sent to the vendor.
    How to rectify the situation.
    Edited by: Anand Arya on Dec 5, 2008 12:39 PM
    Edited by: Anand Arya on Dec 5, 2008 12:41 PM

    Dear Anand,
    if vendor accepts the cheque then what is the issue?
    any how you can do brs.
    please point out the issue.
    SU*

  • I have an apple ID which I use to sign into icloud for my iPad and iPhone.But when I use the same ID for setting up iCloud on my Macbook it says INCORRECT ID or password, try again. I tried changing my passwords but it does not work for the macbook.

    I have an apple ID which I use to sign into icloud for my iPad and iPhone.But when I use the same ID for setting up iCloud on my Macbook it says INCORRECT ID or password, try again. I tried changing my passwords several times but it does not work for the macbook.

    You will have to provide the correct password to delete the existing account, if you have tried but are not getting the password reset email, contact Apple for assistance by going to https://expresslane.apple.com, then click More Products and Services>Apple ID>Other Apple ID Topics>Lost or forgotten Apple ID password.

  • HT5622 I have incorrectly entered an email address that is not valid.  I have requested the change to the correct email but if cannot verify it as the verification email is being sent to the email address that I entered incorrectly and is invalid.  Help!

    I have incorrectly entered an email address that is not valid.  I have requested the change to the correct email but if cannot verify it as the verification email is being sent to the email address that I entered incorrectly and is invalid.  Help!

    Hey Givemepaperandapen,
    Thanks for using Apple Support Communities.
    For more information, take a look at:
    Apple ID: Associating and verifying email addresses with your Apple ID
    http://support.apple.com/kb/he68
    How to edit or change your Apple ID and primary email address
    Have a nice day,
    Mario

  • I have an itouch that will not let me sign in to my itunes account. The email address that it is associated with is no longer valid. I keep entering the correct password but it says that it is incorrect. I cant get a reset all of my credentials dont work.

    I have an itouch that will not let me sign in to my itunes account. The email address that it is associated with is no longer valid. I keep entering the correct password but it says that it is incorrect. I can’t get a reset all of my credentials don’t work. Now all my apps won’t work. it looks like they load for half a second then disappear. What can I do?

    - Try contacting iTunes for the password problem:
    Apple - Support - iTunes - Contact Us
    - For the other problem you can try a reset. Nothing will be lost
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - The next standard thing to do is to download/install a new app but you cant 'do that.
    - Instead, try restoring from backup.

  • I installed bootcamp but became a pain to use so I unistalled it. Now every time I turn my Macbook pro on it keeps asking me what startup disk to use. I tried using the system preferences to correct this but it hasn't worked. Can someone help

    I installed bootcamp but became a pain to use so I unistalled it. Now every time I turn my Macbook pro on it keeps asking me what startup disk to use. I tried using the system preferences to correct this but it hasn't worked. I even restored my mac back to factory settings but it still asks me what startup disk to use. I have looked everywhere for a solution but one anywhere

    Delete the System Preference .plist file (preference file) and when rebooting and #2 Reset the PRAM
    Deleting the System Preference or other .plist file
    ..Step by Step to fix your Mac
    Then head to System Preferences > Startup Disk and select the OS X volume to boot from.

  • A have new problem that has appeared in my Mac Mail.  When I type a frequently used email into the 'To: line' it populates the correct name but with 8 different email addresses not associated with that name.

    A have new problem that has appeared in my Mac Mail.  When I type a frequently used email into the 'To: line' it populates the correct name but with 8 different email addresses not associated with that name.  I have gone to the window pop-down to 'previous recipients' and deleted that addressee as well as all the email addresses it is assigning to that name.  I have also deleted the account entirely from my address book.  I have have run repair permissions and also full defrag in iDefrag.  Still the problem persists.  Any suggestions?

    Hello CarolineLongEaton,
    I noticed you posted this problem quite a while ago and wondered if you managed to have it fixed in an alternative way then posting here. It is too bad no one has posted a solution here. I have a similar problem and if you have had yours solved since this occurance how you accomplished it may help me with mine. I am interested to know what you have done about yours.
    If you are interested in comparing the problems to see if your solution (if you have found one) might help me also then here is the link to the discussion.
    https://discussions.apple.com/thread/6116927
    If your problem has not been solved then I will comment here again if/when my issue is resolved as it may help you too. My hope here is that we may help each other. To quote you "all ideas gratefuly recieved". I hope your problem was resolved, ernestly for your sake and selfishly for mine also. I wish you and yours a great day!
    dofromon

  • I need to update specific records(of variable lengths) in a file. I can get the correct record but when I update it(add info), it overwrites part of the record following it. I am using labview 6.0

    I need to update specific records(of variable lengths) in a file. I can get the correct record but when I update it(add or change info), it overwrites part of the record following it. I am using labview 6.0. I need to be able to insert information into the middle of a file without disturbing the data before and after

    It's hard to give more specifics without more detail, but in general you're going to need to read in the entire file, split it into three pieces (everything before the record of interest, the record itself, and everything after the record of interest), modify the record, reassemble the three pieces in proper order, and write the whole thing back to the file.Of course if the file is very large you might not want to actually implement it this way, but conceptually at least, this is what you are looking at.If this file some sort of proprietary format?Mike...PS: this type of issue is why I really like databases...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Hello , im working with hebrew and the dot  "." isnt correcting to right with the align , i know that in indesign u use with paragraph direction to correct it but here what should i do. sorry for my english

    hello , im working with hebrew and the dot  "." isnt correcting to right with the align , i know that in indesign u use with paragraph direction to correct it but here what should i do. sorry for my english

    You are right, but how could i send it to Apple? when the phone company first replaced my iphone they had in stock alots of iphones and they just sent mine back to Apple and gave me a new one, so all i did is to give them my phone, but now how could i sent it to Apple? and i cant send it by myself, and the store wont do that, its a lost for them.. so sending it to Apple wasnt an option from the begining.
    and for the record, i dont think the store where i bought it is an authorized shop.. its just a store who boughts phone's from Apple in a low price and sells it in much more money..

  • I have a 1and1 email address but when I complete all the setting up info it says that either the imap user name or password is incorrect. I have attempted it many times since carefully putting in the correct info but still same message appears. Any ideas?

    I have a 1and1 email address but when I complete all the setting up info it says that either the imap user name or password is incorrect. I have attempted it many times since carefully putting in the correct info but still same message appears. Any ideas?

    If this is a Gmail account you might need to unlock by going here: https://accounts.google.com/DisplayUnlockCaptcha.

  • I have over 2000 tunes in my ITunes library but I cannot use them because their original files cannot be found. What can I do to correct this ?

    I have over 2000 tunes in my ITunes library but I cannot use most of them because their "Original files" cannot be found. What can I do to correct this ?

    This happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout, or vice-versa, and so is looking in slightly the wrong place.
    Select a track with an exclamation mark, use Ctrl-I to get info, then cancel when asked to try to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions.
    Alternatively, as long as you can find a location holding the missing files, then you should be able to use my FindTracks script to reconnect them to iTunes.
    tt2

  • TS1307 I am holidaying in Auckland using my daughters orcon internet account for sending mail but it will not send. I am sure I am putting in the correct information but it still says orcon offline. I have spent half an hour with Orcon putting in correct

    I am holidaying in Auckland using my daughter's Orcon internet account for sending mail but it will not send. I am sure I am putting in the correct information but it still says mail.orcon.net.nz(Offline). I have spent half an hour with Orcon putting in correct info. They do not know how to help me further and neither does telstra clear, my own internet provider.
    Any advice appreciated.

    On the Mail menubar > Mailbox, make sure Take all accounts online is selected.

  • How to dynamically configure JPA setting at runtime using java code?

    Hi,
    I am new to EJB 3.0 and JPA. I am trying to help my company to deploy the use of JPA in EJB3.0. Currently, i am trying out with OpenJPA in IBM Webshpere Application Server 7.0. We have four different WAS servers running for testing, system integration testing, user testing and production respectively, and in each region, the configurations for data source, JDBC username and password, schema, etc are different. So i think i would need to configure the JPA setting during runtime using Java code that determines which is the environment. And apparently i am stuck with the limited knowledge i have.
    1) I understand that i could override the JDBC in the persistence xml by creating entity manager using entity manager factory. But is it possible that i do similar thing by using inejction of persistence context on entity manager to obtain a container managed entity manager?
    2) Alternatively, it is possible to create multiple persistence unit in the XML and inject different PU to the entity manager, am i right? But how to inject dynamically since @PersistenceContext(unitName="xxx") only accepts constant declaration.
    3) Is it possible that the JDBC username and password are read from properties file?
    Thanks for your help in advance!

    Hi
    Thanks for the reply.
    Are you saying that i have to configure the data source authentication to the backend DB2 using the JAAS-J2C? Correct me if i am mistaken. I guess i am unable to do so as the application server setup only contains one data source, and the server hosted a number of applications. Every applications has their own JDBC username and password supply to the data source (the ID supplied at the DB2 side will decide which resource can access) and thus, i have to supply the username and password at runtime. Talked to the server guy and seems that it is not feasible to have seperate datasource for each applications as considered to the volume of applications hosted inside the server.
    Any suggestion?

  • [svn:fx-trunk] 15267: Cannot set Spark Label or Spark RichText showTruncationTip property at runtime using bindngs or ActionScript .

    Revision: 15267
    Revision: 15267
    Author:   [email protected]
    Date:     2010-04-07 15:57:04 -0700 (Wed, 07 Apr 2010)
    Log Message:
    Cannot set Spark Label or Spark RichText showTruncationTip property at runtime using bindngs or ActionScript.
    QE notes:
    Doc notes: None
    Bugs: partial fix for SDK-25980
    Reviewed By: Gordon
    Tests run: checkintests
    Fix Label styles baselineShift and typographicCase so they work as documented.  The documentation is from TLF.
    QE notes:
    Doc notes: None
    Bugs: partial fix for SDK-25169, SDK-25210
    Reviewed By: Gordon
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-25980
        http://bugs.adobe.com/jira/browse/SDK-25169
        http://bugs.adobe.com/jira/browse/SDK-25210
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.as

    I'd have to see the xml to say what, but 1009 is what it says - a null reference has no properties, it is null.
    Try tracing out SampleWebServiceCS.GetMember and you'll quickly see where along your .element.element path you have an error.
    (BTW, I've not used s:Operation before, but is your syntax correct?)
    G

  • When I try to upload a file it goes through the correct proceedure, but does not change the remote file i.e.Index.htm

    Hi
    I have an uploading problem to the server. The problem is when I try to upload a file it goes through the correct proceedure,
    but does not change the remote file i.e.Index.htm, or three stages1.htm.
    My Localroot folder is C:\Gods Plan Web\
    The site map layout is C:\Gods Plan Web\Index.htm
    The folder for the remote site is /public_html/
    Should the local root folder mirror the remote site, i.e./public_html/
    if this is so, what should I put into the
    (a) Local Root Folder box?
    (b) site map layout box?
    The FTP is performing well other than changing the intended file.

    You should be uploading only the contents of your local root to the public_html folder (remote root).
    The index.html you use as your site's home page needs to be in your site root. If you look at your Files window in DW, you should have something like the following...
    Site - Whatever you named your site
         index.html
         images
         pages
              page1.html
              page2.html
    If you have any folder between Site - and the index.html page, like...
    Site - Whatever you named your site
         mywebsite
              index.html
    It will upload to the public_html while still in that folder, so to find your page online, you would need to type something like...
    www.mydomain.com/mywebsite
    public_html should NOT appear within your local files and if it existed there, would cause a redundancy if uploaded. You would need to type www.yourdomain.com/public_html to see the uploaded pages.
    If you could post a screen shot of your expanded Files window while connected to the server (just connect and click the Expand button in Files, don't drill down into any of the directories), we may be able to see the issue.

Maybe you are looking for

  • How to get the VARIANT name in the program

    Hi Guys, Can somebody tell me how to get  the VARIANT name in a program. I have to perform some code with specific variant only. So I want to check in program which variant has been used to call the program. Thanks,

  • Uploading video from iPhone 6 to mac

    How do I upload videos from my iphone 6 , running 8.1.3  to my mac running yosemite 10.10.2. (I can upload all my photos via wifi from my phone but the videos will not upload to my mac.) Any ideas? I appreciate any. I am a newbie here and want to lea

  • Help hooking up my Sony KDS-60A2000

    I just bought a Sony KDS-60A2000 hd television. I have a Belkin cable to hook my Mini to the HDMI input on the Sony. I hooked everything up and the Mini came up on the Sony. The picture then became gradually snowy then went black. I have been unable

  • Code changes

    hi experts I have one program which calculates Actual current year rate.I need to add new lines to code so it calculates Actauls Previous rates also when needed.How can I change the existing actual current year code to get actual previous year code.

  • Sum of Time field

    Dear Experts, I've a field  which displays the minutes input to the HH.MM format. Please help me in managing the SUM of this column in the same format. Presenlty I am getting in the decimal system. (The above field type is in DEC 10 2 ) Regards Joges