Help!

Bug#436994: java-gcj-compat-dev: javac doesn't work on tri..


Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Bugs Dist RSS
Next:  Bug#436991: splix: Xerox Phaser 6110: when printi..  
Author Message
Daniel Schepler
External


Since: Sep 20, 2006
Posts: 212



PostPosted: Fri Aug 10, 2007 2:11 am    Post subject: Bug#436994: java-gcj-compat-dev: javac doesn't work on trivial program
Archived from groups: linux>debian>bugs>dist (more info?)

Package: java-gcj-compat-dev
Version: 1.0.76-3
Severity: serious

With java-gcj-compat-dev from experimental installed, along with various other
experimental gcj-related packages installed, javac doesn't work at all:

....
frobnitz:/tmp# COLUMNS=80 dpkg -l *gcj* *gij* *ecj*|grep ^i
ii ecj 3.3.0-2 standalone version of the Eclipse Java compi
ii ecj-gcj 3.3.0-2 standalone version of the Eclipse Java compi
ii ecj-gcj 3.3.0-2 standalone version of the Eclipse Java compi
ii gcj 4:4.2-20070707 The GNU Java compiler
ii gcj-4.1 4.1.2-14 The GNU compiler for Java(TM)
ii gcj-4.1-base 4.1.2-14 The GNU Compiler Collection (gcj base packag
ii gcj-4.2 4.2.1-1 The GNU compiler for Java(TM)
ii gcj-4.2-base 4.2.1-1 The GNU Compiler Collection (gcj base packag
ii gij 4:4.2-20070707 The GNU Java bytecode interpreter
ii gij-4.1 4.1.2-14 The GNU Java bytecode interpreter
ii gij-4.2 4.2.1-1 The GNU Java bytecode interpreter
ii java-gcj-compa 1.0.76-3 Java runtime environment using GIJ
ii java-gcj-compa 1.0.76-3 Java runtime environment with GCJ
ii libecj-java 3.3.0-2 Eclipse Java compiler (library)
ii libgcj-bc 4.2-20070707-1 Link time only library for use with gcj
ii libgcj-common 1:4.2-20070707 Java runtime library (common files)
ii libgcj7-1 4.1.2-14 Java runtime library for use with gcj
ii libgcj7-1-awt 4.1.2-14 AWT peer runtime libraries for use with gcj
ii libgcj7-dev 4.1.2-14 Java development headers and static library
ii libgcj7-jar 4.1.2-14 Java runtime library for use with gcj (jar f
ii libgcj8-0 4.2.1-1 Java runtime library for use with gcj
ii libgcj8-0-awt 4.2.1-1 AWT peer runtime libraries for use with gcj
ii libgcj8-dev 4.2.1-1 Java development headers and static library
ii libgcj8-jar 4.2.1-1 Java runtime library for use with gcj (jar f
frobnitz:/tmp# cat Test.java
class Test {
public int foo() { return 0; }
};
frobnitz:/tmp# /usr/lib/jvm/java-gcj/bin/javac Test.java
----------
1. ERROR in Test.java (at line 1)
class Test {
^
The type java.lang.Object cannot be resolved. It is indirectly referenced from
required .class files
----------
2. ERROR in Test.java (at line 1)
class Test {
^^^^
Implicit super constructor Object() is undefined for default constructor. Must
define an explicit constructor
----------
2 problems (2 errors)frobnitz:/tmp#

My guess would be that probably the ecj compiled to use gcj-4.1 files is
unhappy with gcj-4.2 somehow.
--
Daniel Schepler


--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Bugs Dist All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum