wood burning stoves 2.0*
The moose likes JNLP and Web Start and the fly likes bootclasspath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "bootclasspath" Watch "bootclasspath" New topic
Author

bootclasspath

Ronnie Phelps
Ranch Hand

Joined: Mar 12, 2001
Posts: 329
How can I set my bootclasspath when launching my application via web start?
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
hi
can u explain little more about what exactly u want to do here?
if ur app is webstart app then also u never know which machine it is going to get downloaded and run so u dont know the file system or anything (i mean u can't assume those things unless ur application is specifically meant for certain destination machines/os...)...so why u want to set "bootclasspath"??
if u need some speciallized classes or something can't u use the jar file that gets downloaded w/ the application...
regards
maulin
Ronnie Phelps
Ranch Hand

Joined: Mar 12, 2001
Posts: 329
I need it because I'm using a third party jar file that has the same name as a jdk class.
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
if the jarname is the same then can't u just change that jar name?
of course it can't have packages with java.* and javax.* etc..does it have those?
thanks
maulin
Ronnie Phelps
Ranch Hand

Joined: Mar 12, 2001
Posts: 329
Thanks man I think I may have figured out a work around for the problem. My application uses Orbix and orbix also has some classes that are embedded in JDK now. I was told that there was a flag that could be set to force jdk to ignore the orbix classes in jdk which will force the JVM to use the classes that are in the orbix jar file. This will eliminate my need for setting the bootclasspath.
Victor Ho
Ranch Hand

Joined: Sep 05, 2003
Posts: 74
I am facing the same problem of trying to prevent JDK bootstrap CL to load certaing classes (e.g. javax.xml.* in 1.4.2). Can someone tell me what flag to use to achieve this?

Thanks
Victor
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: bootclasspath