I have a weird - not speciafically java 3d related - problem.... I hope that
some one of you "specialists" can help me out on this.

Dynamically loading classes, using Class.forName(aString):

I have created an application, lets say fool.jar, consisting of:
- a.class and
- b.class
which resides in the jre/lib/ext directory of my jdk distribution (I'm using
blackdown's for linux).
This application contains (amongst others) the main method for the JVM to
hook on to in a.class and a class which loads other classes in b.class
(using forName()) .
The logic is fairly simple:
        I start the application, giving the class to be loaded as an
argument, the main method passes this class to the b.class where it is
supposed to be loaded
        by using the Class.forName() method.


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.

I have tried different variations of classpath settings and different
variations of the "aString" parameter needed by the forName() method,
but nothing seems to work. The ini.class can not be found by the JVM....

What am I doing wrong ?

Greetz and thanx in advance
roland

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