July 2, 2009
Eclipse, Mac OS, Ubuntu/Linux
1 Comment
Sometimes when you have more than one version of java running in your computer, Eclipse will get confuse and will not run properly especially when your JAVA_HOME is set to the java version that Eclipse does not like (sound like human).
To add java version to Eclipse:
- Exit your eclipse
- Locate your eclipse.ini file in eclipse folder. If you can’t find it, you can use locate command below:
[html]
lindaoctalina$ locate eclipse.ini
/Users/lindaoctalina/eclipse_folder/eclipse3.4.1/Eclipse.app/Contents/MacOS/eclipse.ini
- Open and edit eclipse.ini and add “-vm” and your java home before “-vmargs”:
* Mac
[html]
-vm
/System/Library/Frameworks/JavaVM.framework/Home
* Ubuntu
[html]
-vm
/usr/lib/jvm/java-6-sun
- Start up your eclipse again
Thanks to Oliver for helping me out
July 2, 2009
Eclipse
No Comments
After removing the workspace from the filesystem, the “removed” workspace will still appear when Eclipse is started. Thus, when you click on this workspace, an empty directory will be recreated in the filesystem.
To totally remove the workspace from Eclipse workspace list after you remove the workspace folder from the filesystem:
- close your eclipse
- Locate org.eclipse.ui.ide.prefs file in your ECLIPSE_HOME/configuration/.settings folder and remove unwanted workspace from “RECENT_WORKSPACES” list. *beware of the “\n”
*
- start your eclipse again and your “removed” workspace should not be in the workspace list
November 22, 2007
Eclipse, Python, Subversion
No Comments
Whenever I install eclipse, I always wasted my time searching for the update site. These are dependencies needed to install PyDev and Subsclipe in Eclipse (I assume that you know how to add the remote site and install those Eclipse packages):
- Mylar (Do not need anymore this since it’s com with pydev now)
Mylar is Subclipse dependencies. For Eclipse 3.3, Mylar had been changed to MyLyn, but when I “find and install” update for Subclipse, Eclipse still ask for Mylar package. Mylar update site is not available for Eclipse 3.3, so just use below update site, your Eclipse 3.3 will still work.
Update site:
http://downloads.open.collab.net/eclipse/update-site/e3.2/
- PyDev
Python 2.x must be installed in your system as PyDev will automatically configured to use Python 2.x in your system for interpreting and compiling your code.
Update site:
http://pydev.org/updates
or
http://pydev.sourceforge.net/updates/
- Subclipse
After you finish running Mylar package installation, restart your Eclipse and then add Subclipse update site.
Update site:
http://subclipse.tigris.org/update_1.6.x
- Maven
Update site:
http://m2eclipse.sonatype.org/update/
Have fun!