[kaffe] 'Kaffe -cp' jar file issue

Arnaud Vandyck avdyk at ressource-toi.org
Tue Nov 9 05:17:22 PST 2004


Tue, 09 Nov 2004 17:22:29 +0530, 
Sanjib Nath <sanjib.nath at wipro.com> wrote: 

> Hi All,

Hi,

> I am a new user of Kaffe. I am facing problem while using jar file. It
> seems that '.' is also taken as '/' in classpath.
>
> $ kaffe -cp /path/for/jar/abc.jar Test A
> java.lang.ClassNotFoundException: /path/for/jar/abc/jar
>         at java.lang.Class.forName(Class.java:native)
>         at java.lang.Class.forName(Class.java:58)
>
> Could anyone please help me to resolve this issue?

Which version of kaffe do you use?

With the latest version in Debian (2004-10-30):

$ kaffe -cp /home/arnaud/prj/helloworld/test.jar test.Test
Hello!

-- 
Arnaud Vandyck
http://fosdem.org/
Free and Open Source Developers' European Meeting
February 26-27 2005,
Bruxelles, Belgium




More information about the kaffe mailing list