Help coderanch get a
new server
by contributing to the fundraiser
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

sun.boot.library.path

 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,
what is the difference/relation between sun.boot.library.path and java.library.path and LD_LIBRARY_PATH (on Unix)?
here is what i understand,
1. LD_LIBRARY_PATH as we know is a Unix/Linux env variable that specifies where the lib<<name>>.so and lib<<name>>.so.a files are,
2. java.library.path is Java System Property that is usually the value of LD_LIBRARY_PATH var on our system (Unix)
3. i don't know what role sun.boot.library.path Java System Property plays?
on my development webserver iPlanet 4.1, i don't have LD_LIBRARY_PATH set. still it works when i try to use say , java.awt.List l = new java.awt.List(); statement...
but now on production server it doesn't work. in there as well we don't have LD_LIBRARY_PATH set and we get the same results when we run,
System.out.println(System.getProperty("java.library.path"));
though I will see the out put for,
sun.boot.library.path var as well but i was curious what is the relation between those three properties...
thanks
maulin
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic