| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
----- Original Message -----
From: "Rolf Howarth" <email@hidden>
To: <email@hidden>
Sent: Friday, February 07, 2003 1:39 AM
Subject: Re: DESPERATION: QTSession.open() CRASHES without JRE !!
I didn't think QTJava looked at the registry at all except when it's
being installed. Are you sure it's not a class path issue? If you do
a search on your hard drive for QTJava.zip how many copies do you
have and where are they? Running your own VM rather than the one
specified in the registry would mean you pick up a different lib/ext
folder and could well explain why one crashes and the other doesn't.
Trust me:
When you install quicktime and you choose to install qtjava, the installer
checks for the presence of a suitable java runtime through this key:
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment]
If it doesn't find it, it doesn't even install qtjava.zip and its dlls
(that's really silly!! Read on).
The installer also looks for a suitable path where to install qtjava.zip. If
it finds a "lib/ext" path (java2) it copies qtjava.zip there. In any case it
copies qtjava.zip into the windows/system directory.
If you have java2 jre intalled, you can be sure that a qtjava installation
will create a pair of qtjava.zip archives: one in "<jre>/lib/ext" and one in
"windows/system".
There's a quick trick in order to "fool" the qt installer and get your
QTSession.open() back at work. When you install your app with your own JVM
you must create the following keys:
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft]
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment]
"CurrentVersion"="MYJVM"
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\MYJVM]
"JavaHome"=<INSERT HERE YOUR JRE_HOME PATH>
Cheers!
Mik
============================================================================
ClassX Development Italy Via Francesca, 463 I-56030 Montecalvoli (PI) <============================================================================
Tel.(+39)-0587-749206 Fax.(+39)-0587-749206 WEB: http://www.classx.it <
_______________________________________________
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: DESPERATION: QTSession.open() CRASHES without JRE !! (From: Rolf Howarth <email@hidden>) | |
| >Re: DESPERATION: QTSession.open() CRASHES without JRE !! (From: "Michele Puccini" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.