public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* GCJ in Cygwin on Windows, Please someone address!
@ 2012-04-03 10:02 Me Myself and I
  2012-04-03 10:17 ` marco atzeri
  2012-04-03 14:42 ` Christopher Faylor
  0 siblings, 2 replies; 3+ messages in thread
From: Me Myself and I @ 2012-04-03 10:02 UTC (permalink / raw)
  To: cygwin


-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 avoid this problem, and complete compiling (or cross-compiling) successfully?
 
-This message seems to cite something to do with eclipse.  I am trying to avoid
the gcj-ecj approach of 37 Megabytes compiled along with my program.  I have
heard that I can have GCJ for Windows "cross-compile" a self-executable, much
smaller program.
 
 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GCJ in Cygwin on Windows, Please someone address!
  2012-04-03 10:02 GCJ in Cygwin on Windows, Please someone address! Me Myself and I
@ 2012-04-03 10:17 ` marco atzeri
  2012-04-03 14:42 ` Christopher Faylor
  1 sibling, 0 replies; 3+ messages in thread
From: marco atzeri @ 2012-04-03 10:17 UTC (permalink / raw)
  To: cygwin

On 4/3/2012 12:02 PM, Me Myself and I wrote:
>
>   		 	   		

"Me Myself and I" does not authorize you to repeat the same
question multiple times.

Yaakov already provided you an answer to your first mail
http://cygwin.com/ml/cygwin/2012-04/msg00066.html

You can at least give us the courtesy to followup
from there and to not spam the list.

Regards
Marco



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GCJ in Cygwin on Windows, Please someone address!
  2012-04-03 10:02 GCJ in Cygwin on Windows, Please someone address! Me Myself and I
  2012-04-03 10:17 ` marco atzeri
@ 2012-04-03 14:42 ` Christopher Faylor
  1 sibling, 0 replies; 3+ messages in thread
From: Christopher Faylor @ 2012-04-03 14:42 UTC (permalink / raw)
  To: cygwin

Reposting the same question three hours later is bad form.  Please
don't do this.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-03 14:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-03 10:02 GCJ in Cygwin on Windows, Please someone address! Me Myself and I
2012-04-03 10:17 ` marco atzeri
2012-04-03 14:42 ` Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).