• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Webstart to use jre 1.4  RSS feed

 
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have two versions of java in my machine 1.4 and 1.6
How do I launch my webstart application using 1.4 and not by 1.6?
 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use a command like this:


set BASE=C:\jdk1.4\jre
set SYSHOME=C:\WINDOWS\Sun\Java\Deployment
set USRHOME=C:\Documents and Settings\XXX\Application Data\Sun\Java\Deployment
set JRE_HOME=C:\jdk1.4\jre

"%BASE%\bin\java.exe" "-Djnlpx.home=%BASE%\javaws" "-Djnlpx.jvm=%BASE%\bin\javaw.exe" "-Djava.security.policy=file:%BASE%\javaws\javaws.policy" "-DtrustProxy=true" "-Djnlpx.deployment.user.home=%USRHOME%" "-Djnlpx.deployment.system.home=%SYSHOME%" "-Xbootclasspath/a:%JRE_HOME%\javaws\javaws.jar" -classpath "%BASE%\javaws\javaws.jar;%BASE%\javaws\javaws-l10n.jar" com.sun.javaws.Main http://localhost:7001/app/launch.jnlp

Or you can edit web start settings in Java plugin from control panel
 
Rizwan Mohammad
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Maris.
I will try with that.
 
We find this kind of rampant individuality very disturbing. But not this tiny ad:
ScroogeXHTML - small and flexible RTF to HTML converter library
https://coderanch.com/t/710903/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!