View previous topic :: View next topic |
Author |
Message |
Massimo B. Veteran


Joined: 09 Feb 2005 Posts: 1868 Location: PB, Germany
|
Posted: Thu Nov 03, 2011 9:55 am Post subject: subversion cannot find icedtea JDK |
|
|
Hi.
The only similar report I found was [SOLVED] subversion can not find blackdown-jdk.
But here I'm using Gentoo-Prefix and icedtea-bin:
Code: | $ emerge --oneshot -atv subversion
...
[ebuild U ] dev-vcs/subversion-1.7.1 [1.7.0] USE="bash-completion berkdb java nls perl vim-syntax webdav-neon -apache2 -ctypes-python -debug -doc -dso -extras -gnome-keyring -kde -python -ruby -sasl -webdav-serf" 0 kB
...
!!! ERROR: The java executable was not found in the Java path
!!! ERROR: The javac executable was not found in the Java path
* Using: icedtea6-bin
...
configure: error: Cannot compile JavaHL without a suitable JDK.
Please specify a suitable JDK using the --with-jdk option. |
Code: | $ emerge --info
Portage 2.2.01.19572-prefix (prefix/linux/amd64, gcc-4.5.3, unavailable, 2.6.32-71.29.1.el6.x86_64 x86_64)
=================================================================
System uname: Linux-2.6.32-71.29.1.el6.x86_64-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9400_@_2.66GHz-with-centos-6.0-Final
Timestamp of tree: Tue, 01 Nov 2011 22:40:35 +0000
app-shells/bash: 4.2_p10
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.2
dev-util/cmake: 2.8.5-r2
dev-util/pkgconfig: 0.25-r2
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.11.1
sys-devel/binutils: 2.21.53.0.2
sys-devel/gcc: 4.5.3-r1
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool: 2.4-r01.1
sys-devel/make: 3.82
Repositories: gentoo_prefix mo_gentoo_prefix
Installed sets:
ACCEPT_KEYWORDS="~amd64-linux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/users/mo/gentoo/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles news notitles parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="\ ftp://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j4"
PKGDIR="/users/mo/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/users/mo/gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/users/mo/gentoo/var/tmp"
PORTDIR="/users/mo/gentoo/usr/portage"
PORTDIR_OVERLAY="/users/mo/gentoo/usr/local/portage"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="X amd64 apng bash-completion berkdb bzip2 cli cracklib crypt cxx dri fortran gcj gdbm hbci iconv ipv6 java jpeg mercurial mmx modules mudflap ncurses nls nptl nptlonly nsplugin openmp optimization pcre perl png pppd prefix qt3support readline session sse sse2 ssl subversion sysfs tcpd unicode vim-syntax xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
Code: | $ java-check-environment
* === Java Environment Checker ===
* The purpose of this script is to check the sanity of your Java Environment.
* We have significantly changed and improved the way Java is handled in many
* respects.
* Please refer to our upgrade guide for details:
* http://www.gentoo.org/proj/en/java/java-upgrade.xml
* Checking fastjar ... [ ok ]
* Checking vm_environment_files ... [ ok ]
* Checking user_settings ... [ ok ]
* Checking generation_1_system_vm ... [ ok ]
* Checking java_config_1 ... [ ok ]
* Checking global_classpath ...
grep: /etc/env.d/*: No such file or directory [ ok ]
* Checking virtual_provides ...
find: `/var/db/pkg': No such file or directory [ ok ]
* Checking overlays_eclasses ... [ ok ]
* Checking package_env ... [ ok ]
* Checking proc_mounted ... [ ok ]
* Java environment is sane. Congratulations! |
Code: | $ java-config -L
The following VMs are available for generation-2:
*) IcedTea6-bin 1.9.4 [icedtea6-bin]
2) Sun JDK 1.6.0.24 [sun-jdk-1.6] |
Code: | $ eselect java-vm list
Available Java Virtual Machines:
[1] icedtea6-bin system-vm
[2] sun-jdk-1.6 |
_________________ HP ZBook Power G9 i7-12700H|HP ProDesk 600 G5 i7-9700|HP EliteDesk 800 G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
 |
chiefbag Guru


Joined: 01 Oct 2010 Posts: 542 Location: The Kingdom
|
Posted: Thu Nov 03, 2011 10:03 am Post subject: |
|
|
You probably need to use the Sun jdk
|
|
Back to top |
|
 |
DaggyStyle Watchman


Joined: 22 Mar 2006 Posts: 5941
|
Posted: Thu Nov 03, 2011 11:48 am Post subject: |
|
|
afaik, IcedTea6-bin != IcedTea-JDK _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot 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
|
|