• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

jar to mac os .app  RSS feed

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • 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
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • 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
  • 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: 42975
76
  • Mark post as helpful
  • send pies
  • 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
  • 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: 42975
76
  • Mark post as helpful
  • send pies
  • 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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!