Wednesday 20 October 2010

Can't we all just get along? JDeveloper vs Apple QuickTime

Every once in a while on running an application via JDev, usually just before I'm about to present (argh!), the integrated WLS doesn't start, displaying the following error message:

*** Using port 7101 ***
C:\Users\Chris\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization...]
\QuickTime\QTSystem\QTJava.zip was unexpected at this time.
Process exited.

This error occurs because under Windows, anytime I update Apple's iTunes on my PC, which in turn more often than not installs a new version of Apple QuickTime, the QuickTime installer adds the following entry to the CLASSPATH environment variable:

CLASSPATH=.;C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip

It can be fixed by removing the entry, and restarting JDev.

2 comments:

Jan Vervecken said...

hi Chris

I have seen the Belgian eID Runtime do the same with a path like "C:\Program Files (x86)\Belgium Identity Card".

regards
Jan Vervecken

Jan Vervecken said...

fyi

at http://twitter.com/stegemanoracle/status/28984164833
it says "Junction Points a solution for the "c:\program files (x86)" path problem - mklink /J pf86 "c:\program files (x86)" and edit path to use pf86"

Also "dir /x" shows short names so a path like "C:\Program Files (x86)\Belgium Identity Card" can also be "C:\PROGRA~2\BELGIU~1".

regards
Jan Vervecken