delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/03/00:57:04

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_GC
X-Spam-Check-By: sourceware.org
Message-ID: <BAY147-W509AA41BDF6867B0F674AD04D0@phx.gbl>
From: Me Myself and I <stargate7thsymbol AT live DOT co DOT uk>
To: <cygwin AT cygwin DOT com>
Subject: GCJ related questions
Date: Tue, 3 Apr 2012 15:26:42 +1030
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q334v1Oq012573

-Is it possible to include some sort of PATH/CLASSPATH variable link to the Javak 2 1.6 version of rt.jar
in order to have SWING and AWT from that version recognised, compiled, and executed appropriately
with the latest version of GCJ that installs from CYGWIN installation packages?

-Even before that stage, I am trying to compile and run a hello world program, and find the following error:

//-----------------------------------------------------------------------------------------------------------------------------
$ gcj Program.java --main=Program -o Program.exe

Exception in thread "main" java.lang.NoClassDefFoundError: org.eclipse.jdt.internal.compiler.batch.GCCMain
   at gnu.java.lang.MainThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.eclipse.jdt.internal.compiler.batch.GCCMain not found in gnu.gcj.runtime.SystemClassLoader{urls=[], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at gnu.java.lang.MainThread.run(Unknown Source)
//-----------------------------------------------------------------------------------------------------------------------------
-What can I do to fix this?  

-This message seems to cite something to do with eclipse.  I am trying to avoid
the gcj-ecj implementation entirely, and use GCJ "pure" only.  Will this still be my final result,
using the official install packages available from the CYGWIN official internet packages hierarchy
supplied with the latest installer's list?
 		 	   		  

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


- Raw text -


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