Wednesday, June 29, 2011

Error: “\Java\jre6\lib\ext\QTJava.zip was unexpected at this time.”

After installation of Weblogic Server if you get an error: “\Java\jre6\lib\ext\QTJava.zip was unexpected at this time.” This can be solved as under,

Check if QTJava.zip is set in %CLASSPATH% environment variable CLASSPATH=.;C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip

Remove C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip from %CLASSPATH% environment variable and restart the computer.

29 comments:

Anonymous said...

Dude! Life saver

Anonymous said...

Thanks a lot!

Anonymous said...

Thanks! Do you know why it does this?

phillips4jc said...

Thanks! You saved me wasting even more time.

pdas said...

Thanks!!
It works even if you change the location of the file to some other folder, which do not have any space character in the folder names. e.g "Program Files"

pdas said...
This comment has been removed by the author.
Vee Eee Technologies said...

Thanks for sharing your info. I really appreciate your efforts and I will be waiting for your further write ups thanks once again.

Zach Taylor said...

changing that line to this .;C:\Progra~2\Java\jre6\lib\ext\QTJava.zip and restarting works too

Thomas Rischbeck said...

Wonderful! Thanks a bunch!

Anonymous said...

worked for me too. thanks.

Monogenes said...

You don't necessarily have to reboot, just apply the env variable change, close your command window and reopen another one, that's where environment variables get refreshed on Windows.

Monogenes said...

Sorry, after changing CLASSPATH string to C:\Progra~2\Java\jre6\lib\ext\QTJava.zip.... (probably the preferred way in case something still needs it).

Anonymous said...

10x a lot :-)

Anonymous said...

Man !!! You saved my life...

Sharad Garg said...

Thanks Man.

Sharad Garg said...
This comment has been removed by the author.
Sharad Garg said...
This comment has been removed by the author.
Anonymous said...

Thanks a lot!

Anonymous said...

Thanks. this was useful!!

Anonymous said...

Thanks a lot...

Anonymous said...

Hello! I had similar problem. I removed from CLASSPATH QT_Java.zip but another error appeared. The problem was caused by other entries in classpath. Those entries were added by IBM WebLogic MQ. So the ideea is to have the classpath clean. To do that you can open a command prompt and clear the class path like below:
set CLASSPATH="."
then run startWebLogicServer.cmd.
It's a shame that WebLogic has this problem ...
Have fun!

Anonymous said...

ı have the same problem. ı remove QTjava.zip but ı can't run that.
Please help me..

MMC said...

thank you very much, very useful

Anonymous said...

@pdas is correct. The problem is with the space in the classpath. Copy the required jar files given in the classpath to a new location on your system and then replace their old paths with their new path (where you havekept them on your system) in the classpath and restart yourcmd window. This should solve ur problem....by Ashish Jain

Anonymous said...

I think it is easier to add the command set CLASSPATH="." to the startWebLogic.cmd in the domain bin directory is a better choice. Updating the system classpath may affect other programs. Who knows who really added it.

한민 said...

http://www.oracle.com/technetwork/developer-tools/jdev/5rn-shermanu1-496572.html#deploy

Dustin Hill said...

Thanks so much! This helps a ton!

Anonymous said...

Thanks a lot . It just helped me .

Anonymous said...

wow, thank you so much. i wish oracle would put stuff like this in their documentation under known issues. they must have an agreement with tylenol. haha

Search This Blog