Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start the zip attached to the 0.0.2 release on MacOS #10

Closed
jmini opened this issue Feb 18, 2021 · 6 comments
Closed

Can't start the zip attached to the 0.0.2 release on MacOS #10

jmini opened this issue Feb 18, 2021 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@jmini
Copy link

jmini commented Feb 18, 2021

Go to the 0.0.2 (2020-12) page.

I have downloaded the com.eclipsesource.megit-macosx.cocoa.x86_64.zip (link)

I have unzipped the file (standard macOS utility)
I get this error dialog when I start the decompressed "Eclipse.app" file:

Error dialog: Eclipse is damaged and can't be opened. You should move it to the Bin.

@planger
Copy link
Collaborator

planger commented Feb 19, 2021

I've never tested the MacOS build (I don't have one) and I'm not sure what's wrong, unfortunately. :/

@planger planger added the help wanted Extra attention is needed label Feb 19, 2021
@planger planger changed the title Can't start the zip attached to the 0.0.2 release Can't start the zip attached to the 0.0.2 release on MacOS Feb 19, 2021
@jmini
Copy link
Author

jmini commented Feb 19, 2021

The local build is working:

With Java 11 on the path:

$ java -version
openjdk version "11.0.5" 2019-10-15
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.5+10)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.5+10, mixed mode)

I can run:

mvn verify -f com.eclipsesource.megit.parent/pom.xml

And open the generated Eclipse.app.

  1. Either unzip:
com.eclipsesource.megit.product/target/products/com.eclipsesource.megit-macosx.cocoa.x86_64.zip

and start the Eclipse.app extracted from the zip.

  1. Or start:
com.eclipsesource.megit.product/target/products/com.eclipsesource.megit/macosx/cocoa/x86_64/Eclipse.app

@jmini
Copy link
Author

jmini commented Feb 19, 2021

One note that you need to know (standard for all RCP app including Eclipse IDE itself):

You should have Java 11 which is not the default on my mac.

Either you start with open <path to Eclipse.app> from a Terminal where Java 11 is the default version.

Or you edit the file megit.ini (inside Eclipse.app with right click "Show Package Contents" and edit the file Eclipse.app/Contents/Eclipse/megit.ini) to add the -vm entry with the path pointing to your Java 11 installation.
See https://wiki.eclipse.org/Eclipse.ini

@jirkafm
Copy link
Contributor

jirkafm commented Mar 10, 2021

I also cannot test it on MacOS (running on Linux).

Could you please compare the content of downloaded Eclipse.app and an Eclipse.app from a build? I'd say that if both of them can be executed from terminal with proper java then we are somehow OK. If the downloaded Eclipse.app cannot be run that would mean that the package is corrupted.

Thanks for your input at least we have some suggestion how to run it on MacOS alternatively.

@cristian-anita
Copy link

Workaround (tested on macOS Big Sur):

sudo xattr -rd com.apple.quarantine ./Eclipse.app

@planger
Copy link
Collaborator

planger commented Jan 25, 2023

@planger planger closed this as not planned Won't fix, can't repro, duplicate, stale Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants