This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: java class loader
 
Similar Threads
java classes accessiblity
Compiling two public scope java classes in a .java file
Two public classes in a file
cannot find symbol - compiler error?
cannot find symbol - compiler error?