This will install the required packages, however, Eclipse will run very slowly since it will be using GNU's java, not Sun's. We now need to make Sun's java the default.
Lastly, if you have lots of memory you may want to increase the heap size (warning: If you make the heap size too large then parts of eclipse will continuously swap in and out.).The settings can be altered by editing the eclipse.ini file.
The argument Xms refers to the minimum heap size and Xmx refers to the maximum heap size.
Thanks seems to work like a charm with the heap size change.
It goes through the whole effort and then pops up a window (in terminal that looks like the old DOS editors (blur backround – no options) and when I close it all, the terminal window is closed and the app is not installed .. also cannot execute anything else..
I only have /etc/jvm.d not the /usr/lib/eclipse/ ???
Furthermore I think your assistance is great., Have used it for other things..
I had the same problem, simply redoing the steps described solved my problem.
I am a newbie myself. I am not sure if I am getting your question right but I hope this helps. Press tab and the ‘OK’ on the DOS like screen will be highlighted. Now press enter.
thanks for your article. i linked to it when blogging about using Subclipse together with Eclipse Ganymede.
Nice tutorial but that installs eclipse 3.2 which is almost 3 years old. This June eclipse 3.5 will be out. With eclipse your best bet is to just download and install from the elipse.org site.
Is there a way not to download gcj?
1. The workspace points to root/workspace3.2 and isnot accepted. Thinks that is is use. I had to remove all folders for $workspace.
3. The IDE does not have a splash, or java perspective. I attempt a ‘Software Update’ and that fixes some things – now I have a java perspective.
The version is old – how do I get rid of this ans isntall the newest?
can’t see the documentation for the standard system libraries. I have downloaded the docs for java-6-sun.
For Ubuntu 9.10, and Eclipse Galileo downloaded separately from site using the Sun JDK, to fix the non-responding buttons (you will recognise them…) use “export GDK_NATIVE_WINDOWS=1” before running or in a script. To fix extremely slow rendering, use “-Dsun.java2d.opengl=true” in the run configuration option for the JVM. This also speeds up any separate slow Java apps ‘cos opengl pipeline not enabled by default, fallback is software rendering.
Thanks, I know this is an old post, but it just fixed a problem I was having in Eclipse. I wasn’t able to submit files larger than 30kb to my SVN repository. Eclipse would fail on commit with the error “An internal error has occurred during “SVN Commit”.” Following the commands you listed fixed the problem.
Thanks Jeff, the “export GDK_NATIVE_WINDOWS=1” saved me big time !
The custom VM you have chosen is not a valid executable.
Great thanks for the “GDK_NATIVE_WINDOWS=1” advice.
But I’m working on a Plug-In and need to run an Eclipse instance from Eclipse itself (Run As => Eclipse Application) from time to time.
When I do this, the new Eclipse instance comes with the button errors.
How do I get the “GDK_NATIVE_WINDOWS=1” into the Run Configuration?
not so easy…. after adding /usr/lib/jvm/java-6-sun and saving the file an error message occured: Could not find the file /etc/eclipse/java_home.
> How do I get the “GDK_NATIVE_WINDOWS=1? into the Run Configuration?
Found out myself: There is a tab called “Environment” in the Run Configuration. Just add the variable there.
I followed all of the steps, but there’s no “eclipse” folder in the “etc” folder to go into to edit the file to fix the bug.
I have the same problem of not having an eclipse folder in the etc directory. So is this a problem?? and if so how do I fix this?