This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc-java: gij broken?


Yaakov wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1

> Yaakov S (Cygwin Ports) wrote:
>> Either I'm missing something, or gij just plain doesn't work:

> Ping?

> Gerrit,
> 
> Either I'm missing something, or gij just plain doesn't work:
> 
> gcc-java-3.4.4-1
> jikes-1.22-1 (Cygwin Ports)
> Sun JDK 1.5.0_06
> 
> JIKESPATH either to JDK rt.jar or to libgcj-3.4.4.jar
> CLASSPATH either empty or to libgcj-3.4.4.jar
> 
> $ javac HelloWorld.java && java HelloWorld
> Hello, World!

I'm getting an exception here:  Exception in thread "main"
java.lang.NoClassDefFoundError: HelloWorld

> $ jikes HelloWorld.java && java HelloWorld
> Hello, World!

Dito.

> $ gcj -C HelloWorld.java && java HelloWorld
> Hello, World!

Dito.


> $ gcj --main=HelloWorld -o HelloWorld.exe HelloWorld.java &&
> ./HelloWorld.exe
> Hello, World!
> 
> $ javac HelloWorld.java && gij HelloWorld
> Segmentation fault (core dumped)
> 
> $ jikes HelloWorld.java && gij HelloWorld
> Segmentation fault (core dumped)
> 
> $ gcj -C HelloWorld.java && gij HelloWorld
> Segmentation fault (core dumped)


Yes, I see the same for the last four.  Maybe it is just plain not working?


Gerrit
-- 
=^..^=                                     http://nyckelpiga.de/donate.html


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]