Do you happen to know what the QTJAVA ENV var gets set
to if the user doesn't already have Java installed?
Laura's experience is that QTJ doesn't get installed
without a pre-existing Java install.
> Another way is to use InstallAnywhere (costly mind).
> They worked with Apple
> to get QTJava to work- it tried to find the QTJava
> on the system, if its not
> there it will launch your QuickTime installer...
What Quicktime insaller? Can you elaborate on this?
I do in fact use the older version of InstallAnywhere
and it works quite well. How would I use it in
conjunction with QTJ installation?
Thanks,
Alex
--- anthony rogers <email@hidden> wrote:
>
> I know what you mean Alex. I have built many
> applications for public usage-
> and for a lot of users at that. I found the best way
> was to use the QTJAVA
> environment variable. It seems the variable has
> changed; its surrounding
> QUOTES in QT7 have gone- HURAY! (so that's cool).
> Everything pre QT7 has
> Quotation marks around the variable and that became
> a bit of a pain.
>
> Another way is to use InstallAnywhere (costly mind).
> They worked with Apple
> to get QTJava to work- it tried to find the QTJava
> on the system, if its not
> there it will launch your QuickTime installer...
>
> For browsernet stuff (say your user has to download
> the application) I cheat
> and embed a QT Movie into a webpage in that movie I
> have an bit of xml that
> asks for the QTJava component- if it cant find it
> that QT will download and
> install that component. If the user has the
> component the movie links to the
> download page ;) cheeky but always seemed to work...
> WebStart: humm will we
> can just full cheat here- but then that brakes the
> license, so same as
> browsernet.
>
> Yes: its not all convenient, but then nothing is...
> you cant ship the
> QTJava.zip within your own installer (see license of
> QuickTime)...
>
> I'm sure Apple still love us, and will come and save
> the pain... not sure
> what they can do at this point mind... all older
> QuickTime installs 6, 6.5
> on users computers will stay the way they are (they
> do tell them users there
> is a new version of QuickTime, they just don't want
> to update).
>
> QTJava or JMF... Well I know what gets my vote :)...
> Come QTT give us a nice
> Capture back- go on, go on :).. Buy you all a beer
> when I'm next in Cally...
>
> What's really funny is that a Mobile Phone has less
> hassle with media
> playback then Windows :) hehehe... true mind... even
> 3d is a snap, shame I
> cant work out how to make a call on it...
>
> Tops- keep smiling dudes...
>
> aNt
>
> > -----Original Message-----
> > From:
>
quicktime-java-bounces+ant=email@hidden
> >
>
[mailto:quicktime-java-bounces+ant=email@hidden]
> On Behalf
> > Of Alex Shaykevich
> > Sent: 15 October 2005 01:53
> > To: Rolf Howarth; email@hidden
> > Subject: Re: QTJ deployment strategies
> >
> > As for simple or not, the approach you just
> described,
> > which I'll admit is probably the only way to go
> about
> > it, is far from simple. It would have been made
> far
> > simpler if the QT installer were consistent
> between 6
> > and 7 and continued to install QTJava.zip in the
> > System folder, or allowed me to upon installation!
> >
> > I don't know what QTJava gets set to if there's no
> > Java present. It's difficult/dangerous to
> uninstall
> > all my Jave installations to find out and I don't
> have
> > a 'clean' machine without a JRE.
> >
> > As for my pre-packaged JRE, it's far and away the
> most
> > general solution. I'm writing a commercial
> > application for a broad audience, not for an
> in-house
> > group of users. There are lots of people who
> don't
> > have Java, don't know what the hell Java is, and
> might
> > be afraid of Java. Asking non-power users to go
> and
> > install Java before even being able to download a
> demo
> > is a big deal, and detrimental to potential sales.
> > No, I'm quite comfortable with my JRE packaging,
> > though its certainly not without its downsides.
> >
> > Quit worrying? Again, I'm trying to make a rock
> > solid, commercial app here and this kind of
> ambiguity
> > is a real pain in the arse.
> >
> > End rant.
> >
> > Now, if anyone knows, from actual experience, what
> QT7
> > sets QTJAVA to under Windows in the absence of a
> JRE,
> > I'd very much appreciate the info.
> >
> > Thanks,
> >
> > A
> >
> >
> >
> > --- Rolf Howarth <email@hidden> wrote:
> >
> > > It may not be simple, but I don't think it's
> nearly
> > > as difficult as
> > > you make out. How about this for a strategy:
> > >
> > > a) Check if you can load an QTJava class in a
> > > try..catch block (eg.
> > > Class.forName("quicktime.QTSession")
> > >
> > > b) If you can, well and good, just carry on
> (this
> > > covers the
> > > Macintosh case, and most Windows systems if the
> user
> > > installed Java
> > > before QuickTime, as your release notes
> doubtless
> > > recommend they do,
> > > except in your case where you make things
> difficult
> > > by providing your
> > > own JRE :-)
> > >
> > > c) In the unlikely event that b) failed, attempt
> to
> > > locate QTJava.zip
> > > by looking in the likely places and appending
> that
> > > to your classpath.
> > > In order, look for a QTJAVA environment
> variable,
> > > look in c:\Program
> > > Files\QuickTime\QTSystem (or whatever the QT7
> > > default is), then
> > > c:\windows\system32 (or whatever the QT6 default
> > > is). File.exists()
> > > is a useful method in this context.
> > >
> > > d) If you still can't find it, display a message
> > > "You must install
> > > QuickTime. Please visit
> > > www.apple.com/quicktime/download", and exit.
> > >
> > > Remember, just because users *might* specify a
> > > different path for
> > > QuickTime doesn't mean they will - in my
> experience
> > > they're VERY
> > > unlikely to do anything other than hit OK
> (without
> > > even reading the
> > > messages displayed), never mind consciously
> > > selecting something
> > > different to the default!
> > >
> > > And are you saying that if there's no Java
> > > installed, the QuickTime
> > > installer definitely does NOT set the QTJAVA
> > > environment variable, or
> > > are you just hypothesizing that it *might* not?
> Have
> > > you tried it?
> > > I'd be very surprised if it doesn't, though I
> could
> > > of course be
> > > wrong.
> > >
> > > My advice would be to quit worrying about the
> 0.05%
> > > of cases that
> > > *might* fail and concentrate on delivering
> something
> > > that works with
>
=== message truncated ===
__________________________________
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