On Mar 28, 12:41 pm, vanderwalt.lo....DeleteThis@gmail.com wrote:
> I would suggest that you uninstall Java 6 and install V5 again. Then
> JVC will work fine. Just be sure as to go and change you update
> settings so that java does not automaticly update again and override
> you "downgrade" (In Windows it's under the Java, Updates icon in your
> Control Panel)
>
> The problem is that update 6 makes changes to the controls used in the
> Swing Graphic elements used in JVC, so JVC will need to be upgraded to
> make it work on Java update 6
>
> twisti4....DeleteThis@googlemail.com wrote:
> > Anyone knows a way to get it to work ? Maybe one of the older
> > versions, which I hear still work fine ?
No, that's not correct. I have since found and repaired the bug. It
was a problem with the custom class loader (the one that is used to
load the addins), that was coincidentally combated by a bug in Java.
When the Java bug was fixed in 1.6, the bug in the custom class loader
finally surfaced. It was a simple fix though.
For anyone interested:
Open file ClassLoaderObjectInputStream.java (in jvc.util)
Change this:
protected Class resolveClass(ObjectStreamClass desc) throws
IOException, ClassNotFoundException {
Class class = theClassLoader.loadClass(desc.getName());
return class==null ? super.resolveClass(desc) : class;
}
To this:
protected Class resolveClass(ObjectStreamClass desc) throws
IOException,
ClassNotFoundException {
Class clazz = null;
try {
clazz = theClassLoader.loadClass(desc.getName());
} catch (ClassNotFoundException cnfe) {
clazz = super.resolveClass(desc);
}
return clazz;
}
Of course, the latest JVC version still has other problems, such as
the inability to save custom colors.
>> Stay informed about: JVC with Java 6.0 ?