• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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: 11497
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: 43081
77
  • 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: 43081
77
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic