Subscribe
Recent Tweets
About Me

I've worked as a consultant and software developer in the financial industry for over 10 years. I've worked for three of the top five Canadian banks in both retail banking and capital markets. I'm currently working with a small consulting firm in downtown Toronto.

« Free OSGi book! | Main
Sunday
Jun012008

Eclipse crash - Ubuntu 8.04 RESOLUTION

This little problem of Eclipse 3.x on Ubuntu 7+ crashing once in awhile… wait, sorry, make that every few minutes… has been driving me nuts. The good news is a simple workaround exists: launching Eclipse from the command line.

Here's an explanation, although the solution below is specific to Eclipse 3.2.

If you're running Eclipse 3.3 like me, these instructions explain how to use the Equinox launcher.

Or if you're in a rush, simply cut and paste this script, modify to your needs, chmod +x, execute from a terminal window, and you're rolling:

#!/bin/bash
# set path to eclipse folder. If local folder, use '.'; otherwise, use /path/to/eclipse/
eclipsehome="/opt/eclipse";

# get path to equinox jar inside $eclipsehome folder
cp=$(find $eclipsehome -name "org.eclipse.equinox.launcher_*.jar" | sort | tail -1);

# start Eclipse w/ java /usr/lib/jvm/jdk1.5.0_15/bin/java -cp $cp org.eclipse.equinox.launcher.Main ...

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>