I hit the problem described here: http://iced-tea.org/wiki/CommonIssues#Lacking_a_valid_JDK Textual copy: If you get the message: ERROR: Your BOOTDIR environment variable does not point to a valid JDK for bootstrapping this build. A JDK 7 build must be bootstrapped using JDK 1.6.0 fcs (or later). Apparently, your bootstrap JDK is version 1.4 Please update your ALT_BOOTDIR setting and start your build again. Then the problem is likely to be with the java binary symlinked in bootstrap/jdk1.6.0/bin/java. By default, this will link to gij, which on many systems is not 1.5 compliant: bootstrap/jdk1.6.0/bin/java -version java version "1.4.2" gij (GNU libgcj) version 4.1.2 (Gentoo 4.1.2 p1.0.2) To use gcj as the JDK, you need a version which is 1.5 compliant. Only the unreleased version, 4.3, and RedHat's backport of this are. Some distributions may provide this version (e.g. Fedora, Gentoo via the GCJ overlay) while with others you will need to download and compile another copy of GCC to use this. See the Gentoo build instructions for how to do this. Alternatively, you can pass the --with-java option to configure in order to make the symlink point to a different VM which is compliant. -- I switched GCC compiler to 4.3 and the build went through without a problem.
*** Bug 225609 has been marked as a duplicate of this bug. ***
this should not be an issue with current icedtea6 ebuilds in java overlay any more.
This is not our ebuild but geki's. Please close.