jump to navigation

Setting up subeclipse on eclipse 3.4 August 18, 2008

Posted by maxmil in : eclipse,Subversion , 3 comments

Having just installed eclipse 3.4 (gannymead) on my debian box it took a little bit of extra configuration to get subeclipse working due to the fact that i didn’t have the the JavaHL subversion client library installed.

These were the necessary steps with a fresh install of eclipse:

1) Download and install JavaHL. For debian this can be done using apt by installing the libsvn-java package.
2) Add the library to eclipse classpath by adding the following line to the -vmargs in eclipse.ini (check the installation path of the JavaHL library on your sistem
1) Create a new subeclipse update site. Window > Software Updates > Available Software > Add Site: http://subclipse.tigris.org/update_1.4.x
2) Open the subeclipse update site and select the Subeclipse and JavaHL Adapter categories. Note that even though JavaHL Adapter is marked as recommended it is required.
3) Install and restart.


Initial parameters eclipse July 31, 2007

Posted by maxmil in : eclipse,Java , add a comment

After continued problems with permGenSpace errors in eclipse i’ve found a configuration that works, initialize eclipse with the following parameters
-vmargs -Xms512m -Xmx512m -XX:MaxPermSize=256m -XX:PermSize=128m
The last two are the important ones (i could probably reduce them but i have 2Gb of RAM so i’m not too bothered).

This is what each parameter does:

ms: initial memory of the application
mx: maximum memory of the application
PermSize: additional memory used by the VM (by default configured to 32Mb)
MaxPermSize: maximum permanent memory

Eclipse implementor plugin September 6, 2006

Posted by maxmil in : eclipse , add a comment

In order to jump from implementations to interfaces and vice versa (i think i have’nt tried it yet) in eclipse this plugin looks useful


Increase VM memory for eclipse May 9, 2006

Posted by maxmil in : eclipse,Java,tomcat , 1 comment so far

Sometimes when running tomcat inside eclipse i've been getting VM out of memory errors.

To solve this problem..

Go to window->preferences->java-installed jre's->edit

and add the values:

-Xms512m -Xmx512m -Xss256k (or the amount of memory you want)

eclipse starts tomcat with those values.