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



Lawrence Nussbaum wrote:

>What you could do it to create your own application bundle with your own
>java launch stub that would check for that specific version of Java, and
>put up an appropriate message regarding Java 5, perhaps with a link to the
>Apple download site.

You can write a Java program that does the same thing.  It just has to be
written to the J2SE 1.3 API.

You can even use this 1.3-compatible checker as the main entry-point of the
1.5-only app.  If the checker sees it's on a 5.0-capable JVM
("java.version" property), it simply runs the normal main(String[]) method
of the 5.0 program.  Otherwise it puts up an alert, jframe, or whatever
that tells the user the problem and any possible remedies.


>Also what will you do about potential users who have older Mac OS's? Apple
>has stated that Java 5 will only work on 10.4.x and later. You might want
>to also add that info to the lancher.

A 1.3-compatible entry-point would run fine on pre-10.4 OSes.

  -- GG


 _______________________________________________
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



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.