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: QTJ deployment strategies



I haven't tested it in depth recently but if there's no Java installed it still gets installed somewhere (in QTSystem you say?) and QTJAVA is still set, isn't it?, so I don't see what the problem is. I don't see any benefit in distributing QTJava.zip yourself, even if you were allowed to (which you're not).

QTJAVA isn't set on the Mac because the file is always on your class path automatically. It's in /System/Library/Java/Extensions/QTJava.zip, which is one of the standard extension folders on the Apple JVM. You only need to explicitly use this path if you're compiling as it's not picked up automatically by javac (because of the .zip extension I think).

-Rolf

At 5:28 pm -0700 13/10/05, Alex Shaykevich wrote:
I forgot about the QTJAVA environment variable.  That
may lead to something.  Does it get set on Macs as
well?  What is QTJava set to if the user doesn't have
an installation of Java already as in the scenario I'm
proposing where I distribute the JRE along with my
application?

As for the System folder, I know the installer used to
install QTJava.zip there in version 6.x, but it no
longer does in version 7.  It only installs it, like
you said, in the highest version of java it finds and
in /Quicktime/QTSystem.  Installing it in the SYSTEM
folder was a very good idea, I don't know why they
changed it.

Legal issues aside, I still think distributing a
version of QTJava.zip with your application and asking
the user to install the correct version of QT as a
prerequisite is the cleanest solution.

More thoughts?

Thanks,

Alex



--
Rolf Howarth
Square Box Systems Ltd
Stratford-upon-Avon UK.
http://www.squarebox.co.uk
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-java/email@hidden

This email sent to email@hidden
References: 
 >Re: QTJ deployment strategies (From: Alex Shaykevich <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.