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: DESPERATION: QTSession.open() CRASHE



In our testing we found that QT6 does 'seem' to look at the registry at runtime! Please could apple confirm this.

Simply copying over our 1.4 jre (1.4.1_01 to be precise) and running our java app from there fails in the same way as described. We need to run the actual sun installer (a registry hack may achieve the same goal). This is not cool as if the users jre environment is 1.3 based then we are forcing them to go 1.4 (and if they then install 1.3 after our app ins installed) then we are stuffed.

My wild guess at the problem is that qt draws to the screen in a different way in jre 1.4 than in jre 1.3 and apple uses the registry to figure out what is current. If the registry and what you running is out of sync then you are stuffed.

We need to install (like most people) our product with the it's own jre.

Phil

TISL

-----Original Message-----
From: email@hidden [mailto:MIME :email@hidden]
Sent: 07 February 2003 09:59
To: email@hidden
Cc: email@hidden
Subject: Re: DESPERATION: QTSession.open() CRASHES without JRE !!




-------------------------------------------------------------------------- --
And how does that contradict what I said? :-) You said QTSession.open()
checked the registry, and I said it was only checked by the installer.

-Rolf

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

-- Rolf Howarth, Square Box Systems Ltd, Stratford-upon-Avon UK.
_______________________________________________
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.
_______________________________________________
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.



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.