Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with Webstart1.0.1_01 and IBM JRE 1.3.0

 
Maruti Nori
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic