• 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
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

running on Mac OS

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How do I get my app to run on Mac OS 9? Is there something I need to code or can they just double click the .jar file?
Thanks
 
blacksmith
Posts: 1332
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You'll need to ensure that they have the JVM installed. I think some versions of OS 9 did not ship with a JVM.
Also, you may need to make sure your App limits itself to an older version of Java. I'm pretty sure the OS 9 JVMs didn't make it to 1.3; I'm not sure if they even made it to 1.2.
Out of curiousity, why do you need to run on OS 9? I think most Mac folks have upgraded to some version of OS X by now.
 
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The current JVM on OS 9 is MRJ 2.5. That's the 1.1.8 version of the JDK. It's old. If you're using any libraries introduced in JDK 1.2 or later, your app won't work.
If you want to create a double-clickable application, you'll have to download the MRJ SDK, and use JBindery to create a OS-9 native "wrapper" that can be used as a stub to kick off execution of your main() method in your jar file.
reply
    Bookmark Topic Watch Topic
  • New Topic