Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 36596 Details for
Bug 52263
First launch of eclipse-sdk-3.0.0_pre8-r3 crashes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
modified launcher
eclipse-2 (text/plain), 1.58 KB, created by
Dan Clemmensen
on 2004-08-01 12:24:47 UTC
(
hide
)
Description:
modified launcher
Filename:
MIME Type:
Creator:
Dan Clemmensen
Created:
2004-08-01 12:24:47 UTC
Size:
1.58 KB
patch
obsolete
>#! /bin/sh ># ># Tiny startup wrapper for the Eclipse 2.1.x series ># ># Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org> ># Copyright (c) 2004, Gentoo Foundation ># ># Licensed under the GNU General Public License, version 2 ># > >if [ -f $HOME/.eclipserc ] ; then > . $HOME/.eclipserc >fi > >if [ -z "${ECLIPSE_HOME}" ] ; then > ECLIPSE_HOME=/usr/lib/eclipse-2 >fi > >if [ "${PREFERRED_FRONTEND}" == "gtk" ] && [ -x ${ECLIPSE_HOME}/eclipse-gtk ] ; then > ECLIPSE_BIN=${ECLIPSE_HOME}/eclipse-gtk >elif [ "${PREFERRED_FRONTEND}" == "motif" ] && [ -x ${ECLIPSE_HOME}/eclipse-motif ] ; then > ECLIPSE_BIN=${ECLIPSE_HOME}/eclipse-motif >else > if [ -x "${ECLIPSE_HOME}/eclipse-gtk" ] ; then > ECLIPSE_BIN=${ECLIPSE_HOME}/eclipse-gtk > elif [ -x "${ECLIPSE_HOME}/eclipse-motif" ] ; then > ECLIPSE_BIN=${ECLIPSE_HOME}/eclipse-motif > fi >fi > >if [ ! -x "${ECLIPSE_BIN}" ] ; then > echo "Failed to find executable '${ECLIPSE_BIN}'" > /dev/stderr > exit -1 >fi ># Workaround for a library problem. Without these two lines, the JVM finds ># the wrong zip library, and eclipes crashes. I do not know if this is the "correct" fix ># This fix depends on the $JAVA_HOME environment variable to point to the correct ># Java SDK (Sun, blackdown, IBM, whatever.) ># For example, if you did an emerge blackdown, you can set ># export JAVA_HOME=/opt/blackdown-jdk-1.4.1 >if [ -z "$JAVA_HOME" ] ; then > echo "\$JAVA_HOME is not set in your environment, but I need it to work around a bug." > exit -1 >fi >LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/i386:$JAVA_HOME/jre/lib/i386/client \ >LD_PRELOAD=$JAVA_HOME/jre/lib/i386/libzip.so \ >${ECLIPSE_BIN} $*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 52263
:
32205
| 36596