Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » [SOLVED] Cannot launch Eclipse, installed by Oomph(Cannot launch an eclipse product, which was installed by Oomph-Installer)
icon3.gif  [SOLVED] Cannot launch Eclipse, installed by Oomph [message #1660964] Mon, 09 March 2015 12:18 Go to next message
Joachim Engelhardt is currently offline Joachim EngelhardtFriend
Messages: 53
Registered: September 2013
Member

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 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33218
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 Go to previous messageGo to next message
Joachim Engelhardt is currently offline Joachim EngelhardtFriend
Messages: 53
Registered: September 2013
Member

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 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33218
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/
icon3.gif  Re: Cannot launch Eclipse, installed by Oomph [message #1665780 is a reply to message #1663769] Wed, 11 March 2015 11:44 Go to previous messageGo to next message
Joachim Engelhardt is currently offline Joachim EngelhardtFriend
Messages: 53
Registered: September 2013
Member

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 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33218
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/
Previous Topic:[Solved] How to disable an annotation
Next Topic:EGit 4.0 & Oomph
Goto Forum:
  


Current Time: Thu Sep 26 13:56:24 GMT 2024

Powered by FUDForum. Page generated in 0.03005 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top