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

Running FidoCadJ on modern macOS versions ("FidoCadJ.app is damaged and can’t be opened. You should move it to the Trash") #198

Open
fxframes opened this issue Aug 2, 2020 · 9 comments
Labels
macOS Everything that is related to macOS

Comments

@fxframes
Copy link

fxframes commented Aug 2, 2020

You require Java 9 on macOS but the latest officially supported version is Java 8.
When trying to run FicoCadJ macOS says it's "broken" and can't open it.
You should not claim your software is compatible with macOS.

@DarwinNE DarwinNE added the macOS Everything that is related to macOS label Aug 2, 2020
@DarwinNE
Copy link
Owner

DarwinNE commented Aug 2, 2020

Hello @fxframes
thank you for your report.

The fact that the OS reports that the file is "broken" ("FidoCadJ.app is damaged and can’t be opened. You should move it to the Trash") is not due to an issue of the packet that is complete, but to the security settings of the operating system:

https://www.google.com/search?client=safari&rls=en&q=is+damaged+and+can’t+be+opened.+You+should+move+it+to+the+Trash&ie=UTF-8&oe=UTF-8

I understand the difficulty with the Java version, but my computer is a MacBook Pro and I use High Sierra as my main operating system and the Java I am using is version 14. The packaging system I am currently using is jpackage, in theory it should create a self-sufficient package with all the dependences (hence the JRE):

https://openjdk.java.net/jeps/343

The packaged file was successfully tested on another Macintosh I have, but since it's an older machine, the security settings are probably less aggressive they tend to be on more recent versions.

I leave the issue open though, as other reported some difficulties, too: https://sourceforge.net/p/fidocadj/discussion/997486/thread/0c421064d2/

We are going to discuss here on GitHub, to see if there are solutions. Suggestions from the community are welcome, as usual.

Kind regards,
D.

@DarwinNE
Copy link
Owner

DarwinNE commented Aug 2, 2020

If it can be useful, FidoCadJ 0.24.7 only requires Java 1.7 and can still be downloaded from there:

https://github.com/DarwinNE/FidoCadJ/releases/tag/v0.24.7

It's a very stable version, that only contained some minor bugs and has been used on hundreds of different MacOSX machines. Of course, that will not solve the issue with "is damaged and can’t be opened..." message, as it is due to the security settings of the modern OS.

Regards,
D.

@fxframes
Copy link
Author

fxframes commented Aug 3, 2020

Hello @DarwinNE thanks for the quick reply.
I'll consider the alternatives.
It would be nice though to warn macOS users upfront that FidoCadJ won't work out of the box without some tweaking.
Best,

@fxframes fxframes changed the title You require Java 9 on macOS but the latest officially supposed version is Java 8. You require Java 9 on macOS but the latest officially supported version is Java 8. Aug 3, 2020
@DarwinNE
Copy link
Owner

DarwinNE commented Jan 19, 2023

I tried downloading FidoCadJ 0.24.8 on a brand new MacBook Pro M2, running macOS Ventura 13.0.

At first the system asks to download and install Rosetta.
Then, the usual message "FidoCadJ.app is damaged and can’t be opened. You should move it to the Trash" is shown when one tries to launch the program, even after I moved it in the Applications folder. To fix this I did two things:
1 - Open a terminal and type xattr -c /Applications/FidoCadJ.app
2 - Right click on the executable and select "open".
3 - Then, the system asks me if I really want to run the software (downloaded on an untrusted source). I selected "Yes" (of course!)

Hope it helps.

@DarwinNE DarwinNE changed the title You require Java 9 on macOS but the latest officially supported version is Java 8. Running FidoCadJ on modern macOS versions ("FidoCadJ.app is damaged and can’t be opened. You should move it to the Trash") Jan 19, 2023
@DarwinNE
Copy link
Owner

Here is a screenshot of the error.

error_macOS

DarwinNE added a commit that referenced this issue May 21, 2023
Add a screenshot of the macOS error described in the issue #198
@JoopN
Copy link
Contributor

JoopN commented May 24, 2023

You require Java 9 on macOS but the latest officially supported version is Java 8. When trying to run FicoCadJ macOS says it's "broken" and can't open it. You should not claim your software is compatible with macOS.

Don't understand this, of course Apple want that you shop with them, but that is only for the interest of Apple and not for the user (I do have a very big paperweight with Mac logo). That is protecting own shop and not legal with present European rules. To be practical, you can download OpenJDK version 11 on https://bell-sw.com/pages/downloads/#/java-11-lts, also for Mac. If you want you can also download version 17. Just take a look, your choice.

@DarwinNE
Copy link
Owner

The FidoCadJ.app already ships with a full fledged version of Java. Having an error/warning message is normal (and important these days). The problem is that the error message is very misleading.

@DanteCpp
Copy link
Contributor

I have just tryed the xattr hack, but it doesn't seem to solve the problem. I still get the move to trash dialog window.

@DarwinNE
Copy link
Owner

Hi @DanteCpp

If you go on the command line, put yourself where you put the FidoCadJ.app file and type xattr FidoCadJ.app, the com.apple.quarantine attribute is still there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
macOS Everything that is related to macOS
Projects
None yet
Development

No branches or pull requests

4 participants