Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586810 - dev-java/icedtea-web-1.6.2 - configure: error: JDK7 or newer is required, detected was:
Summary: dev-java/icedtea-web-1.6.2 - configure: error: JDK7 or newer is required, det...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
Keywords: PullRequest
Depends on:
Reported: 2016-06-23 14:46 UTC by Martin Mokrejš
Modified: 2022-06-20 07:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2016-06-23 14:46:00 UTC
Seems there should be some JDK required already in the ebuild file:

./configure --prefix=/scratch/mmokrejs/gentoo/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/scratch/mmokrejs/gentoo/usr/share/man --infodir=/scratch/mmokrejs/gentoo/usr/share/info --datadir=/scratch/mmokrejs/gentoo/usr/share --sysconfdir=/scratch/mmokrejs/gentoo/etc --localstatedir=/scratch/mmokrejs/gentoo/var/lib --disable-dependency-tracking --disable-silent-rules --program-transform-name=s/^javaws$/itweb-javaws/ --libdir=/scratch/mmokrejs/gentoo/usr/lib/nsbrowser/plugins --with-java=/scratch/mmokrejs/gentoo/usr/bin/java --with-jdk-home=/scratch/mmokrejs/gentoo/opt/icedtea-bin-3.0.1 --disable-docs --disable-plugin --without-rhino --without-tagsoup


checking for a JDK home directory... /scratch/mmokrejs/gentoo/opt/icedtea-bin-3.0.1 (link to /scratch/mmokrejs/gentoo/opt/icedtea-bin-3.0.1)
checking for javac... /scratch/mmokrejs/gentoo/opt/icedtea-bin-3.0.1/bin/javac
checking for ecj... no
checking for ecj-3.1... no
checking for ecj-3.2... no
checking for ecj-3.3... no
checking if we are using ecj as javac... no
checking for jar... /scratch/mmokrejs/gentoo/opt/icedtea-bin-3.0.1/bin/jar
checking whether jar supports @<file> argument... no
checking whether jar supports stdin file arguments... no
checking whether jar supports -J options at the end... no
checking for an ecj JAR file... no
checking for a JRE home directory... /scratch/mmokrejs/gentoo/opt/icedtea-bin-3.0.1/jre (link to /scratch/mmokrejs/gentoo/opt/icedtea-bin-3.0.1/jre)
checking for a Java virtual machine... /scratch/mmokrejs/gentoo/usr/bin/java
checking JDK version... 
configure: error: JDK7 or newer is required, detected was: 

!!! Please attach the following file when seeking support:
!!! /scratch/mmokrejs/gentoo/var/tmp/portage/dev-java/icedtea-web-1.6.2/work/icedtea-web-1.6.2/config.log
 * ERROR: dev-java/icedtea-web-1.6.2::gentoo_prefix failed (configure phase):
 *   econf failed
 * Call stack:
 *     , line  133:  Called __call-ebuildshell 'src_configure'
 *     , line  542:  Called src_configure
 *             environment, line 4521:  Called econf '--program-transform-name=s/^javaws$/itweb-javaws/' '--libdir=/scratch/mmokrejs/gentoo/usr/lib/nsbrowser/plugins' '--with-java=/scratch/mmokrejs/gentoo/usr/bin/java' '--with-jdk-home=/scratch/mmokrejs/gentoo/opt/icedtea-bin-3.0.1' '--disable-docs' '--disable-plugin' '--without-rhino' '--without-tagsoup'
 *, line  662:  Called __helpers_die 'econf failed'
 *, line  117:  Called die
 * The specific snippet of code:
 *              die "$@"
 * If you need support, post the output of `emerge --info '=dev-java/icedtea-web-1.6.2::gentoo_prefix'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/icedtea-web-1.6.2::gentoo_prefix'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-bin-8  CLASSPATH="" JAVA_HOME=""
and of course, the output of emerge --info =icedtea-web-1.6.2
 * The complete build log is located at '/scratch/mmokrejs/gentoo/var/tmp/portage/dev-java/icedtea-web-1.6.2/temp/build.log'.
 * The ebuild environment file is located at '/scratch/mmokrejs/gentoo/var/tmp/portage/dev-java/icedtea-web-1.6.2/temp/environment'.
 * Working directory: '/scratch/mmokrejs/gentoo/var/tmp/portage/dev-java/icedtea-web-1.6.2/work/icedtea-web-1.6.2'
 * S: '/scratch/mmokrejs/gentoo/var/tmp/portage/dev-java/icedtea-web-1.6.2/work/icedtea-web-1.6.2'
Comment 1 James Le Cuirot gentoo-dev 2016-07-10 21:50:56 UTC
This is probably prefix-related. What is the output of...

/scratch/mmokrejs/gentoo/usr/bin/java -version
Comment 2 Martin Mokrejš 2016-07-11 08:34:29 UTC
$ /scratch/mmokrejs/gentoo/usr/bin/java -version
/scratch/mmokrejs/gentoo/opt/icedtea-bin-3.0.1/bin/java: /lib64/ version `GLIBC_2.14' not found (required by /scratch/mmokrejs/gentoo/opt/icedtea-bin-3.0.1/bin/../lib/amd64/jli/
$ java-config -L
The following VMs are available for generation-2:
*)      IcedTea JDK 3.0.1 [icedtea-bin-8]

Hmm, well this (no java installable) was the main reason why I tried to move from Gentoo:Prefix to Gentoo:RAP. I understand you do not want to maintain "old" java versions but I cannot even install icedtea (have just opened bug #588578).
Comment 3 Larry the Git Cow gentoo-dev 2022-06-20 07:41:13 UTC
The bug has been closed via the following commit(s):

commit f6d64b078ac431a26142e7bd0f81852492003cee
Author:     Volkmar W. Pogatzki <>
AuthorDate: 2022-06-20 05:21:53 +0000
Commit:     Florian Schmaus <>
CommitDate: 2022-06-20 06:49:26 +0000

    dev-java/icedtea-web: drop 1.8.4-r1, 1.8.8
    Signed-off-by: Volkmar W. Pogatzki <>
    Signed-off-by: Florian Schmaus <>

 dev-java/icedtea-web/Manifest                    |  1 -
 dev-java/icedtea-web/icedtea-web-1.8.4-r1.ebuild | 94 ------------------------
 dev-java/icedtea-web/icedtea-web-1.8.8.ebuild    | 94 ------------------------
 3 files changed, 189 deletions(-)