Eclipse 3.3M5 is not working out of the box with Gentoo

At least not for me and at least not out of box using package from download.eclipse.org: eclipse-SDK-3.3M5-linux-gtk :)

ahti@ahtuxhome /opt/eclipse-SDK-3.3M5 $ ./eclipse
* run-java-tool is not available for sun-jdk-1.6 on i686
* IMPORTANT: some Java tools are not available on some VMs on some architectures

This problem is with any JRE and nichoj from #gentoo-java seems to have a pretty good explanation:
“At some point, it must be trying to be smart, and figure out what /usr/bin/java points to, and trying to invoke that. Which does point to run-java-tool,but that shouldn’t be invoked directly.”

To run your gentoo box with the latest and most amazing milestone ever please cajole your gentoo-beauty with following:

./eclipse -vm $(java-config –java)

5 Comments

  1. Enter a bug report.

    Posted February 12, 2007 at 4:39 pm | Permalink
  2. I guess there already is a bug filed for this but currently I’m unable to find it.

    btw, another workaround is to symlink /opt/sun-jdk-1.6.0/jre to /opt/eclipse/jre and eclipse launcher will pick it up.

    Posted February 13, 2007 at 10:59 am | Permalink
  3. Quote from the new and noteworthy notes:
    “The native Eclipse launcher has been rewritten to use JNI calls as much as possible. The Java VM will be started in-process using the JNI Invocation API unless the -vm argument points directly to a Java launcher.
    Among other advantages, this change allows for SWT widgets to be used in the splash screen. As well, the splash screen can appear much earlier if the product is set up properly.”

    So, when they improve the splash screen, you won’t see it properly if you use the -vm param.

    Shadow
    Posted February 13, 2007 at 5:25 pm | Permalink
  4. I just filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=176021 because I didn’t find a bug entry – maybe it’s a duplicate, but just to be safe…

    Volker Wegert
    Posted March 1, 2007 at 3:57 pm | Permalink
  5. Hi
    I am using ubuntu 7.10, I downloaded and installed the eclipese 3.3.0 version for linux and could not create a java project. When i launch eclipse it notifies me that it could not open view. In the details section org.eclipse.core.plugin is displayed. The help pages are not displayed as well. Please help me with this. I am student and have to complete a lot of assignments

    ranga
    Posted April 22, 2008 at 3:40 am | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Anti-Spam Protection by WP-SpamFree