public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Java problem
@ 2010-05-22 20:10 David Relson
  2010-05-22 21:35 ` Kenneth Prugh
  2010-05-23  3:41 ` [gentoo-user] " walt
  0 siblings, 2 replies; 21+ messages in thread
From: David Relson @ 2010-05-22 20:10 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2010-05-25 11:47 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-22 20:10 [gentoo-user] Java problem David Relson
2010-05-22 21:35 ` Kenneth Prugh
2010-05-23  0:43   ` David Relson
2010-05-23  0:51     ` Kenneth Prugh
2010-05-23  0:57       ` David Relson
2010-05-23  1:32         ` David Abbott
2010-05-23  4:30           ` Kenneth Prugh
2010-05-23  3:41 ` [gentoo-user] " walt
2010-05-23 13:24   ` David Relson
2010-05-23 14:32     ` Arttu V.
2010-05-23 14:57       ` David Relson
2010-05-23 15:16         ` Arttu V.
2010-05-23 16:53           ` David Relson
2010-05-23 16:24         ` walt
2010-05-23 16:56           ` David Relson
2010-05-23 18:01             ` walt
2010-05-24  1:26               ` David Relson
2010-05-24  1:43                 ` Kenneth Prugh
2010-05-24 11:11                 ` walt
2010-05-24 11:37                   ` David Relson
2010-05-25 11:46                     ` [gentoo-user] SOLVED " David Relson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox