here is a piece of smaple code:
if i change the line "Class.forName("java.io.File")" to "Class.forName("File")" then the result of running should be "not exist" while remain the original code, it doesn't throw the exception.So i want know why and i hava set the enviroment variable classpath to the position of the installation of jdk in my computer.
In the
doc of jdk1.3 I found that the method forName of "Class" class in java.util has a another overloading version with a argument ClassLoader.But i can't understand that how can i create a ClassLoader and make it works.Of course I know that ClassLoader is a abstract class,but if I want make my ClassLoader extends from it works, which methods should i implement.
Thanks in advance!
[ edited to preserve formatting using the [code] and [/code]
UBB tags and to remove tabs -ds ]
[ July 22, 2002: Message edited by: Dirk Schreckmann ]