Bug 171 : Problems installing/uninstalling/reinstalling QuickTime 7 on Windows
Last modified: 2006-01-23 20:32




Status:
RESOLVED
Resolution:
WONTFIX -
Priority:
P2
Severity:
normal

 

Reporter:
fry
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2005-10-14 09:31
apple has changed the location of where and how quicktime is installed in
version 7, breaking p5's use of quicktime for java for the video library.

revision 93 has additional support for quicktime 7, however it has not been
tested extensively. use this bug page for any problems that arise as a
result of quicktime 7 on windows.
Additional Comment #1 From fry 2005-10-14 09:34
for those using qt7 on macosx, use bug #172
Additional Comment #2 From cello 2005-10-14 14:56
When trying to run the Libraries-Video/Capture example (and all my own code
experiments) I get the following error (with no stack trace):

Exception in thread "Thread-2" java.lang.UnsatisfiedLinkError: InitializeQTML

When trying to run the Libraries-Video/Movie (and pixelate) examples, I get:

C:/DOCUME~1/Marcello/LOCALS~1/Temp/build/Temporary_1165_2939.java:19:11:19:14:
Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package
"quicktime.std.movies" in:
C:\Program Files\Java\jre1.5.0\lib\rt.jar
C:\Program Files\Java\jre1.5.0\lib\rt.jar
C:\Program Files\Java\jre1.5.0\lib\i18n.jar
C:\Program Files\Java\jre1.5.0\lib\i18n.jar
C:\Program Files\Java\jre1.5.0\lib\sunrsasign.jar
C:\Program Files\Java\jre1.5.0\lib\sunrsasign.jar
C:\Program Files\Java\jre1.5.0\lib\jsse.jar
C:\Program Files\Java\jre1.5.0\lib\jsse.jar
C:\Program Files\Java\jre1.5.0\lib\jce.jar
C:\Program Files\Java\jre1.5.0\lib\jce.jar
C:\Program Files\Java\jre1.5.0\lib\charsets.jar
C:\Program Files\Java\jre1.5.0\lib\charsets.jar
C:\Program Files\Java\jre1.5.0\classes
C:\Program Files\Java\jre1.5.0\classes
C:\DOCUME~1\Marcello\LOCALS~1\Temp\build
C:\DOCUME~1\Marcello\LOCALS~1\Temp\build
C:\java\processing-0093-expert\libraries\javascript\library
C:\java\processing-0093-expert\libraries\javascript\library

C:\java\processing-0093-expert\libraries\javascript\library\javascript.jar

C:\java\processing-0093-expert\libraries\javascript\library\javascript.jar
C:\java\processing-0093-expert\libraries\net\library
C:\java\processing-0093-expert\libraries\net\library
C:\java\processing-0093-expert\libraries\net\library\net.jar
C:\java\processing-0093-expert\libraries\net\library\net.jar
C:\java\processing-0093-expert\libraries\opengl\library
C:\java\processing-0093-expert\libraries\opengl\library

C:\java\processing-0093-expert\libraries\opengl\library\jogl.jar

C:\java\processing-0093-expert\libraries\opengl\library\jogl.jar

C:\java\processing-0093-expert\libraries\opengl\library\opengl.jar

C:\java\processing-0093-expert\libraries\opengl\library\opengl.jar
C:\java\processing-0093-expert\libraries\serial\library
C:\java\processing-0093-expert\libraries\serial\library

C:\java\processing-0093-expert\libraries\serial\library\RXTXcomm.jar

C:\java\processing-0093-expert\libraries\serial\library\RXTXcomm.jar

C:\java\processing-0093-expert\libraries\serial\library\serial.jar

C:\java\processing-0093-expert\libraries\serial\library\serial.jar
C:\java\processing-0093-expert\libraries\video\library
C:\java\processing-0093-expert\libraries\video\library

C:\java\processing-0093-expert\libraries\video\library\video.jar

