On 7/13/06, Richard Fish <[EMAIL PROTECTED]> wrote:
On 7/12/06, Kevin O'Gorman <[EMAIL PROTECTED]> wrote:
> I tried emerging eclipse.  No joy.  I went ~x86 on the unstable one
> that matches the
> version I use elsewhere, on the off chance that would work.  No joy.
>
> It seems to be saying I should know how to "set your generation-1 VM again"
> which I don't.  I have only Java 1.5 installed, which I gather is a problem 
for
> eclipse.  What should I be doing?

For current eclipse versions you need _both_ a 1.5 _and_ a 1.4 jdk
installed.  So install a 1.4 compatible jdk, along with
java-config-1.x, and use java-config-1 to set your "generation-1 VM".

-Richard
I have both:
* dev-java/sun-jdk
    Available versions:  ~1.2.2.017 1.3.1.17 ~1.3.1.17-r10
1.4.2.10-r2 ~1.4.2.12 1.5.0.07
    Installed:           1.4.2.10-r2 1.5.0.07

I've followed the Gentoo Java Upgrade Guide, and even recompiled gtk+
(two slots)
with milder CFLAGS because one of the ebuilds barked at me (I removed
-fomit-frame-pointer
and -msse2).  I think I got farther, because the error messages
changed, but I still cannot
emerge eclipse-sdk:

Would you like to merge these packages? [Yes/No] yes
Emerging (1 of 1) dev-util/eclipse-sdk-3.1.2-r3 to /
checking ebuild checksums ;-)
checking auxfile checksums ;-)
checking miscfile checksums ;-)
checking eclipse-sourceBuild-srcIncluded-3.1.2.zip ;-)
* Enabling generation-2 compatibility ...
* Using sun-jdk-1.4
                         [ ok ]
* Checking for at least 768MBytes RAM ...
                         [ ok ]
Detected a JDK >= 1.4.2
Unpacking source...
Unpacking eclipse-sourceBuild-srcIncluded-3.1.2.zip to
/var/tmp/portage/eclipse-sdk-3.1.2-r3/work
* Applying 06-path-fixups.patch ...
                         [ ok ]
* Setting up virtual machine
Detected a JDK < 1.5.0
* Cleaning out prebuilt code
* Patching makefiles
* Building GNOME VFS support
Source unpacked.
Compiling source in /var/tmp/portage/eclipse-sdk-3.1.2-r3/work ...
* Using bootclasspath
/opt/sun-jdk-1.4.2.12/jre/lib/rt.jar:/opt/sun-jdk-1.4.2.12/jre/lib/jsse.jar
* Using JVM library path /opt/sun-jdk-1.4.2.12/jre/lib/i386
Invalid implementation version between Ant core and Ant optional tasks.
core    : 1.6.5
optional: 1.6.2

!!! ERROR: dev-util/eclipse-sdk-3.1.2-r3 failed.
Call stack:
 ebuild.sh, line 1545:   Called dyn_compile
 ebuild.sh, line 940:   Called src_compile
 eclipse-sdk-3.1.2-r3.ebuild, line 115:   Called die

!!! Failed to bootstrap ecj
!!! If you need support, post the topmost build error, and the call
stack if relevant.

treat init.d #


--
Kevin O'Gorman, PhD
--
gentoo-user@gentoo.org mailing list

Reply via email to