Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8455929
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:24:58+00:00 2026-06-10T12:24:58+00:00

For OS X, I distribute my Java application inside a DMG. Since Mountain Lion’s

  • 0

For OS X, I distribute my Java application inside a DMG. Since Mountain Lion’s release, opening the app gives the following error message:

[app name] is damaged and couldn’t be opened. You should eject the
disk image.

Apparently the fix is to sign the .app file so I read the Code Signing Guide. Everything seems to be straightforward apart from the important question of how to integrate this into my one-click build process.

Building my product on all platforms happens on my Linux development machine. I run an Ant script and the Windows installer, starter EXE, Linux installer, OS X application and DMG are all built. So I’d like to integrate code signing into this process.

Is there an equivalent of ‘codesign’ for Linux?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T12:25:00+00:00Added an answer on June 10, 2026 at 12:25 pm

    There is no documented way of code signing a Mac OS X application in Linux.

    The only way I’ve found to do this so far is to SSH into a Mac and use that.

    On the other hand, according to @Steve McLeod (https://stackoverflow.com/a/55906962/28190) the installer package install4j does offer this:

    Integrated code signing on Windows and Mac OS X . In the “General Settings” section, install4j now has a “Code signing” tab where you
    can configure code signing certificates for Windows and Mac OS X. Code
    signing will be applied to all launchers and installer applications in
    the corresponding media files. The implementations for code signing
    are cross-platform, so you can sign Windows and Mac OS X media files
    from a Linux build server, for example.

    So it must be technically possible.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've coded a Java app and I plan to distribute it online. Each release
I'm facing a problem when I need to distribute my java application, created using
I made a Java application which I would like to distribute on Windows, OSX
I'm running a java application that we distribute as a server-side system. I'm trying
I would like to distribute a Java application for Windows. It's Windows-only because it
I'm developing an application using java but I'm not going to release the code.
I want to distribute a command-line application written in Java on Windows. My application
I'm interested in how to distribute a Java application that has a lot of
I want to distribute a Java desktop application for Windows. Which is the best
In Java world, a common way to distribute a web app is to package

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.