C:\java\processing-0093-expert\libraries\video\library\video.jar
C:\java\processing-0093-expert\lib
C:\java\processing-0093-expert\lib
C:\java\processing-0093-expert\lib\build
C:\java\processing-0093-expert\lib\build
C:\java\processing-0093-expert\lib\pde.jar
C:\java\processing-0093-expert\lib\pde.jar
C:\java\processing-0093-expert\lib\core.jar
C:\java\processing-0093-expert\lib\core.jar
C:\java\processing-0093-expert\lib\mrj.jar
C:\java\processing-0093-expert\lib\mrj.jar
C:\java\processing-0093-expert\lib\oro.jar
C:\java\processing-0093-expert\lib\oro.jar
C:\java\processing-0093-expert\lib\registry.jar
C:\java\processing-0093-expert\lib\registry.jar
C:\java\processing-0093-expert\lib\antlr.jar
C:\java\processing-0093-expert\lib\antlr.jar
.
.

C:/DOCUME~1/Marcello/LOCALS~1/Temp/build/Temporary_1165_2939.java:19:11:19:14:
Semantic Error: Type "quicktime.std.movies.Movie" was not found.

I am not actually sure if Quicktime 7 installed java support or not (I had
it with Quicktime 6), but I don't see the option anywhere other than to
uninstall it..
Additional Comment #3 From fry 2005-10-15 09:05
what are your PATH, CLASSPATH, and QTJAVA environment variables set to?

and have you tried with the release that includes java? using java 1.5 is
strongly discouraged.

also, make sure you're using processing.exe and not run.bat.
Additional Comment #4 From cello 2005-10-15 18:27
C:\java\processing-0093-expert>echo %CLASSPATH%
.;.;C:\PROGRA~1\JMF21~1.1E\lib\sound.jar;C:\PROGRA~1\JMF21~1.1E\lib\jmf.jar;C:\P
ROGRA~1\JMF21~1.1E\lib;

C:\java\processing-0093-expert>echo %PATH%
c:\program
files\imagemagick-6.1.9-q16;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS
\System32\Wbem;C:\Program Files\WinSCP3\;c:\mingw\bin;c:\jdk\bin;C:\Program
File
s\ATI Technologies\ATI Control Panel;c:\mingw\unixbin\;C:\Program
Files\Microsof
t Visual C++ Toolkit 2003\bin;C:\Program Files\ATI
Technologies\ATI.ACE\;c:\prog
ram files\devstudio\sharedide\bin\ide;c:\program
files\devstudio\sharedide\bin;c
:\program files\devstudio\vc\bin;;C:\PROGRA~1\COMMON~1\MUVEET~1\030625

C:\java\processing-0093-expert>echo %QTJAVA%
%QTJAVA%


