fokistories.blogg.se

Songkong java heap
Songkong java heap











songkong java heap
  1. #SONGKONG JAVA HEAP CODE#
  2. #SONGKONG JAVA HEAP PASSWORD#
  3. #SONGKONG JAVA HEAP MAC#

#SONGKONG JAVA HEAP CODE#

Code sign the files inside bundled runtime, forcing the signatureĪFAIK, you need Java 11 (see JDK-8223671), however, recently I was told that Java 8 may also work.My-app.app/: satisfies its Designated RequirementĪt this point you should also try running your app - the code signing process can break things.įrom here, you can create a DMG (again, I use jpackage) and this should pass notarization.

songkong java heap

validated:/private/tmp/my-app.app/Contents/MacOS/libapplauncher.dylib prepared:/private/tmp/my-app.app/Contents/MacOS/libapplauncher.dylib % codesign -vvv -deep -strict my-app.app/ My-app.app/Contents/runtime: satisfies its Designated Requirement My-app.app/Contents/runtime: valid on disk options runtime -v -keychain /path/to/codesigning.keychain my-app.appĬom.allow-unsigned-executable-memoryĬom.disable-executable-page-protectionĬom.disable-library-validationĬom.allow-dyld-environment-variablesĪll tests work: % codesign -vvv -deep -strict my-app.app/Contents/runtime

songkong java heap

% codesign -f -timestamp -entitlements /tmp/bliss.entitlements -s "XXX" -prefix com.myapp. options runtime -v -keychain /path/to/codesigning.keychain my-app.app/Contents/runtime options runtime -v -keychain /path/to/codesigning.keychain \ exec codesign -timestamp -entitlements /tmp/bliss.entitlements -s "XXX" -prefix com.myapp. app is already created): % security unlock-keychain -p passwordhere codesigning.keychain In terms of scripting, here's what I'm doing to code sign the app suitable for notarization (this assumes a. I have used jpackage to create the app and the DMG but beware - currently its approach to signing the app does not work. Once you work out the command line calls it's pretty easy to automate in a build script. You also need to enable two factor auth for your Apple ID account.

#SONGKONG JAVA HEAP PASSWORD#

My first issue was setting up - you need an active Developer Programme account with Apple ID (which is easy) but then, when you follow the instructions to add a password to the keychain, use the App specific password. So I've stripped much of the old discussion. From Feb 3rd they seem to have hit the final stage, which means your app has to meet much higher requirements, including a JRE which is built against the latest SDK and with "hardened runtime" support. usr/local/bin/dmgcanvas /Users/paul/code/jthink/SongKong/dmgCanvas_songkong.dmgCanvas /Users/paul/songkong-osx.dmg -v SongKongĮdit - there have been a lot of changes because Apple have slowly tightened the requirements for notarization. usr/bin/codesign -verify -deep -verbose /Applications/SongKong.app usr/bin/codesign -sign "Developer ID Application: P Taylor" -force -deep -verbose /Applications/SongKong.app Rm /Applications/SongKong.app/Contents/PlugIns/jdk1.8.0_192.jdk/Contents/MacOS/libjli.dylibĬp /Applications/SongKong.app/Contents/PlugIns/jdk1.8.0_192.jdk/Contents/Home/jre/lib/jli/libjli.dylib /Applications/SongKong.app/Contents/PlugIns/jdk1.8.0_192.jdk/Contents/MacOSĮxport CODESIGN_ALLOCATE="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate" Sudo cp -r target/songkong-6.6/applehelpbook/SongKongHelp /Applications/SongKong.app/Contents/Resources Hiutil -C -fapplehelpbook/SongKongHelp/SongKongHelp.helpindex applehelpbook/SongKongHelp/ I post the ant script below, hoping someone can start me of with the basic steps #!/bin/bashĬd /Users/paul/code/jthink/songkong/src/main/scripts This is called by an ant script build file that does the signing etc, we eventually create a dmg using dmgCanvas I use the AppBundler fork to package my app

#SONGKONG JAVA HEAP MAC#

My dev Mac machine is an old MacBook Pro, and as such cannot be updated past OSX El Capitan 10.11.6, can I notarize with this machine or not? I do have a more recent machine but it is not setup for development and I have some concerns about transferring the Developer Id certificates to it because setting this up was problematic in first place. I would rather not move to Java 11 because it would cause problem on some other platforms I support.

songkong java heap

I am currently using Java 8, is it possible to notarize a Java 8 app or do I need to move to Java 11. Reading the documentation I have a few concerns already: Not really sure where to start with this since the documentation is so biased towards creating apps with Xcode that I do not use, but I just want the simplest way to notarize my app and then move on. I distribute a Java application for MacOS, it is developer signed but not notarized.













Songkong java heap