"Vissers, Roland" wrote:

> In a local directory, say: /home/usr/fools/ I have created a ini.class file
> which is to be loaded as a kind of initialization like file for fool.jar.
>
> When I Invoke the application from my local directory, e.g., java  a
> ini.class I got a classNotFoundException for the ini.class file.

If the JAR file is located in the jre/lib/ext directory, the security
manager does not permit it to access classes outside of that directory.
Any extension API that lets you set things like factories will be
effected by this. In order for the class in the jar to access the other
class(es) they need to be in a jar in the extensions dir too.

--
Justin Couch                                    Author, Java Hacker
http://www.vlc.com.au/~justin/               Java 3D FAQ Maintainer
http://www.j3d.org/              J3D.org The Java 3D Community Site
-------------------------------------------------------------------
"Humanism is dead. Animals think, feel; so do machines now.
Neither man nor woman is the measure of all things. Every organism
processes data according to its domain, its environment; you, with
all your brains, would be useless in a mouse's universe..."
                                              - Greg Bear, Slant
-------------------------------------------------------------------

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to