This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Problem with gcj and gij
- From: "Gerrit P. Haase" <freeweb at nyckelpiga dot de>
- To: "Alireza Ghasemi" <fooladgh at gmail dot com>
- Cc: cygwin at cygwin dot com
- Date: Wed, 4 Jan 2006 10:08:34 +0100
- Subject: Re: Problem with gcj and gij
- References: <002301c610ef$5ea61a50$01d9a8c0@keloas>
- Reply-to: "Gerrit P. Haase" <freeweb at nyckelpiga dot de>
Alireza wrote:
> Hello,
> I tried to compile a simple Hello,world program with gcj. The code was :
> public class Welcome {
> public static void main( String args[] )
> {
> System.out.println( "Welcome to Java Programming!" );
> }
> }
> I created Welcome.class with "gcj -C Welcome.java" .then I tried to execute
> it with "gij Welcome.class" but I got the following error:
> Exception in thread "main" java.lang.NoClassDefFoundError: Welcome.class
> <<No stacktrace available>>
> Can anyone help me run my program?
> Thanks.
gij is broken. You can use java to run the gcj compiled classfiles.
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/