aspose file tools
The moose likes JNLP and Web Start and the fly likes bootclasspath Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Reply 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: 1865
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


1. Have fun @ http://faq.javaranch.com/java/JavaRaq
2. Looking for simple infix2postfix conversion and postfix evaluation package? Click here
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: 1865
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: bootclasspath
 
Similar Threads
-Xdebug and bootclasspath
java.util.Date
can I use webstart or not?
javac in BUILD.XML
How to add PIM API in MIDP2.1?