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 8913847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:33:39+00:00 2026-06-15T04:33:39+00:00

I have a SWT based Java application that works on Windows, Mac OS and

  • 0

I have a SWT based Java application that works on Windows, Mac OS and Linux. I develop it on my Windows machine and have a tester with Linux and a tester with a Mac. Currently my process creates a runnable .jar file for each platform on my Windows machine (which references the platform specific .jar and lib files from Eclipse.org). I have a working installer for Windows – also produced by the build on the windows machine. I want to create a standard Mac OS installer for my Mac users. The right way to do that appears to be to create a .app bundle and distribute it via a dmg file. This has not being going well. I have a working Java app that uses SWT and can be run from the command line, on all platforms. I have a way of building a .dmg on Windows. But so far all my attempts to get a .app bundle to work have failed.

I started by following this tutorial: http://www.eclipse.org/swt/macosx/

But when running my application I get an error saying that applications for the Power PC are not supported. That is using the same binaries that work from the command line using java -jar so the problem must be in the the way I am bundling. The sample Hello app from the page also fails to work but with a different error message.

I have been searching all day and found this promising talk: http://www.parleys.com/#st=5&id=2891&sl=72

In that talk the speaker says there will be a way to create a Mac OS .app bundle on any platform using a standard java launcher. But I cannot find any such thing released yet.

I found this post that also looks promising: http://www.intransitione.com/blog/take-java-to-app-store/

But this recipe says it will not work except by building on a Mac OS machine.

What I want to do is create a .app bundle for Mac OS X on my windows machine along with the Windows install and the Linux install. It would be preferable to also include a jre as part of the app bundle (which I already have working for Windows and Linux). I hope someone can point me in the right direction.

  • 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-15T04:33:41+00:00Added an answer on June 15, 2026 at 4:33 am

    Have you seen this?

    The .app is just a directory with a special structure a few special files. Once you have it created, you’ll only need to update the JAR each time you build, which can be found here: MyApp.app/Contents/Resources/Java/MyJar.jar.

    There will also be a few Java-specific properties in My.app/Contents/Info.plist, but you probably won’t need to change these from how you initially set them up.

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

Sidebar

Related Questions

I have a java SWT application that works OK with Windows XP and Windows
I have a Java SWT program on Mac OS X that always shows 'java'
I have inherited development of a Java/SWT application running on Windows only. One of
I want to have the same distribution of SWT-based application for Windows 32 and
I have a Java Application using SWT as the toolkit, and I'm getting tired
I have a class based on Composite that embeds an SWT List instance. Using
I have written an SWT Java application and would like to configure it to
I am working on SWT based GUI application. I have one object variable which
In a Java desktop app with SWT-based GUI, we have a table in which
I have an application that consists of two processes, one client process with a

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.