Hi justin, thanx for your quick response....
I've circumvented the problem by using the ClassLoader class instead of the
forName method,
this works fine !

Thanx anyway
roland

-->-----Original Message-----
-->From: Justin Couch [mailto:[EMAIL PROTECTED]]
-->Sent: woensdag 7 februari 2001 12:17
-->To: [EMAIL PROTECTED]
-->Subject: Re: [JAVA3D] Help !! :: Dynamically loading classes,using
-->Class.forName(aStri ng)
-->
-->
-->"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".
-->

===========================================================================
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