Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JRE in a subdirectory



Unfortunately, the people on this list are correct.  It is probably illegal to package the Apple JDK with your application and I wouldn't recommend it.  I have heard rumours that JDK1.5 will work if all the files are copied into the same directory structure.  Allegedly, JDK 1.5 will even work on Panther when copied like this (heard that from some infuriated Java Mac programmer).  But firstly, your program would be in breach of Apple's licensing policy.  Secondly, you'd need to create an installer package with root privileges.  And lastly, but most importantly, if your customers are typical mac users they will consider your silent installation of Java 1.5 as sabotage.  Trust me, they'll hate it.

You may be able to package the 1.5 installer package from Apple with your application.  You may even be able to launch it from your own installer.  Life is hard here in Mac land.  From my perspective, developing with Apple compared to developing with Sun is like comparing life in Switzerland to life in North Korea.  Luckily for Apple I hate them less than Microsoft and I've been too burnt by Linux to go down that route so I'm a captive programmer for now ;)

Regards,
Brendon.

On 29 Jul 2005, at 13:50, Thomas Vatter wrote:

I won't support my application on more than one JRE. Java 5 is first class, it is faster and easier in programming. Why does apple not integrate it - if it is already existing. It is no problem to tell my customers operating  system has to be at least 10.4. Still best way seems to be copying Java 5 in a subdirectory of the application. If it would work...

tom

Todd O'Bryan wrote:


Java 5.0 probably won't work in 10.3 or before. If people want your  application, they're going to have to use at least OS 10.4 and, at  this point, they'll need to download the Java 5 update manually from  the Apple website.

This argues for two possible solutions: don't target Java 5.0 and  rewrite the parts of the code that use it (if you're just using the  new language features, there are tools that let you compile to run on  1.4.2; if you're using new APIs, your choices are much more limited)  or be okay with your app not running on Mac OS until Java 5.0 becomes  a first-class player on Mac OS. And realize you'll then only be able  to target 10.4.

Todd

On Jul 29, 2005, at 6:12 AM, Thomas Vatter wrote:
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >JRE in a subdirectory (From: Thomas Vatter <email@hidden>)
 >Re: JRE in a subdirectory (From: Scott Palmer <email@hidden>)
 >Re: JRE in a subdirectory (From: Thomas Vatter <email@hidden>)
 >Re: JRE in a subdirectory (From: Cyrill Rüttimann <email@hidden>)
 >Re: JRE in a subdirectory (From: Thomas Vatter <email@hidden>)
 >Re: JRE in a subdirectory (From: Thomas Vatter <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.