Win a copy of Fixing your Scrum this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

jar to mac os .app

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi. I saw that are a lot of tools that can convert an executable jar to an exe application. I searched on google and didn't find any tools that can convert jar to mac os .app . Do you know any? Thanks
 
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A properly built jar (with a manifest file containing the Main-Class entry) is self executable and can run on all platforms. Why do you want to go the exe and dmg path?
 
Doua Beri
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Maneesh Godbole wrote:A properly built jar (with a manifest file containing the Main-Class entry) is self executable and can run on all platforms. Why do you want to go the exe and dmg path?



yes I know. I made .exe from jar because it is much more easy for my customers to run the program. ( i embedded the virtual machine in the exe) I want to do the same thing for mac, but I didn't find any software that can do this.
 
Rancher
Posts: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't think it's possible to embed an installable JRE on OS X. But all versions of OS X already have Java installed, so this shouldn't be necessary to begin with.
 
Doua Beri
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:I don't think it's possible to embed an installable JRE on OS X. But all versions of OS X already have Java installed, so this shouldn't be necessary to begin with.



ok. but can I make an executable jar to an .app in the same way I make a jar to an exe for windows os ?
 
Ulf Dittmer
Rancher
Posts: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, the OS X Developer Tools contain an application called "Jar Bundler" for this purpose, and there's a project called "jarbundler" on SourceForge that wraps an Ant task around that functionality.
 
Danger, 10,000 volts, very electic .... tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic