# Notarizing exported application on macOS 10.15 (Catalina)

**URL:** <https://discourse.processing.org/t/notarizing-exported-application-on-macos-10-15-catalina/22622>\
**Category:** Processing\
**Created:** [July 14, 2020, 7:01pm UTC](https://discourse.processing.org/t/notarizing-exported-application-on-macos-10-15-catalina/22622 "2020-07-14T19:01:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![seth.bashford](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@seth.bashford](https://discourse.processing.org/u/seth.bashford)\
**Post date:** [July 14, 2020, 7:01pm UTC](https://discourse.processing.org/t/notarizing-exported-application-on-macos-10-15-catalina/22622/1 "2020-07-14T19:01:52Z")

</div>

I am trying to notarize an exported application on macOS 10.15 (Catalina) as it is [required](https://developer.apple.com/news/?id=09032019a). My steps are as follows.

1. Export application without embedding Java. “[JDK 14 is the first release that complies with the new macOS 10.15 hardening and notarization requirements.](https://www.oracle.com/technetwork/java/javase/using-jdk-jre-macos-catalina-5781620.html)”, yet “…Processing supports Java 1.8.”
2. Execute the following in Terminal

```auto
cd my.app/Contents/Java
unzip jogl-all-natives-macosx-universal.jar -d jogl-all-natives-macosx-universal
unzip gluegen-rt-natives-macosx-universal.jar -d gluegen-rt-natives-macosx-universal
codesign --timestamp --options=runtime -s "my identity" -v gluegen-rt-natives-macosx-universal/natives/macosx-universal/libgluegen-rt.jnilib
codesign --timestamp --options=runtime -s "my identity" -v jogl-all-natives-macosx-universal/natives/macosx-universal/lib*
rm gluegen-rt-natives-macosx-universal.jar
rm jogl-all-natives-macosx-universal.jar
jar cvfM gluegen-rt-natives-macosx-universal.jar -C gluegen-rt-natives-macosx-universal .
jar cvfM jogl-all-natives-macosx-universal.jar -C jogl-all-natives-macosx-universal .
rm -r gluegen-rt-natives-macosx-universal/
rm -r jogl-all-natives-macosx-universal/
cd ../../..
codesign --timestamp --options=runtime -s "my identity" -v my.app
ditto -c -k --keepParent my.app my.zip
xcrun altool --notarize-app --primary-bundle-id my.app.id --username my.username --password my-password --file my.zip

```

I receive an email from Apple saying my software has been notarized. However when I run my application I receive a window with the message “Unable to load Java Runtime Environment.” I understand that the developers “…strongly recommended that you embed Java with your application.”, but I am unable to notarize an exported application with Java embedded. Is there a way to notarize an exported application on Catalina?

---

<div class="post-metadata">

**Author:** ![neilcsmith](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/neilcsmith/32/144_2.png) [@neilcsmith](https://discourse.processing.org/u/neilcsmith)\
**Post date:** [August 17, 2020, 10:29am UTC](https://discourse.processing.org/t/notarizing-exported-application-on-macos-10-15-catalina/22622/2 "2020-08-17T10:29:26Z")

</div>

Try using a recent OpenJDK 8 from eg. AdoptOpenJDK - see info on notarization at [https://blog.adoptopenjdk.net/2020/04/adoptopenjdk-8u252-1107-and-1401-available/](https://blog.adoptopenjdk.net/2020/04/adoptopenjdk-8u252-1107-and-1401-available/)
