delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/04/00:26:17

X-Spam-Check-By: sourceware.org
Message-ID: <002301c610ef$5ea61a50$01d9a8c0@keloas>
From: "Alireza Ghasemi" <fooladgh AT gmail DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Problem with gcj and gij
Date: Wed, 4 Jan 2006 08:56:05 +0330
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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.



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019