How can I set my bootclasspath when launching my application via web start?
Maulin Vasavada
Ranch Hand
Joined: Nov 04, 2001
Posts: 1865
posted
0
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
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
posted
0
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
posted
0
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
posted
0
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.