* [gentoo-java] Problems with java-config
@ 2006-07-03 14:51 Dario Cavallaro
2006-07-03 18:31 ` Greg Tassone
0 siblings, 1 reply; 2+ messages in thread
From: Dario Cavallaro @ 2006-07-03 14:51 UTC (permalink / raw
To: gentoo-java
[-- Attachment #1: Type: text/plain, Size: 1445 bytes --]
io java-config-2 # java-config -l
!!! ERROR: The active vm could not be found
io java-config-2 # java-config -L
io java-config-2 # java-config -v
!!! ERROR: The active vm could not be found
io java-config-2 # java-config -r
!!! ERROR: The active vm could not be found
io java-config-2 # java-config -c
!!! ERROR: The active vm could not be found
io java-config-2 # env-update && source /etc/profile
>>> Regenerating /etc/ld.so.cache...
io java-config-2 # java-config -c
!!! ERROR: The active vm could not be found
io java-config-2 # java-config -o
!!! ERROR: The active vm could not be found
io java-config-2 # java-config -O
!!! ERROR: The active vm could not be found
io java-config-2 # java-config -J
!!! ERROR: The active vm could not be found
io java-config-2 # set | grep JAVA
JAVAC=/opt/blackdown-jdk-1.4.2.03/bin/javac
JAVA_HOME=/opt/blackdown-jdk-1.4.2.03
io subbia # javac
basename: missing operand
Try `basename --help' for more information.
Home for VM '' does not exist:
Invalid System VM:
io subbia # echo $CLASSPATH
.:/opt/blackdown-jdk-1.4.2.03/bin
Attached to this mail are emerge --info and emerging error that claims
me to investigate about my java configuration.
--
Saluti
Dario Cavallaro
--
registered user #403926
Linux Counter http://counter.li.org
www.lugag.it
www.no1984.org
Il LugAG (lug di Agrigento) ricicla vecchio hardware
per svariate iniziative. Ringraziamo tutti coloro che
non buttano cose ancora utili.
[-- Attachment #2: emerge_eclipse_ecj_error.txt --]
[-- Type: text/plain, Size: 5367 bytes --]
>>> Emerging (2 of 4) dev-java/eclipse-ecj-3.1-r13 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking eclipse-ecj-3.1-gentoo-r2.tar.bz2 ;-)
Traceback (most recent call last):
File "/usr/bin/depend-java-query", line 85, in ?
(options, args) = parser.parse_args()
File "/usr/lib64/python2.4/optparse.py", line 1275, in parse_args
stop = self._process_args(largs, rargs, values)
File "/usr/lib64/python2.4/optparse.py", line 1315, in _process_args
self._process_long_opt(rargs, values)
File "/usr/lib64/python2.4/optparse.py", line 1390, in _process_long_opt
option.process(opt, value, values, self)
File "/usr/lib64/python2.4/optparse.py", line 707, in process
return self.take_action(
File "/usr/lib64/python2.4/optparse.py", line 726, in take_action
self.callback(self, opt, value, parser, *args, **kwargs)
File "/usr/bin/depend-java-query", line 49, in get_vm
vm = verman.get_vm(value)
File "/usr/share/java-config-2/pym/java_config/VersionManager.py", line 131, in get_vm
raise Exception("Couldn't find suitable VM. Possible invalid dependency string.")
Exception: Couldn't find suitable VM. Possible invalid dependency string.
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
Traceback (most recent call last):
File "/usr/bin/depend-java-query", line 85, in ?
(options, args) = parser.parse_args()
File "/usr/lib64/python2.4/optparse.py", line 1275, in parse_args
stop = self._process_args(largs, rargs, values)
File "/usr/lib64/python2.4/optparse.py", line 1315, in _process_args
self._process_long_opt(rargs, values)
File "/usr/lib64/python2.4/optparse.py", line 1390, in _process_long_opt
option.process(opt, value, values, self)
File "/usr/lib64/python2.4/optparse.py", line 707, in process
return self.take_action(
File "/usr/lib64/python2.4/optparse.py", line 726, in take_action
self.callback(self, opt, value, parser, *args, **kwargs)
File "/usr/bin/depend-java-query", line 49, in get_vm
vm = verman.get_vm(value)
File "/usr/share/java-config-2/pym/java_config/VersionManager.py", line 131, in get_vm
raise Exception("Couldn't find suitable VM. Possible invalid dependency string.")
Exception: Couldn't find suitable VM. Possible invalid dependency string.
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
* Using:
>>> Unpacking source...
>>> Unpacking eclipse-ecj-3.1-gentoo-r2.tar.bz2 to /var/tmp/portage/eclipse-ecj-3.1-r13/work
Rewriting ./build.xml
>>> Source unpacked.
Traceback (most recent call last):
File "/usr/bin/depend-java-query", line 85, in ?
(options, args) = parser.parse_args()
File "/usr/lib64/python2.4/optparse.py", line 1275, in parse_args
stop = self._process_args(largs, rargs, values)
File "/usr/lib64/python2.4/optparse.py", line 1315, in _process_args
self._process_long_opt(rargs, values)
File "/usr/lib64/python2.4/optparse.py", line 1390, in _process_long_opt
option.process(opt, value, values, self)
File "/usr/lib64/python2.4/optparse.py", line 707, in process
return self.take_action(
File "/usr/lib64/python2.4/optparse.py", line 726, in take_action
self.callback(self, opt, value, parser, *args, **kwargs)
File "/usr/bin/depend-java-query", line 49, in get_vm
vm = verman.get_vm(value)
File "/usr/share/java-config-2/pym/java_config/VersionManager.py", line 131, in get_vm
raise Exception("Couldn't find suitable VM. Possible invalid dependency string.")
Exception: Couldn't find suitable VM. Possible invalid dependency string.
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
!!! ERROR: The active vm could not be found
>>> Compiling source in /var/tmp/portage/eclipse-ecj-3.1-r13/work/eclipse-ecj-3.1 ...
!!! ERROR: The active vm could not be found
usage: java-config [options]
Java Configuration Utility Version 2.0.22
Copyright 2004-2005 Gentoo Foundation
Distributed under the terms of the GNU General Public License v2
Please contact the Gentoo Java Herd <java@gentoo.org> with problems.
java-config-2: error: --classpath option requires an argument
Error: No JDK found!
Try using java-config script to set your JDK
Remember that you need a JDK not a JRE
!!! ERROR: dev-java/eclipse-ecj-3.1-r13 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
eclipse-ecj-3.1-r13.ebuild, line 25: Called eant 'jar'
java-utils-2.eclass, line 1200: Called die
!!! eant failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
[-- Attachment #3: emerge_info.txt --]
[-- Type: text/plain, Size: 2479 bytes --]
Gentoo Base System version 1.6.15
Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3200+
ccache version 2.3 [enabled]
dev-lang/python: 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.3
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -Os -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks fixpackages metadata-transfer nodoc sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa avi berkdb bitmap-fonts bluetooth cli crypt cups dbus divx4linux dlloader dri dvd dvdr dvdread eds emboss emul-linux-x86 encode fam ffmpeg flac foomaticdb fortran gif gpm gstreamer gtk gtk2 hal ieee1394 imlib ipv6 isdnlog java javamail jpeg kde lzw lzw-tiff mikmod mp3 mpeg ncurses nls nptl nsplugin ogg opengl pam pcmcia pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session smartcard spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb wifi wxwindows xine xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-java] Problems with java-config
2006-07-03 14:51 [gentoo-java] Problems with java-config Dario Cavallaro
@ 2006-07-03 18:31 ` Greg Tassone
0 siblings, 0 replies; 2+ messages in thread
From: Greg Tassone @ 2006-07-03 18:31 UTC (permalink / raw
To: gentoo-java
[-- Attachment #1: Type: text/plain, Size: 1356 bytes --]
Your message carries no introduction or background information other
than the obvious, so I'll try to address that. Are you running stable
versions of the Java packages, or are you running ~arch for any of them?
What versions are you running of:
* java-config-1.x
* java-config-2.x
* java-config-wrapper
Have you synced Portage in the last day or so?
On Mon, 2006-07-03 at 16:51 +0200, Dario Cavallaro wrote:
> io java-config-2 # java-config -l
> !!! ERROR: The active vm could not be found
...
> io java-config-2 # set | grep JAVA
> JAVAC=/opt/blackdown-jdk-1.4.2.03/bin/javac
> JAVA_HOME=/opt/blackdown-jdk-1.4.2.03
>
> io subbia # javac
> basename: missing operand
> Try `basename --help' for more information.
> Home for VM '' does not exist:
> Invalid System VM:
Before going any further, you need to fix your problems with your Java
environment. Don't bother trying to emerge eclipse packages or anything
else based on Java until this is resolved.
Have you read and followed the instructions in the Java Upgrade Guide?
http://www.gentoo.org/proj/en/java/java-upgrade.xml
It appears that there are problems with your environment pointing to the
wrong (a missing) Java runtime. If you've followed all of the steps in
the guide then report back and we'll help you from there.
~ Greg
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-03 18:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-03 14:51 [gentoo-java] Problems with java-config Dario Cavallaro
2006-07-03 18:31 ` Greg Tassone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox