aspose file tools*
The moose likes Beginning Java and the fly likes java class loader Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java class loader" Watch "java class loader" New topic
Author

java class loader

Raj Joe
Ranch Hand

Joined: Oct 15, 2004
Posts: 41
steps
1.I install JDK
2.Set path for bin directory in my env variable
3.Write a simple java class
4.Run the java class with commend (java test.java)

How are JDK classes loaded for test.java(which imports eg java.io.* etc).
How does Java commend recognize the jdk classes.
Tony Morris
Ranch Hand

Joined: Sep 24, 2003
Posts: 1608
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassLoader.html
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Thread.html [getContextClassLoader method - this forum won't allow the direct link]


Tony Morris
Java Q&A (FAQ, Trivia)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java class loader