Thanks David, I did indeed have a typo. My java.ext.dirs isn't null but
C:\OpenJDK-b96m\jdk7\build\windows-i586-fastdebug\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
and I did have the required jar file in that directory so I suppose I
should still try to figure out why using AWTEventMonitor from a jar
ca
On Wed, Aug 4, 2010 at 12:12 AM, Pete Brunet wrote:
> The failure is on this line of code:
> AWTEventMonitor.addFocusListener(this)
> which resides in ...\classes\sun\awt\windows\accessibility
>
> AWTEventMonitor is a class in jaccess-1_4.jar which is in lib/ext
>
> However, just before the failin
Peter,
This kind of problem is why the ContextClassLoader was introduced.
Anytime you have a SPI where the core libs needs to find a (potentially)
externally defined concrete implementation, the bootstrap loader can't
find it, so the context loader has to be set and used - generally to
jump b
The failure is on this line of code:
AWTEventMonitor.addFocusListener(this)
which resides in ...\classes\sun\awt\windows\accessibility
AWTEventMonitor is a class in jaccess-1_4.jar which is in lib/ext
However, just before the failing line is executed, a println shows these
two system properties
j
The class loading info wasn't helpful. If I run jdb I get the log shown
below. So far the debug info isn't making sense. Hopefully it will
tomorrow :-) If someone can decipher this from the log that would be
helpful.
Exception occurred: java.lang.NoClassDefFoundError (to be caught at:
com.sun
Hi David, I didn't get any output at all from that one - though it
appears to be a valid parameter as it didn't result in an error
message. -Pete
David Holmes wrote:
> Peter,
>
> Try adding -XX:+Verbose to get extra info
>
> David
>
> Pete Brunet said the following on 08/03/10 02:57:
>> Thanks Da
Peter,
Try adding -XX:+Verbose to get extra info
David
Pete Brunet said the following on 08/03/10 02:57:
Thanks David, Those options tell me which classes were succesfully
loaded but not what classes the class loader was trying to load when the
class loader was attempting to load SwingEventMon
Thanks David, Those options tell me which classes were succesfully
loaded but not what classes the class loader was trying to load when the
class loader was attempting to load SwingEventMonitor. Is there a way
to get a deeper dump while a particular class is being loaded? -Pete
David Holmes wrot
Try -verbose:class or -XX:+TraceClassLoading
HTH
David Holmes
Pete Brunet said the following on 07/31/10 07:53:
This blog post has been helpful to at least start the investigation:
http://www.jroller.com/sjivan/entry/difference_between_classnotfoundexception_and_noclassdeffounderror
However,
This blog post has been helpful to at least start the investigation:
http://www.jroller.com/sjivan/entry/difference_between_classnotfoundexception_and_noclassdeffounderror
However, I haven't found anything yet similar to the cases discussed in
the blog entry. Since SwingEventMonitor was last upda
What is the correct way to fix this?
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError:
com/sun/java/accessibility/util/SwingEventMonitor
at
sun.awt.windows.accessibility.AccessibleContextMirror.(AccessibleContextMirror.java:583)
This class lives in jaccess-1_4.jar whi
11 matches
Mail list logo