aspose file tools*
The moose likes Java in General and the fly likes bootclasspath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "bootclasspath" Watch "bootclasspath" New topic
Author

bootclasspath

Mallesham Karnati
Ranch Hand

Joined: May 11, 2005
Posts: 40
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

Joined: Jul 08, 2003
Posts: 24166
    
  30

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.


[Jess in Action][AskingGoodQuestions]
Mallesham Karnati
Ranch Hand

Joined: May 11, 2005
Posts: 40
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

Joined: Oct 25, 2012
Posts: 2

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

Joined: Oct 25, 2012
Posts: 2

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: bootclasspath
 
Similar Threads
javac in BUILD.XML
Problem with javac -target
Can you implement a class?
bootclasspath
ClassCastException for SOAP message