[Bug 2929] New: configure: error: "A JDK home directory could not be found."
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Tue Apr 12 00:49:51 UTC 2016
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2929
Bug ID: 2929
Summary: configure: error: "A JDK home directory could not be
found."
Product: IcedTea
Version: 2.6.4
Hardware: x86
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: IcedTea
Assignee: gnu.andrew at redhat.com
Reporter: yugiohjcj at 1s.fr
CC: unassigned at icedtea.classpath.org
Hello,
I try to build IcedTea 2.6.4 on Slackware 14.1 with the gcj 5.3.0.
I do:
$ ./configure --prefix=/usr
checking for a BSD-compatible install... /bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking which branch and release of IcedTea is being built... branch 2.6,
release 2.6.4 for OpenJDK 1.7.0
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for gmake... /usr/bin/gmake
checking for gzip... /bin/gzip
checking for ant...
/home/yugiohjcj/documents/downloads/software/apache-ant-1.9.4/bin/ant
checking for gfind... no
checking for find... /usr/bin/find
checking for gpatch... no
checking for patch... /usr/bin/patch
checking for gtar... no
checking for tar... /bin/tar
checking for chmod... /bin/chmod
checking for gsha256sum... no
checking for sha256sum... /bin/sha256sum
checking for wget... /usr/bin/wget
checking for zip... /usr/bin/zip
checking for unzip... /usr/bin/unzip
checking for cpio... /bin/cpio
checking for file... /usr/bin/file
checking for readlink... /bin/readlink
checking for fastjar... /usr/bin/fastjar
checking for gsed... no
checking for sed... /bin/sed
checking for ldd... ldd
checking for gawk... /bin/gawk
checking for hg... /usr/bin/hg
checking for an OpenJDK source directory... /tmp/build/icedtea-2.6.4/openjdk
checking for IcedTea Mercurial revision ID... none
checking for JDK Mercurial revision ID... none
checking for HotSpot Mercurial revision ID... none
checking for lsb_release... no
checking whether to use CACAO as VM... no
checking whether to use JamVM as VM... no
checking whether to use the Shark JIT... no
checking if a native HotSpot port is available for this architecture... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether to use the zero-assembler port... no
checking whether byte ordering is bigendian... no
checking which HotSpot build to use... default
checking for linux32... /usr/bin/linux32
checking version of GCC... 5.3.0 (major version 5, minor version 3)
checking for getconf... /usr/bin/getconf
checking the number of online processors... 2
checking if cp supports --reflink... yes
checking if we can hard link rather than copy from /tmp/build/icedtea-2.6.4...
yes
checking whether to disable the execution of the JTReg tests... no
checking whether to disable the execution of the HotSpot JTReg tests... no
checking whether to disable the execution of the langtools JTReg tests... no
checking whether to disable the execution of the JDK JTReg tests... no
checking for system library directory...
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to enable the PKCS11 crypto provider using NSS... disabled by
default (edit java.security to enable)
checking for NSS... yes
checking whether to enable the Sun elliptic curve crypto provider... no
checking whether to build native code with debugging information... yes
checking whether to build Java bytecode with debugging information... yes
checking where fonts are stored... /usr/share/fonts
checking if /usr/share/fonts is a valid directory... yes
checking for xvfb-run... no
checking whether to build documentation... yes
checking for distribution package version... none
checking build identification... Custom build (Tue Apr 12 02:22:04 CEST 2016)
checking how many parallel build jobs to execute... 2
checking whether to build a bootstrap version first... yes
checking whether to download tarballs... yes
checking for a JDK home directory... not specified
checking for /usr/lib/jvm/java-gcj... not found
checking for /usr/lib/jvm/gcj-jdk... not found
checking for /usr/lib/jvm/cacao... not found
checking for /usr/lib/jvm/icedtea-7... not found
checking for /usr/lib/jvm/icedtea7... not found
checking for /usr/lib/jvm/java-7-openjdk... not found
checking for /usr/lib/jvm/java-1.7.0-openjdk... not found
checking for /usr/lib/jvm/java-1.7.0-openjdk.x86_64... not found
checking for /usr/lib64/jvm/java-1.7.0-openjdk... not found
checking for /usr/lib/jvm/java-1.7.0... not found
checking for /usr/lib/jvm/icedtea-6... not found
checking for /usr/lib/jvm/icedtea6... not found
checking for /usr/lib/jvm/java-6-openjdk... not found
checking for /usr/lib/jvm/java-1.6.0-openjdk... not found
checking for /usr/lib/jvm/java-1.6.0-openjdk.x86_64... not found
checking for /usr/lib64/jvm/java-1.6.0-openjdk... not found
checking for /usr/lib/jvm/java-1.6.0... not found
checking for /usr/lib/jvm/java-openjdk... not found
checking for /usr/lib/jvm/openjdk... not found
checking for /usr/lib/jvm/java-icedtea... not found
checking for /etc/alternatives/java_sdk_openjdk... not found
configure: error: "A JDK home directory could not be found."
Some information about my gcj:
1) Compiled with:
../configure --prefix=/usr --enable-languages=c,c++,java --enable-java-home
2) Version:
$ gcj --version
gcj (GCC) 5.3.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
3) Compiled with ecj-4.9:
ftp://sourceware.org/pub/java/ecj-4.9.jar
4) Content of the SDK directory:
$ tree /usr/lib/jvm
/usr/lib/jvm
|-- bin
| |-- appletviewer -> ../../../bin/gappletviewer
| |-- jar -> ../../../bin/gjar
| |-- jarsigner -> ../../../bin/gjarsigner
| |-- java -> ../../../bin/gij
| |-- javadoc -> ../../../bin/gjdoc
| |-- javah -> ../../../bin/gjavah
| |-- keytool -> ../../../bin/gkeytool
| |-- native2ascii -> ../../../bin/gnative2ascii
| |-- orbd -> ../../../bin/gorbd
| |-- rmic -> ../../../bin/grmic
| |-- rmid -> ../../../bin/grmid
| |-- rmiregistry -> ../../../bin/grmiregistry
| |-- serialver -> ../../../bin/gserialver
| `-- tnameserv -> ../../../bin/gtnameserv
|-- include
| |-- jawt.h ->
../../../bin/../lib/gcc/i686-pc-linux-gnu/5.3.0/include/jawt.h
| |-- jni.h -> ../../../bin/../lib/gcc/i686-pc-linux-gnu/5.3.0/include/jni.h
| `-- linux
| |-- jawt_md.h ->
../../../../bin/../lib/gcc/i686-pc-linux-gnu/5.3.0/include/jawt_md.h
| `-- jni_md.h ->
../../../../bin/../lib/gcc/i686-pc-linux-gnu/5.3.0/include/jni_md.h
|-- jre
| |-- bin
| | |-- java -> ../../../../bin/gij
| | |-- keytool -> ../../../../bin/gkeytool
| | |-- orbd -> ../../../../bin/gorbd
| | |-- rmid -> ../../../../bin/grmid
| | |-- rmiregistry -> ../../../../bin/grmiregistry
| | `-- tnameserv -> ../../../../bin/gtnameserv
| `-- lib
| |-- i386
| | |-- client
| | | `-- libjvm.so -> ../../../../../gcj-5.3.0-16/libjvm.so
| | |-- libjawt.so -> ../../../../gcj-5.3.0-16/libjawt.so
| | `-- server
| | `-- libjvm.so -> ../../../../../gcj-5.3.0-16/libjvm.so
| |-- rt.jar -> ../../../../share/java/libgcj-5.3.0.jar
| `-- security
| `-- java.security -> ../../../../security/classpath.security
`-- lib
`-- tools.jar -> ../../../share/java/libgcj-tools-5.3.0.jar
11 directories, 30 files
As my gcj is working I am wondering why IcedTea can't find my JDK home
directory.
Why I got this error please?
Thank you.
Best regards.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20160412/eea44571/attachment-0001.html>
More information about the distro-pkg-dev
mailing list