File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What's included in default ClassLoader's search path?

 
Dan Bizman
Ranch Hand
Posts: 387
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are all of the following part of where class loader tries to load/find classes from? (in no order)

1. java.class.path property
2. boot classpath
3. ext directory
4. user.dir property
5. user.home (is this used for loading classes?)
6. ?
 
Mark Vedder
Ranch Hand
Posts: 624
IntelliJ IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This page of Sun's Java Tutorial has a basic description of the search order. This article provides some additional detail. Although it is about the BootClasspath, I found the article available on this page very informative.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic