1

I have a java webstart application that is properly signed and working on all OSes. However running it on MAC requires the user to circumvent the Mac security features, as the app is not signed with an Apple Developer ID.

I want to know if and if yes, how I can use my Apple certificates to sign the jar such that it can be run without problems on Windows and Mac.

mahal tertin
  • 3,239
  • 24
  • 41
JavaJens
  • 360
  • 1
  • 3
  • 14

2 Answers2

0

Unfortunately this is a not possible, and is a duplicate of: How to sign Java applet with Apple Developer ID

You can however use a tool to convert your jar into an app bundle, which can in fact be signed for gatekeeper (not for App Store, but to bypass the launch restriction). See http://www.jemchicomac.com/how-to-convert-a-jar-file-into-an-app-for-osx/

Community
  • 1
  • 1
drmarvelous
  • 1,663
  • 10
  • 18
  • Thanks for the reply. I think here might be an alternative using xip: http://stackoverflow.com/a/17222479/968606 Otherwise I'd go ahead with the official docs: http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/packagingAppsForMac.html – JavaJens Jul 31 '14 at 17:15
0

How to sign (dynamic) JNLP files for OSX and Gatekeeper answers this question for Java Web Start apps (which cannot be added to the Mac Store as noted in the applet question's answer.)

Community
  • 1
  • 1
jla
  • 6,904
  • 2
  • 36
  • 34