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 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 <email@hidden> wrote:

> >     (1) I could bundle QTJava.zip with my
> application and make sure 
> >my application CLASSPATH points to it, but I'd need
> to license this 
> >with Apple.
> >  I don't know how much this costs, but it's not
> terribly desirable.
> 
> Not possible, they won't let you do it, and rightly
> so. It's 
> dependent on the version of QT (DLLs etc.) you have
> installed, you 
> can't have one without the other.
> 
> >    (2) I could ask the user to copy the QTJava.zip
> file from above 
> >into my /jre/lib/ext directory.  This is really
> cumbersome and way 
> >too much to ask from a paying customer.
> >    (3) On startup of my application, I could try
> searching the 
> >system in likely places for QTJava.zip and upon
> finding it, 
> >dynamically add it to my CLASSPATH.  This is not
> only kludgy, but 
> >unreliable since the user could potentially install
> Quicktime in an 
> >unusual location I couldn't guess.
> 
> The quicktime installer doesn't install it in some
> random places. It 
> places it in lib/ext for the current version of
> Java, which could 
> vary it's true, but it does two other things. It
> places a second copy 
> in the Windows system directory, and it sets the the
> QTJAVA 
> environment variable. Both of these you can use to
> determine its 
> location.
> 
> -Rolf
> -- 
> Rolf Howarth
> Square Box Systems Ltd
> Stratford-upon-Avon UK.
> http://www.squarebox.co.uk
> 



		
__________________________________ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
 _______________________________________________
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: Rolf Howarth <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.