public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/42409]  New: org.eclipse.jdt.internal.compiler.batch.GCCMain not found
@ 2009-12-17 17:54 jlpoole at pon dot net
  2009-12-24 16:23 ` [Bug java/42409] " jlpoole at pon dot net
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: jlpoole at pon dot net @ 2009-12-17 17:54 UTC (permalink / raw)
  To: java-prs

(This Bug follows 4205 which is not marked FIXED)

On armv5tel-unknown-linux-gnueabi I compiled gcj plus .../contrib/download_ecj.

Last Changed Rev: 155206                                                        
Last Changed Date: 2009-12-13 21:06:50 -0800 (Sun, 13 Dec 2009)           

installed with "DESTDIR=/usr/local/gcj"
set LD_LIBRARY_PATH=/usr/local/gcj/usr/local/lib

plug bin # ./gcj -v -I /usr/local/gcj/usr/local/share/java/libgcj-4.5.0.jar
/var
/work/gcj/HelloWorld.java        

produces:
...
Target: armv5tel-unknown-linux-gnueabi                                          
Configured with: ../trunk/configure --enable-languages=java : (reconfigured)
../
trunk/configure --enable-languages=java                                         
Thread model: posix                                                             
gcc version 4.5.0 20091214 (experimental) (GCC)                                 
COLLECT_GCC_OPTIONS='-fsaw-java-file' '-v'
'-fbootclasspath=/usr/local/gcj/usr/l
ocal/share/java/libgcj-4.5.0.jar:./:/usr/local/share/java/libgcj-4.5.0.jar'
'-g1
' '-shared-libgcc'                                                              

/usr/local/gcj/usr/local/bin/../libexec/gcc/armv5tel-unknown-linux-gnueabi/4.5.
0/ecj1 /var/work/gcj/HelloWorld.java -g1
-fbootclasspath=/usr/local/gcj/usr/loca
l/share/java/libgcj-4.5.0.jar:./:/usr/local/share/java/libgcj-4.5.0.jar -g1
-fso
urce=1.5 -ftarget=1.5 -fzip-dependency /tmp/ccEAvqtm.zip -fzip-target
/tmp/ccgLw
7My.jar                                                                         
Exception in thread "main" java.lang.NoClassDefFoundError:
org.eclipse.jdt.inter
nal.compiler.batch.GCCMain                                                      
   at gnu.java.lang.MainThread.run(MainThread.java:100)                         
Caused by: java.lang.ClassNotFoundException:
org.eclipse.jdt.internal.compiler.b
atch.GCCMain not found in gnu.gcj.runtime.SystemClassLoader{urls=[],
parent=gnu.
gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}                         
   at java.net.URLClassLoader.findClass(URLClassLoader.java:531)                
   at java.lang.ClassLoader.loadClass(ClassLoader.java:452)                     
   at java.lang.ClassLoader.loadClass(ClassLoader.java:387)                     
   at gnu.java.lang.MainThread.run(MainThread.java:96)                          
plug bin # 

Here's the test code:

    plug bin # cat /var/work/gcj/HelloWorld.java                                
    class HelloWorld {                                                          

        public static void main(String args[]){                                 

            System.out.println("Hello World!");                                 
        }                                                                       
    }                                                                           

    plug bin #     

I really feel badly having to come to you with my struggling; however, I have a
good deal of experience with Perl and some Java and find myself gated by what
members of this team think trivial.  Please keep in mind when someone comes to
try installing the gcc compiler and getting it to run, they do not have the
experience and day-to-day exposure you have, so something simple as an
incorrect path can be confounding. 

I'm not sure which class is missing (or not pointed to with the class path)
from the above output.


-- 
           Summary: org.eclipse.jdt.internal.compiler.batch.GCCMain not
                    found
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jlpoole at pon dot net
 GCC build triplet: armv5tel-unknown-linux-gnueabi
  GCC host triplet: armv5tel-unknown-linux-gnueabi
GCC target triplet: armv5tel-unknown-linux-gnueabi


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42409


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

end of thread, other threads:[~2010-03-20  0:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-17 17:54 [Bug java/42409] New: org.eclipse.jdt.internal.compiler.batch.GCCMain not found jlpoole at pon dot net
2009-12-24 16:23 ` [Bug java/42409] " jlpoole at pon dot net
2010-01-03 18:21 ` jlpoole at pon dot net
2010-01-03 18:23 ` jlpoole at pon dot net
2010-01-03 18:30 ` jlpoole at pon dot net
2010-01-03 18:43 ` jlpoole at pon dot net
2010-01-03 18:55 ` jakub at gcc dot gnu dot org
2010-01-04  1:51 ` jlpoole at pon dot net
2010-01-04 11:32 ` ramana at gcc dot gnu dot org
2010-01-04 14:20 ` jakub at gcc dot gnu dot org
2010-01-05  2:31 ` jlpoole at pon dot net
2010-01-05  2:34 ` jlpoole at pon dot net
2010-01-07 14:26 ` jlpoole at pon dot net
2010-03-20  0:10 ` ramana at gcc dot gnu dot org

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