Home » Eclipse Projects » Oomph » [SOLVED] Cannot launch Eclipse, installed by Oomph(Cannot launch an eclipse product, which was installed by Oomph-Installer)
[SOLVED] Cannot launch Eclipse, installed by Oomph [message #1660964] |
Mon, 09 March 2015 12:18 |
|
Hello,
after I installed an Eclipse product (Eclipse Modeling Tools) using the Oomph-Installer, I cannot launch the eclipse executable.
The program closes immediately. I can only see the splash screen for a split second. There are no logs in /configuration.
After the installation, Oomph starts the product correctly and also a restart of the immediately started eclipse Installation works fine. But if I close Eclipse and open it by launching the eclipse.exe, it won't start as explained.
The environment is configured with
- Windows 7, 32bit
- JDK1.8,0, 32bit
- Oomph-Installer, 32bit
It neither works using bundle pool nor without using bundle pool.
All pathes in the eclipse.ini seems to be correct.
I have no idea, what could be the reason for this behavior, but I'm quite sure, that the Oomph installer does anything wrong during the installation / configuration of the product. Already existing bundles, which was "installed" by the usual way using eclipse.org/download page work properly.
Does anybody has a hint for me, what else I can try?
[Updated on: Wed, 11 March 2015 14:02] Report message to a moderator
|
|
|
Re: Cannot launch Eclipse, installed by Oomph [message #1661284 is a reply to message #1660964] |
Mon, 09 March 2015 15:09 |
Ed Merks Messages: 33258 Registered: July 2009 |
Senior Member |
|
|
Joachim,
Perhaps there are other clues in the workspace/.metadata/.log.
On 09/03/2015 1:18 PM, Joachim Engelhardt wrote:
> Hello,
>
> after I installed an Eclipse product (Eclipse Modeling Tools) using
> the Oomph-Installer, I cannot launch the eclipse executable.
> The program closes immediately. I can only see the splash screen for a
> split second. There are no logs in /configuration.
>
> After the installation, Oomph starts the product correctly and also a
> restart of the immediately started eclipse Installation works fine.
> But if I close Eclipse and open it by launching the eclipse.exe, it
> won't start as explained.
>
> The environment is configured with
>
> Windows 7, 32bit
> JDK1.8,0, 32bit
> Oomph-Installer, 32bit
>
> It neither works using bundle pool nor without using bundle pool.
> All pathes in the eclipse.ini seems to be correct.
>
> I have no idea, what could be the reason for this behavior, but I'm
> quite sure, that the Oomph installer does anything wrong during the
> installation / configuration of the product. Already existing bundles,
> which was "installed" by the usual way using eclipse.org/download page
> work properly.
>
> Does anybody has a hint for me, what else I can try?
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: Cannot launch Eclipse, installed by Oomph [message #1663584 is a reply to message #1661284] |
Tue, 10 March 2015 13:48 |
|
Hi Ed,
Which workspace do you mean? When launching, Eclipse does not even comes to the workspace selection. It closes actually immediately. I'm quite sure, that the behavior has to do with the 32bit architecture, but I have no idea how to figure out the problem in detail.
Is there a default workspace, which is used before the workspace selection dialog?
|
|
|
Re: Cannot launch Eclipse, installed by Oomph [message #1663769 is a reply to message #1663584] |
Tue, 10 March 2015 15:30 |
Ed Merks Messages: 33258 Registered: July 2009 |
Senior Member |
|
|
Joachim,
You're right if it fails very early before getting that far. The latest
version lets you choose which VM to use and saves the information in the
eclipse.ini. It should select an appropriately high version with an
appropriate bitness automatically, but that should be something you can
double check looking at the -vm option details in the eclipse.ini.
On 10/03/2015 2:48 PM, Joachim Engelhardt wrote:
> Hi Ed,
>
> Which workspace do you mean? When launching, Eclipse does not even
> comes to the workspace selection. It closes actually immediately. I'm
> quite sure, that the behavior has to do with the 32bit architecture,
> but I have no idea how to figure out the problem in detail.
> Is there a default workspace, which is used before the workspace
> selection dialog?
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: Cannot launch Eclipse, installed by Oomph [message #1665780 is a reply to message #1663769] |
Wed, 11 March 2015 11:44 |
|
The -vm argument points to the correct JVM location.
But we now found the actual reason for the problem:
The -Xmx parameter is set to 2048m which causes a
could not reserve enough space for 1097142kb object heap
We found out this by running eclipse in the console using eclipsec.exe.
So this is the reason why eclipse won't launch, but where does the parameter Xmx2048m comes from. In installations on other computers, this value is set to 512m.
If I change the value manually to -Xmx512m, it will replaced on a restart to -Xmx2048m again.
Does Oomph store this value anywhere and if so, then where can I change it or at least reset it?
EDIT:
I also found out the origin of this value: It comes from the oomph setup, where it is a default value for any new setup files based on the eclipse.org template.
This value didn't appear in the eclipse.ini of other installations which does not already have imported a setup.
Finally: Problem solved!
[Updated on: Wed, 11 March 2015 14:01] Report message to a moderator
|
|
|
Re: Cannot launch Eclipse, installed by Oomph [message #1666066 is a reply to message #1665780] |
Wed, 11 March 2015 14:24 |
Ed Merks Messages: 33258 Registered: July 2009 |
Senior Member |
|
|
Joachim,
Comments below.
On 11/03/2015 12:44 PM, Joachim Engelhardt wrote:
> The -vm argument points to the correct JVM location.
>
> But we now found the actual reason for the problem:
> The -Xmx parameter is set to 2048m which causes a
> could not reserve enough space for 1097142kb object heap
Ah, yes, on a 32 bit VM that's too much! This value is often encoded
as an EclipseIni task in project setups. You'll see such a task on the
confirmation page so you could disable it. You could also specify such
a task in your user.setup to override the value to something much
smaller. Please open a bugzilla for this problem.
> We found out this by running eclipse in the console using eclipsec.exe.
>
> So this is the reason why eclipse won't launch, but where does the
> parameter Xmx2048m comes from. In installations on other computers,
> this value is set to 512m.
This value is often way too small for larger projects with many tools
installed and with a large workspace...
>
> If I change the value manually to -Xmx512m, it will replaced on a
> restart to -Xmx2048m again.
>
> Does Oomph store this value anywhere and if so, then where can I
> change it or at least reset it?
All I can suggest right now is to create an Eclipse Ini task in your
user.setup, or better would be to use a 64 bit VM which can handle much
larger heaps.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Goto Forum:
Current Time: Fri Dec 06 14:19:31 GMT 2024
Powered by FUDForum. Page generated in 0.03686 seconds
|