• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

bootclasspath  RSS feed

 
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I set my bootclasspath when launching my application via web start?
 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!