Home » Newcomers » Newcomers » Eclipse Only Works From Installer [SOLVED](Anyone know what the installer is doing to make eclipse run well?)
Eclipse Only Works From Installer [SOLVED] [message #1736242] |
Mon, 27 June 2016 15:36  |
Eclipse User |
|
|
|
I'm on linux, and if I try running the zip file, eclipse runs slower than molasses rolling uphill in the winter . I switch to the Oomph installer, and EUREKA! It works quickly again . Unfortunately, the excitment was short lived. The next time I tried to use eclipse (`~/eclipse/cpp-mars/eclipse/eclipse`), it was slow again . I tried to see what arguments the installer was using, but it appeared to just run `eclipse -vmargs -Duser.dir=/home/kenkron/eclipse/cpp-mars/eclipse`(which, run from terminal, was no better).
I'm using Ubuntu, 64 bit, java 8, Mars C++, etc., but it has to be something with the startup options, right? I mean, otherwise, why would eclipse work every time I reinstall and run from Oomph?
I'm attaching the workspace .log, if that helps
Attachment: .log
(Size: 33.96KB, Downloaded 102 times)
[Updated on: Sat, 02 July 2016 11:29] by Moderator
|
|
|
Re: Eclipse Only Works From Installer [message #1736307 is a reply to message #1736242] |
Tue, 28 June 2016 06:49   |
Eclipse User |
|
|
|
Most likely this is the result of the Oomph installer using GTK2
(because the eclipse-inst.ini specifies that option) and the processes
it launches inheriting that flag. Try adding these two lines before
the -vmargs in the installation's eclipse.ini:
--launcher.GTK_version
2
On 28.06.2016 02:29, christopher waugh wrote:
> I'm on linux, and if I try running the zip file, eclipse runs slower than molasses rolling uphill in the winter :( . I switch to the Oomph installer, and EUREKA! It works quickly again :) . Unfortunately, the excitment was short lived. The next time I tried to use eclipse (`~/eclipse/cpp-mars/eclipse/eclipse`), it was slow again :? . I tried to see what arguments the installer was using, but it appeared to just run `eclipse -vmargs -Duser.dir=/home/kenkron/eclipse/cpp-mars/eclipse`(which, run from terminal, was no better).
>
> I'm using Ubuntu, 64 bit, java 8, Mars C++, etc., but it has to be something with the startup options, right? I mean, otherwise, why would eclipse work every time I reinstall and run from Oomph?
>
> I'm attaching the workspace .log, if that helps
|
|
|
Re: Eclipse Only Works From Installer [message #1736837 is a reply to message #1736307] |
Sat, 02 July 2016 11:28  |
Eclipse User |
|
|
|
You, my friend, are a true hero! I put those lines in the .ini file, and it works perfectly.
...
-vm
/usr/lib/jvm/java-8-oracle/jre/bin
--launcher.GTK_version
2
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Declipse.p2.max.threads=10
...
|
|
|
Goto Forum:
Current Time: Thu Jul 17 07:17:13 EDT 2025
Powered by FUDForum. Page generated in 0.11719 seconds
|