I tried uninstalling Quicktime but it simply won't let me (gets errors). I
tried reinstalling the new version, but it gets stuck at some point (and
I'm never given the option to choose quicktime for java).

I get the exact same error with the non-expert version (and I have never
had any trouble with Java 1.5, on a side note---quicktime used to work
fine). Also, I only tested with processing.exe, I've never needed to use
the batch file.
Additional Comment #5 From fry 2005-10-16 07:04
that's odd.. that looks like the qt7 installer just didn't set something up
properly. it installs qtjava by default (finally), but in your case it
appears that it did not. try doing a search for qtjava.zip and see where
you find it.

given one of those locations, try making a new environment variable called
QTJAVA that lists the full path to qtjava.zip.. i.e. set QTJAVA to
C:\WINDOWS\system32\QTJava.zip or something like that.
Additional Comment #6 From cello 2005-10-16 07:53
Ok, I found two copies, one in C:\Program Files\QuickTime\QTSystem\ and one
in C:\Program Files\Java\jre1.5.0\lib\ext\, both have same file size/date.
If I try to run it, I get:

This version of QTJava has expired
Exception in thread "Thread-2" java.lang.ExceptionInInitializerError
at processing.video.Movie.<clinit>(Movie.java:69)

I will try deleting the quicktime directory and installing again (since it
won't let me uninstall)... same error. I guess I'll have to go registry
style on its rear.
Additional Comment #7 From fry 2005-10-16 07:56
ahh.. now we might be getting somewhere. it looks like you installed the
quicktime 7 beta (it was beta up until a week or two ago). is that the case?

try installing itunes 6, which will install the most recent quicktime. or
if you can't use itunes 6 (cuz it breaks other things) let me know and i'll
find a quicktime 7.0.2 installer for you (unless it's still on the apple
site.. i think they removed it).
Additional Comment #8 From fry 2005-10-16 08:02
Additional Comment #9 From cello 2005-10-16 09:38
Yea, I did install the beta when it was released (against my will,
practically, I couldn't find the non-beta version 6 at the time), and I had
since installed the 7.0.2 installer. However, if I try to run the 7.0.3.25
installer now, I get an error partway through "Setup could not find file
blah blah. Unable to locate C:\Docume~1\...etc.\temp\_is10c\quicktime.msi"
which ironically does exist, unless InstallShield has some kind of strange
trouble with non 8.3 file paths. Clicking Retry or Cancel (only two
buttons) both give me the exact same message "Error 1714. The older
version of QuickTime cannot be removed. Contact your technical support group."

I will play with it later, too much to do right now.
Additional Comment #10 From fry 2005-10-16 09:53
hm, and i'll bet the beta releases didn't have quicktime for java. i assume
you've tried quicktime's own "uninstall" menu item (from program files ->
quicktime -> uninstall quicktime) and that didn't work to get rid of the beta?

the itunes 6 installer may go more smoothly, i've not tried the qt7
standalone installer yet, though who knows if you want to deal with itunes
6 just yet...
Additional Comment #11 From fry 2005-10-16 10:15
*** Bug 173 has been marked as a duplicate of this bug. ***
Additional Comment #12 From cello 2005-10-18 18:51
Couple updates: iTunes did not work, I got an error in the install process
relating to quicktime. It then said installation completed successfully
(but iTunes would not run, anyway).

Quicktime Uninstall from Start Menu does exactly the same thing as from Add
or Remove Programs (and now, after whatever I've messed up, does absolutely
nothing).

However, I did find a copy of the Quicktime 6.x installer on my saved
installers drive. And it installed! \o/

After deleting my QTJAVA envvar completely, that half works in processing.
The Movie example runs fine, but Capture gives me:
quicktime.std.StdQTException[QTJava:6.1.0g1],-2003=cantFindHandler,QT.vers:6528000
at quicktime.std.StdQTException.checkError(StdQTException.java:38)

Now to try installing 7.0.3 again. No luck. Looks like I'll have to
somehow eliminate all traces of quicktime from my registry/computer. That
should be fun.
Additional Comment #13 From cello 2005-11-01 16:51
Ok, finally went through my registry and nixed everything quicktime/apple
related, and had no trouble installing Quicktime 7.

Exception in thread "Thread-2" java.lang.UnsatisfiedLinkError:
lockDrawingSurface

AWTPATH C:\Program Files\Java\jre1.5.0\bin\jawt.dll

QTJAVA is set and valid... maybe qt7 conflicts with java 1.5? seems odd
though. If I run processing non-expert, it just crashes.
Additional Comment #14 From fry 2005-11-01 17:05
that looks like java needs to be reinstalled.
Additional Comment #15 From cello 2005-11-06 16:21
Updated to Java 1.5.0_5, and now I get entirely different error, but
checking the source it sounds like QTJava is working, it's just not finding
anything, or something odd. Maybe I need to reinstall WinVDIG...

java.lang.RuntimeException: Couldn't find any capture devices, check the
FAQ for more info.
at processing.video.Capture.list(Capture.java:484)
at Temporary_5641_242.setup(Temporary_5641_242.java:20)
at processing.core.PApplet.display(PApplet.java:1117)
at processing.core.PGraphics.requestDisplay(PGraphics.java:520)
at processing.core.PApplet.run(PApplet.java:1009)
at java.lang.Thread.run(Unknown Source)
Additional Comment #16 From cello 2005-11-06 16:25
Success! Woot.
Additional Comment #17 From fry 2005-11-06 19:51
good, i think we may be closing in on this one.. 0095 seems to have worked
out the problem for some others too..
Additional Comment #18 From Wainblat Robert 2005-11-09 16:06
Hey Everyone...I have searched on the internet and and searched again for a
solution for error 1714: the one were the installer cannot locate an existing file and
therefore he guesses that another version is installed and refuses to install further (I
presume the dumb people in Apple couldn't have just ignored it). I have tried to
manually remove everything from registry that resembled apple or quicktime with no
succes. Again I ask again....is there a solution for this? I can't believe www.apple.
com doesn't even have a forum or a place where I could ask this sort of question. It
goes to prove that they don't really care. I thank you for your time and please help if
possible!
Additional Comment #19 From cello 2005-11-09 18:04
I was able to do it by installing quicktime 6, uninstalling it,
uninstalling everything related to it and quicktime 7, removing any
quicktime folder and file from program files and windows and
windows/system32 directories (this is winxp sp2), then using RegSupreme Pro
to remove everything related to quicktime or apple or itunes or whatever,
then I went in plain old regedit, and searched for quicktime and removed
every key and folder that contained anything related to quicktime (be
careful here, though), then rebooted and installed the latest quicktime 7
and winvdig fresh. Everything is working now.

(In reply to comment #18)
>
>
>
> Additional Comment #18 From
> Wainblat Robert
> 2005-11-09 16:06
>
> <!--
> addReplyLink(18); //-->[reply]
>
>
>
>
> Hey Everyone...I have searched on the internet and and searched
again for a
> solution for error 1714: the one were the installer cannot locate an
existing file and
> therefore he guesses that another version is installed and refuses to
install further (I
> presume the dumb people in Apple couldn't have just ignored it). I have
tried to
> manually remove everything from registry that resembled apple or
quicktime with no
> succes. Again I ask again....is there a solution for this? I can't
believe www.apple.
> com doesn't even have a forum or a place where I could ask this sort of
question. It
> goes to prove that they don't really care. I thank you for your time and
please help if
> possible!
>
>

Additional Comment #20 From Miss Marnie 2006-01-12 08:00
Ok after googling and talking to apple support I HAVE A SOLUTION. 5 hours later. By
the way thaks for posting this guys cause I never would have gotten as far as i did
without you.

I actaully used the method for deleting the registry file and such but still had no
luck :(

Solution: So they got me to delete my temp windows file c:windows/temp. Then go to
the below site to download this program that removes the remaining remnants of
Quicktime. Then reinstalled it all.

Here is the link and good luck.....

http://support.microsoft.com/default.aspx?scid=kb;en-us;290301


Miss Marnie
Additional Comment #21 From fry 2006-01-17 10:01
i'm gonna change the title for this thread to just focus on the
installation issues, and for anyone who has other trouble not defined here
to please submit a new bug.
Additional Comment #22 From pirates 2006-01-22 08:53
i amm trying to uninstall java machine but it keep saying fatal error during installation
Additional Comment #23 From pirates 2006-01-22 08:56
i am trying to unistall java machine but it keeps saying fatal error during installation
Additional Comment #24 From fry 2006-01-23 20:32
(In reply to comment #22)
>
>
>
> Additional Comment #22 From
> pirates
> 2006-01-22 08:53
>
> <!--
> addReplyLink(22); //-->[reply]
>
>
>
>
> i amm trying to uninstall java machine but it keep saying fatal error during
installation

this bug report is unrelated to installing java, and if you're having problems with its
installation, you should file a bug with sun, from whom you downloaded java.