> Hi!
>
> Perhaps you should specifie the fully qualified name of Foo.class. Say
> Foo.class is in package app, then try cl.loadClass("app.Foo") and invoke
> java by specifying the path to the package app. So if app is located in
> /home, then java -classpath /home home.app.Foo
Sorry, i forgot to mention that including the whole path.to.the.class indeed
does work. But i thought that using it without the path also worked or shouldn't it?
>> Hi,
>>
[quoted text clipped - 14 lines]
>>
>> Fermin DCG
Daniel Tahin - 21 Mar 2005 16:35 GMT
F Da Costa Gomez schrieb:
>> Hi!
>>
[quoted text clipped - 6 lines]
> indeed does work. But i thought that using it without the path also
> worked or shouldn't it?
I don't know. Perhaps by adding the path of Foo.class to the JVM's class
path, but i don't know, how to do this.
>>> Hi,
>>>
[quoted text clipped - 14 lines]
>>>
>>> Fermin DCG