Page 1 of 1

no start redbox

Posted: 04 Feb 2010, 18:07
by viny
Hello !

I can't start redbox since today I have this error message :

Code: Select all

Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jre6\lib\e
xt\QTJava/zip
Caused by: java.lang.ClassNotFoundException: Files\Java\jre6\lib\ext\QTJava.zip
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: Files\Java\jre6\lib\ext\QTJava.zip.  Program will
 exit.
Appuyez sur une touche pour continuer...
I checked, QTJava.zip is in the foder Java\jre6\lib\ext\ !

thank for your help

Posted: 04 Feb 2010, 18:21
by viny
Solution:

Option 1: Put quotes around the QTJava path in your Systems Environment Variables. (may need to check after QT updates)
Option 2: Remove %CLASSPATH% from red5.bat.

Posted: 05 Feb 2010, 16:27
by Lapo
That's the infamous Quicktime bug that has been plaguing Windows users of QT for ages :(
Installing QT under windows simply breaks your Java default environment variables rendering the JRE/JDK unusable.

Very sad that this bug is still there after sooo many years ( 10+ !! )