SystemClassLoader and current directory

Thomas Hallgren thomas@tada.se
Thu Feb 9 14:04:00 GMT 2006


Hi,
I seems the SystemClassLoader is setup to search the current directory by default. Is there 
anything I can do to prevent this? I use GCJ embedded with the PostgreSQL backend and the VM 
is initialized using JNI.

I provide a ClassLoader that will utilize the database and it's essential that the Java code 
is prevented from using the file system.

Regards,
Thomas Hallgren



More information about the Java mailing list