Re: gcj and kaffe (solved)
On Fri, Nov 12, 2004 at 10:08:36PM +0000, Gerard Robin wrote:
> Hello,
> I compiled the file: HelloWorldApp.java
>
> class HelloWorldApp {
> public static void main(String[] args) {
> System.out.println("Hello World!");
> }
> }
>
> gcj -C HelloWorldApp.java
>
> the compiler has generated the file: HelloWorldApp.class.
>
> Then, I ran, kaffe HelloWorldApp, and I got sometimes:
>
> Internal error: caught an unexpected exception.
> Please check your CLASSPATH and your installation.
> java/lang/NullPointerException
> Internal error: caught an unexpected exception.
> Please check your CLASSPATH and your installation.
> java/lang/NullPointerException
>
> or sometimes:
>
> Hello World!
>
> Can someone help me to understand what is wrong ?
>
I used the unstable version of gcj and kaffe and I guessed that was this
version which did not works fine.
I removed gcj and kaffe and reinstalled the woody packages and now all
works fine. ;-)
--
Gerard
Reply to: