Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

bootclasspath

 
Mallesham Karnati
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is bootclasspath? I am looking for a kind of primer on this topic. I searched google but couldn't find any satisfactory explanation. Can someone help?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The boot.class.path is where the JVM finds the java.* and javax.* classes (normally in jre/lib/rt.jar). These are loaded by the "bootstrap classloader", which is separate from the "system class loader", the one that uses CLASSPATH with which you're undoubtedly familiar.

Ted Neward wrote this marvelous paper about ClassLoaders in Java 2; read it and be enlightened.
 
Mallesham Karnati
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ernest for your useful info. I read Ted's article and then searched Google, with my enhanced understanding, to clarify some more things. During my search, I found the following two important resources. I think other ranchers like me will be benefited by them. Here are the links.

http://www.panix.com/~mito/articles/articles/classloader/j-classloader-ltr.pdf
http://www.particle.kth.se/~lindsey/JavaCourse/Book/Part1/Supplements/Chapter04/classLoaders.html

Regards,
Mallesham
 
Vincent van 't Zand
Greenhorn
Posts: 2
BSD Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ernest Friedman-Hill wrote:The boot.class.path is where the JVM finds the java.* and javax.* classes (normally in jre/lib/rt.jar). These are loaded by the "bootstrap classloader", which is separate from the "system class loader", the one that uses CLASSPATH with which you're undoubtedly familiar.

Ted Neward wrote this marvelous paper about ClassLoaders in Java 2; read it and be enlightened.


Ted’s document can now be found at Finding Loaded Classes - A JavaGeeks.com White Paper.
 
Vincent van 't Zand
Greenhorn
Posts: 2
BSD Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mallesham Karnati wrote:Thanks Ernest for your useful info. I read Ted's article and then searched Google, with my enhanced understanding, to clarify some more things. During my search, I found the following two important resources. I think other ranchers like me will be benefited by them. Here are the links.

http://www.panix.com/~mito/articles/articles/classloader/j-classloader-ltr.pdf
http://www.particle.kth.se/~lindsey/JavaCourse/Book/Part1/Supplements/Chapter04/classLoaders.html

Regards,
Mallesham


The first document now lives at Understanding the Java ClassLoader/Greg Travis.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic