icedtea 1.10.1 and javax problem

Dr Andrew John Hughes ahughes at redhat.com
Mon Jun 13 07:32:34 PDT 2011


On 15:47 Fri 10 Jun     , George Hatzipavlis wrote:
> hi all
> 
> i am getting an error with icedtea 1.10.1 regarding javax and gtk themes.
> 
> 
> >>>Recursively making plaf build @ Wed Jun  8 18:27:52 EEST 2011 ...
> make[6]: Entering directory `/usr/src/icedtea6-1.10.1/openjdk-ecj/jdk/make/javax/swing/plaf'
> # Java sources to be compiled: (listed in file /usr/src/icedtea6-1.10.1/openjdk.build-ecj/tmp/com/javax.swing.plaf/.classes.list)
> ../../../../src/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java
> # Running javac:
> /usr/src/icedtea6-1.10.1/bootstrap/jdk1.6.0/bin/javac -J-XX:ThreadStackSize=1536 -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -g -source 6 -target 6 -encoding ascii -Xbootclasspath:/usr/src/icedtea6-1.10.1/openjdk.build-ecj/classes -sourcepath /usr/src/icedtea6-1.10.1/generated:../../../../src/solaris/classes:../../../../src/share/classes -bootclasspath /usr/src/icedtea6-1.10.1/bootstrap/jdk1.6.0/jre/lib/rt.jar::/usr/src/icedtea6-1.10.1/openjdk.build-ecj/classes -d /usr/src/icedtea6-1.10.1/openjdk.build-ecj/classes @/usr/src/icedtea6-1.10.1/openjdk.build-ecj/tmp/com/javax.swing.plaf/.classes.list
> Annotation processing got disabled, since it requires a 1.6 compliant JVM
> ----------
> 1. ERROR in ../../../../src/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java (at line 1192)
> 	return new GTKPainter.TitledBorder();
> 	           ^^^^^^^^^^^^^^^^^^^^^^^
> GTKPainter.TitledBorder cannot be resolved to a type
> ----------
> 2. ERROR in ../../../../src/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java (at line 1357)
> 	entryStyle.getClassSpecificValue("cursor-color");
> 	           ^^^^^^^^^^^^^^^^^^^^^
> The method getClassSpecificValue(Region, String) in the type GTKStyle is not applicable for the arguments (String)
> ----------
> 3. ERROR in ../../../../src/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java (at line 1445)
> 	!((UNIXToolkit)toolkit).loadGTK())
> 	                        ^^^^^^^
> The method loadGTK() is undefined for the type UNIXToolkit
> ----------
> 3 problems (3 errors)make[6]: *** [.compile.classlist] Error 255
> make[6]: Leaving directory `/usr/src/icedtea6-1.10.1/openjdk-ecj/jdk/make/javax/swing/plaf'
> make[5]: *** [build] Error 1
> make[5]: Leaving directory `/usr/src/icedtea6-1.10.1/openjdk-ecj/jdk/make/javax/swing'
> make[4]: *** [build] Error 1
> make[4]: Leaving directory `/usr/src/icedtea6-1.10.1/openjdk-ecj/jdk/make/javax'
> make[3]: *** [all] Error 1
> make[3]: Leaving directory `/usr/src/icedtea6-1.10.1/openjdk-ecj/jdk/make'
> make[2]: *** [jdk-build] Error 2
> make[2]: Leaving directory `/usr/src/icedtea6-1.10.1/openjdk-ecj'
> make[1]: *** [build_product_image] Error 2
> make[1]: Leaving directory `/usr/src/icedtea6-1.10.1/openjdk-ecj'
> make: *** [stamps/icedtea-ecj.stamp] Error 2.
> 
> 
> I have configured icedtea with
> 
> ./configure --with-jdk-home=/usr/java/jdk1.6.0_25 --with-ecj-jar=/usr/java/jdk1.6.0_25/lib/ecj-3.6.2.jar --with-xalan2-jar=/usr/java/jdk1.6.0_25/lib/xalan.jar --with-xalan2-serializer-jar=/usr/java/jdk1.6.0_25/lib/serializer.jar --with-xerces2-jar=/usr/java/jdk1.6.0_25/lib/xercesImpl.jar --without-rhino --with-gcj=/usr/bin/gcj --with-llvm-config=/opt/lunar/llvm/bin/llvm-config
> 
> 
> linux 2.6.38.3
> gcc 4.5.2
> glibc 2.11.2
> glib-2 2.28.7
> gtk+-2 2.22.1
> 
> thanks
> -- 
> George Hatzipavlis <ghatz at gennetsa.com>

'--with-jdk-home=/usr/java/jdk1.6.0_25' sounds like a proprietary JDK.  IcedTea6 does not support
building with proprietary JDKs.  What happens if you remove this --with-jdk-home option?  Or just
try ./configure --without-rhino ; the other options shouldn't be necessary.
-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D  0698 0713 C3ED F586 2A37



More information about the distro-pkg-dev mailing list