gcc-java: gij broken?

Gerrit P. Haase freeweb@nyckelpiga.de
Fri Dec 30 04:41:00 GMT 2005


Gerrit wrote:
>> Yaakov S (Cygwin Ports) wrote:
>> 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

Ah no, it is working when I remove the CLASSPATH setting.  Java is
weird, I don't like it very much.


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/



More information about the Cygwin mailing list