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)

  • http://eclipse.org John Arthorne

    Enter a bug report.

  • http://ahtik.com Ahti

    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.

  • Shadow

    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.

  • Volker Wegert

    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…

  • ranga

    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