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



Right, it does get installed somewhere, at the very
least in /Quicktime/QTSystem.  But, at installation
time, the user could choose any possible installation
path, C:\Program Files\Quicktime, C:\Quicktime,
C:\Something Else\Quicktime, etc...

So, how is my application supposed to find it?  There
is no comparable, PATH-TO-QUICKTIME ENV var.

The QTJava ENV var is being set if there is a
pre-existing Java installation, but what if there
isn't?  Ideally, the QTJAVA ENV var should be set to
/Quicktime/QTSystem/QTJava.zip by the QT installer
itself.

The only hope is that if there isn't a current Java
install, the QT installer is smart enough to still set
QTJava to /Quicktime/QTSystem/QTJava.zip, but I'm not
optimistic.

This is not that simple an issue.

Appreciate your feedback.

--Alex

--- Rolf Howarth <email@hidden> wrote:

> 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
> 



		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs
 _______________________________________________
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.