27

Whenever I'm trying to open Eclipse or SpringToolSuite 4, I'm getting the same permission related issues It was working fine a day before yesterday but now It's showing weird stuff.

You do not have permission to open the application “SpringToolSuite4”.

You do not have permission to open the application “Eclipse”.

If anyone has any solutions please share

Rob
  • 415,655
  • 72
  • 787
  • 1,044
Daksharaj kamal
  • 526
  • 1
  • 4
  • 11
  • Check if this [thread](https://stackoverflow.com/questions/64842819/cant-run-app-because-of-permission-in-big-sur/64895860#64895860) helps – Visal Rajapakse Jul 08 '21 at 05:56
  • nothing worked tried almost everything – Daksharaj kamal Jul 08 '21 at 10:18
  • interestingly, I faced the same issue this morning. I don't know yet why, but re-installing a fresh copy of the distribution from the DMG file solved the issue for me. – Martin Lippert Jul 09 '21 at 06:41
  • Does this answer your question? [Can't run app because of permission in macOS v11 (Big Sur)](https://stackoverflow.com/questions/64842819/cant-run-app-because-of-permission-in-macos-v11-big-sur) – worpet Oct 12 '21 at 13:47

5 Answers5

98

The application has to be signed again

for Spring Tool Suite :

codesign --force --deep --sign - /Applications/SpringToolSuite4.app

for Eclipse :

codesign --force --deep --sign - /Applications/Eclipse.app

Synatx for signing application:

codesign --force --deep --sign - /Applications/{app-name}.app
Sanath L S
  • 1,309
  • 8
  • 10
  • 2
    There's a more in-depth explanation about this on the apple developer site: https://developer.apple.com/forums/thread/684509 – romeara Aug 19 '21 at 15:45
16

As I faced, that re-installation only works for a couple of days, I was really happy about the the codesign statement, which also works for Eclipse.App itself:

codesign --force --deep --sign - /Applications/Eclipse.app
Laurenz Albe
  • 209,280
  • 17
  • 206
  • 263
Bernd Paul
  • 169
  • 2
  • Has someone managed to deploy Eclipse designed for macbook M1? - Or its Intel version via Roseta2 is now the only way out? – Mike Sep 26 '21 at 05:50
  • Thanks! Works perfectly on `Mac OS Big Sur (v 11.6)` with Eclipse `Version: 2021-06 (4.20.0)` – Binita Bharati Nov 05 '21 at 06:33
1

Try this : codesign --force --deep --sign - /Applications/SpringToolSuite4.app

0

no need to reinstall eclipse!!

  1. install eclipse and plugins all u needed

  2. if restart eclipse or restart mac, shows "You do not have permission to open the application",then mount the eclipse-xxx/springtoolsuit-xxx.dmg, show package(xx.app) contents, copy the “Info.plist”, Replace the file with the same name in your local eclipse. the eclipse will work again! even restart computer!!

niko
  • 1
  • 2
0

for Eclipse Java on apple silicon use this:

sudo codesign --force --deep --sign - /Applications/Eclipse\ Java.app

or just drag app from Applications folder to terminal