Bug 538204 - Mac OS X 10.7.5 - Installer crashes on launch
Summary: Mac OS X 10.7.5 - Installer crashes on launch
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.8   Edit
Hardware: Macintosh Mac OS X
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2018-08-23 08:28 EDT by Björn Schönrock CLA
Modified: 2018-11-20 16:10 EST (History)
3 users (show)

See Also:


Attachments
Installer crash report (2.61 KB, text/plain)
2018-08-23 08:28 EDT, Björn Schönrock CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Schönrock CLA 2018-08-23 08:28:57 EDT
Created attachment 275504 [details]
Installer crash report

I am currently using Eclipse Mars on Mac OS X 10.7.5 and want to upgrade to Eclipse Photon. However, when I tried to start the Installer, it crashed immediately on launch. I have attached the crash report I got as a txt file.
Comment 1 Dani Megert CLA 2018-08-23 12:27:46 EDT
(In reply to Björn Schönrock from comment #0)
> Created attachment 275504 [details]
> Installer crash report
> 
> when I tried to start the Installer, it crashed
> immediately on launch. I have attached the crash report I got as a txt file.

Can you point to the link that you used to get the installer?

Is there anything in the .log?
Comment 2 Ed Merks CLA 2018-08-23 12:37:05 EDT
One word of advice too.  It seems that the Mac often "randomizes" file locations in the downloads folder.

Get the latest installer from 

https://www.eclipse.org/downloads/

Unpack it somewhere other than your downloads folder.

And report back...
Comment 3 Björn Schönrock CLA 2018-08-23 12:38:09 EDT
As far as I know it's this one: https://www.eclipse.org/downloads/download.php?file=/oomph/epp/photon/R/eclipse-inst-mac64.tar.gz&mirror_id=17
I wouldn't know where to find a .log as it was the Installer that crashed and not Eclipse itself.
Comment 4 Dani Megert CLA 2018-08-23 12:42:52 EDT
(In reply to Björn Schönrock from comment #3)
> As far as I know it's this one:
> https://www.eclipse.org/downloads/download.php?file=/oomph/epp/photon/R/eclipse-inst-mac64.tar.gz&mirror_id=17
> 
> I wouldn't know where to find a .log as it was the Installer that crashed
> and not Eclipse itself.

The installer is built on Eclipse :-).
Comment 5 Björn Schönrock CLA 2018-08-23 12:43:17 EDT
Unpacking outside of download folder makes no difference.
Comment 6 Björn Schönrock CLA 2018-08-23 12:43:44 EDT
Well, where should I find a .log then?
Comment 7 Dani Megert CLA 2018-08-23 13:43:21 EDT
(In reply to Björn Schönrock from comment #6)
> Well, where should I find a .log then?

There should be a workspace and in there .metadata/.log
Comment 8 Ed Merks CLA 2018-08-23 14:05:58 EDT
No, there is no workspace. If there was something to log, the log will be in the configuration folder nested in the *.App folder.

Which version of Java do you have installed?
Comment 9 Björn Schönrock CLA 2018-08-23 16:03:53 EDT
I have JDK 1.8.0_161 installed.
Comment 10 Ed Merks CLA 2018-08-24 01:31:08 EDT
If there is a log (it might have crashed to early even for that) it will be in 

EclipseInstaller.app/Contents/Eclipse/configuration/*.log

You could also try to run the following from the command line to get more clues how far its getting before the crash:

EclipseInstaller.app/Contents/MacOS/eclipse-inst -debug -consolelog

You could also try to download a package directly from

https://www.eclipse.org/downloads/packages/

But that's likely to crash the same way as the installer.
Comment 11 Björn Schönrock CLA 2018-08-24 06:04:15 EDT
Tried the Terminal thing, only thing it says is "Illegal instruction: 4"
Comment 12 Ed Merks CLA 2018-08-24 06:37:54 EDT
That makes it sound like it's not getting very far at all!  Likely never even launching the actual Java process but rather dying in the native executable itself before that.  I suppose it's possible but highly unlikely that the download from the specific mirror itself is corrupt.  

Have you tried one of the prepackaged downloads?  The native executable it uses is identical so is likely to have the same problem...
Comment 13 Björn Schönrock CLA 2018-08-24 07:54:59 EDT
I tried https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/photon/R/eclipse-java-photon-R-macosx-cocoa-x86_64.dmg and I can't even download it ("can't open file").
I've also tried downloading other mirrors, but same result.
Comment 14 Björn Schönrock CLA 2018-08-25 06:49:34 EDT
So how are we going to solve this?
Comment 15 Thomas Wolf CLA 2018-08-25 07:11:34 EDT
(In reply to Björn Schönrock from comment #14)
> So how are we going to solve this?

We don't :-/ See bug 517336. Upgrade to a newer OS X.

OS X 10.7.5 is not supported anymore by Eclipse >= Oxygen. For Oxygen you might get away with replacing the launcher by the one from Neon.3; but for Photon or newer that'll definitely not work anymore because other native libraries besides the launcher have been built against newer OS X versions.
Comment 16 Björn Schönrock CLA 2018-08-25 07:31:57 EDT
Does Oxygen support Java 10?
How do I replace that launcher?
Comment 17 Björn Schönrock CLA 2018-08-25 11:12:20 EDT
(above questions still remain)

Also, is it in any way possible to run Eclipse Photon on OS X 10.9.5? I am planning to upgrade to that version. I don't want to upgrade to 10.11 (at least for now) because from what I've heard some MacBooks seem to run much slower on 10.11 / 10.12 and newer.
Comment 18 Björn Schönrock CLA 2018-08-27 10:05:09 EDT
Anyone? ^
Comment 19 Ed Merks CLA 2018-11-20 16:10:11 EST
I installed a new virtual box with Sierra and we now package the installer as a DMG.  

http://www.eclipse.org/downloads/download.php?file=/oomph/products/eclipse-inst-mac64.dmg

This works fine for me.

But definitely the newer installers and the lataest Eclipse do not run on older versions of the Mac because of missing native GTK libraries.