[kaffe] WidgetsDemo not found in java.lang.ClassLoader

Fu, Elva elva.fu at intel.com
Sun Nov 19 21:32:23 PST 2006


It works. Thank you very much! 

-----Original Message-----
From: Guilhem Lavaux [mailto:guilhem at kaffe.org] 
Sent: 2006年11月19日 2:49
To: Fu, Elva
Cc: kaffe at kaffe.org
Subject: Re: [kaffe] WidgetsDemo not found in java.lang.ClassLoader

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