[kaffe] WidgetsDemo not found in java.lang.ClassLoader
Guilhem Lavaux
guilhem at kaffe.org
Sat Nov 18 10:49:01 PST 2006
Fu, Elva wrote:
> Hi all,
> I installed kaffe-1.1.6 on Fedora 4 , but it failed when I try to
> execute awt demo. My install steps as following:
> $ ./configure
> $ make
> $ make install
> Everything seems ok. Then I add kaffe path into PATH:
> $ export PATH=$PATH:/usr/local/kaffe/bin
>
> When I try to execute WidgetsDemo, it fails .
> $ cd test/awt/WidgetsDemo
> $ kaffe WidgetsDemo
> /-----/
> / java.lang.ClassNotFoundException: WidgetsDemo not found in
> java.lang.ClassLoader$1{urls=[file:~/kaffe/kaffe-1.1.6/test/awt/WidgetsDemo/./],
> parent=null}/
> ----
> Anyone experience the same?
>
> Really appreciate your help!
>
> Elva Fu
Hi Elva,
WidgetsDemo is not compiled by default. You have to run javac
WidgetsDemo.java first and then use kaffe WidgetsDemo.
Regards,
Guilhem.
More information about the kaffe
mailing list