Meaningless Drivel is fun!*
The moose likes JNLP and Web Start and the fly likes Problem with Webstart1.0.1_01 and IBM JRE 1.3.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Problem with Webstart1.0.1_01 and IBM JRE 1.3.0" Watch "Problem with Webstart1.0.1_01 and IBM JRE 1.3.0" New topic
Author

Problem with Webstart1.0.1_01 and IBM JRE 1.3.0

Maruti Nori
Greenhorn

Joined: Mar 13, 2002
Posts: 7
Hi,
We have a java swing application developed which accesses EJB's on WebSphere server.Now since we cannot use non IBM JVM(easily) as a client to connect to WebSphere, we are forced to use IBM JRE even in Webstart.Now here comes the problem.When i try to install Webstart without installing the JRS version 1.3.0_03 but instead use the IBM jre version 1.3.0,if i try to start Webstart it says bad installation.But say i install the JRE that comes with Webstart and then go to preferences of Webstart and change the JRE to IBM's JRE it works.
But since in our case we cannot expect the end user to able to edit this kind of settings, we would like to know if there is any other way to do this.
thanks & regards,
Maruti Nori
Chantal Ackermann
Ranch Hand

Joined: Sep 28, 2000
Posts: 508
if it is ok that your end user has both the IBM-jre and the jre that comes with JWS, installed than you can specify in your JNLP file which jre your application has to use. JWS will chose the right one (hopefully) and your end user won't notice it.
how you specify this is described in detail in the JNLP specification, chapter 4.6.1. you will have to provide the product version as stored in the system property "java.version". place this string in the tag
<j2se version="here comes the version" >
(this comes without any warranty)
cheers
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem with Webstart1.0.1_01 and IBM JRE 1.3.0
 
Similar Threads
Best Commercial IDE
Error starting websphere application server in RAD7
Installing Websphere
What is java2 runtime environment?
JRE and websphere server