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 6 Windows install



> For installation of QTJava you do need to have a standard JDK/JRE install,
> but if you have a private Java VM (one without registry entries) that you
> need to install QTJava with then you need to license individual pieces of
> QTJava and handle the installation yourself, you would also not be able to
> update these pieces using the QT updater if new update is available.

A problem is that one can have MANY Sun JavaVMs installed (apart from any copies
used privately by applications). All the public ones have entries in the
registry and it would be much better if the QT updater did the following:

[0] copy DLLs to windows root folder or the system folder (whatever you
currently do)
[1] get a list of all the public 1.2+ Sun JVMs from the registry (you could also
get a list of the IBM ones if you want)
[2] copy the QTJava.zip to the a QTJava folder in the QuickTime folder under
windows folder and set the CLASSPATH to point to it
[3] if the list at (1) is not empty, copy the QTJava.zip to all the "lib" (or
was it "lib\ext"?) folder of all the 1.2+ JVMs from the list you got at (1)

Don't mind the spare copies of the QTJava classes archive file, QTJava.zip is
very small compared to the disk size of most PCs

notice that [2] above is independent of [1] and [3], cause when Java1.2+ gets
uninstalled it doesn't delete its lib folder if you placed anything in it apart
from the stuff that Sun had installed there, but users may delete the jvm folder
after they uninstall it since they can obviously expect it to go away after they
uninstall the JVM. Java1.1 VMs depending on the CLASSPATH should access a
QTJava.zip from a folder that won't be deleted by the user (the quicktime folder
under the windows sytem folder for example)

when uninstalling QuickTime you should undo [2] and [3]

the updater can just do the [0]-[3] steps I suppose and overwrite older
QTJava.zip in all 1.2+ JVMs plus the QTJava.zip of the [2] step

This should be much better and not cause many QTJava.zip files of different
versions to hang arround in the system when user installs new JVMs without
removing previous versions of them and in between also does updates of
QT/QTJava.

Various software does install various Sun Java versions (as "public" cause as
"private" you have to pay Sun license fees I think), mostly cause Sun keeps
breaking backwards compatibility via bugs they introduce in new versions (e.g.
stuff working at 1.3 not working at 1.4 etc.). At least they allow the various
Sun JVM versions to coexist peacefully, so should QTJava not expect the user
will have one 1.2+ Sun JVM installed
_______________________________________________
quicktime-java mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-java
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: QTJ 6 Windows install (From: Anant <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.