Gentoo Archives: gentoo-user

From: David Relson <relson@×××××××××××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] Java problem
Date: Sat, 22 May 2010 20:11:10
Message-Id: 20100522161039.2c52d639@osage.osagesoftware.com
1 Greetings,
2
3 I'd like to install eclipse, to experiment with it. Emerging
4 eclipse-sdk wants to pull in a whole lot of packages which is not a bad
5 thing except that about 12 or 15 of the emerges fail, apparently for
6 the same reason:
7
8 * CPV: dev-java/ant-core-1.8.1
9 * REPO: gentoo
10 * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU
11 !!! ERROR: Package ant-junit was not found!
12 * Unable to determine VM for building from dependencies:
13 NV_DEPEND: >=virtual/jdk-1.4
14 !dev-java/ant-tasks
15 !dev-java/ant-optional >=dev-java/java-config-2.1.9-r1
16 source? ( app-arch/zip )
17
18 >=dev-java/javatoolkit-0.3.0-r2
19 * ERROR: dev-java/ant-core-1.8.1 failed:
20 * Failed to determine VM for building.
21 *
22 * Call stack:
23 * ebuild.sh, line 48: Called pkg_setup
24 * ebuild.sh, line 1346: Called java-pkg-2_pkg_setup
25 * java-pkg-2.eclass, line 63: Called java-pkg_init
26 * java-utils-2.eclass, line 2126: Called java-pkg_switch-vm
27 * java-utils-2.eclass, line 2550: Called die
28 * The specific snippet of code:
29 * die "Failed to determine VM for
30 building."
31 *
32 * If you need support, post the output of 'emerge --info
33 =dev-java/ant-core-1.8.1',
34 * the complete build log and the output of 'emerge -pqv
35 =dev-java/ant-core-1.8.1'. !!! When you file a bug report, please
36 include the following information: GENTOO_VM= CLASSPATH=""
37 JAVA_HOME="" JAVACFLAGS="" COMPILER=""
38 and of course, the output of emerge --info
39
40 I do have virtual/jdk, dev-java/sun-jdk and many other dev-java and
41 java-virtuals packages installed and OpenOffice runs. As advised by
42 the "Gentoo Java Packaging Guide", I've created the following symlink:
43
44 HOME/.gentoo/java-config-2/current-user-vm
45 -> /etc/java-config-2/current-system-vm
46
47 Where/how are variables GENTOO_VM, CLASSPATH, JAVA_HOME, JAVACFLAGS, and
48 COMPILER supposed to be set ???
49
50 What else am I missing?
51
52 Thanks.
53
54 David

Replies

Subject Author
Re: [gentoo-user] Java problem Kenneth Prugh <ken69267@×××××.com>
[gentoo-user] Re: Java problem walt <w41ter@×××××.com>