From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OFv2M-0002w0-5C for garchives@archives.gentoo.org; Sat, 22 May 2010 20:11:10 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B62BEE0BF9; Sat, 22 May 2010 20:10:40 +0000 (UTC) Received: from mail.osagesoftware.com (osagesoftware.com [216.144.204.42]) by pigeon.gentoo.org (Postfix) with ESMTP id 8A86AE0BF9 for ; Sat, 22 May 2010 20:10:40 +0000 (UTC) Received: from osage.osagesoftware.com (osage.osagesoftware.com [192.168.1.10]) by mail.osagesoftware.com (Postfix) with ESMTP id E31F37BC48 for ; Sat, 22 May 2010 16:10:39 -0400 (EDT) Date: Sat, 22 May 2010 16:10:39 -0400 From: David Relson To: gentoo-user Subject: [gentoo-user] Java problem Message-ID: <20100522161039.2c52d639@osage.osagesoftware.com> Organization: Osage Software Systems, Inc. X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.9; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 49723875-f6b0-47ae-9fcc-628ab796d9d6 X-Archives-Hash: fcef2dfa25d1d544b6cd17dbf9d73c96 Greetings, I'd like to install eclipse, to experiment with it. Emerging eclipse-sdk wants to pull in a whole lot of packages which is not a bad thing except that about 12 or 15 of the emerges fail, apparently for the same reason: * CPV: dev-java/ant-core-1.8.1 * REPO: gentoo * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU !!! ERROR: Package ant-junit was not found! * Unable to determine VM for building from dependencies: NV_DEPEND: >=virtual/jdk-1.4 !dev-java/ant-tasks !dev-java/ant-optional >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip ) >=dev-java/javatoolkit-0.3.0-r2 * ERROR: dev-java/ant-core-1.8.1 failed: * Failed to determine VM for building. * * Call stack: * ebuild.sh, line 48: Called pkg_setup * ebuild.sh, line 1346: Called java-pkg-2_pkg_setup * java-pkg-2.eclass, line 63: Called java-pkg_init * java-utils-2.eclass, line 2126: Called java-pkg_switch-vm * java-utils-2.eclass, line 2550: Called die * The specific snippet of code: * die "Failed to determine VM for building." * * If you need support, post the output of 'emerge --info =dev-java/ant-core-1.8.1', * the complete build log and the output of 'emerge -pqv =dev-java/ant-core-1.8.1'. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info I do have virtual/jdk, dev-java/sun-jdk and many other dev-java and java-virtuals packages installed and OpenOffice runs. As advised by the "Gentoo Java Packaging Guide", I've created the following symlink: HOME/.gentoo/java-config-2/current-user-vm -> /etc/java-config-2/current-system-vm Where/how are variables GENTOO_VM, CLASSPATH, JAVA_HOME, JAVACFLAGS, and COMPILER supposed to be set ??? What else am I missing? Thanks. David