[android-developers] Re: draw9patch fails because find_java fails because it can't find SwingWorker

2010-12-24 Thread Doug
Don't file a bug because there is already one open:

http://code.google.com/p/android/issues/detail?id=12979

On Dec 24, 11:04 am, Kostya Vasilyev  wrote:
> The missing jar is a component of the Google Web Toolkit:
>
> http://code.google.com/webtoolkit/download.html
>
> Download the GWT SDK, extract the .zip file, grab "gwt-dev.jar", and
> drop into "android-sdk-windows\tools\lib".
>
> This didn't use to be necessary and only broke with the latest SDK
> release, 8.0.1.
>
> Care to file a bug athttp://tools.android.com/feedback?
>
> -- Kostya
>
> 24.12.2010 21:44, John Lussmyer пишет:
>
>
>
> > I just tried to use the draw9patch program, invoked via draw9patch.bat.
> > It fails with:
>
> > C:\Projects\android-sdk-windows\tools>call java -Djava.ext.dirs=lib\
> > -jar lib\dr
> > aw9patch.jar
> > Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError:
> > org/jdesk
> > top/swingworker/SwingWorker
> > at com.android.draw9patch.Application$1.run(Application.java:48)
> > at java.awt.event.InvocationEvent.dispatch(Unknown Source)
> > at java.awt.EventQueue.dispatchEvent(Unknown Source)
> > at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
> > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> > at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> > at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> > at java.awt.EventDispatchThread.run(Unknown Source)
> > Caused by: java.lang.ClassNotFoundException:
> > org.jdesktop.swingworker.SwingWorke
> > r
> > at java.net.URLClassLoader$1.run(Unknown Source)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at java.net.URLClassLoader.findClass(Unknown Source)
> > at sun.misc.Launcher$ExtClassLoader.findClass(Unknown Source)
> > at java.lang.ClassLoader.loadClass(Unknown Source)
> > at java.lang.ClassLoader.loadClass(Unknown Source)
> > ... 9 more
>
> > Apparently some jar that it depends on is missing. It wasn't provided
> > with the Android SDK.
> > Which one do I need to find?
> > (Win7 64 bit, latest java installed.)
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget 
> --http://kmansoft.wordpress.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: draw9patch fails because find_java fails because it can't find SwingWorker

2010-12-24 Thread Zsolt Vasvari
You need this file: swingworker

http://code.google.com/p/dividere/downloads/detail?name=swing-worker-1.1.jar&can=2&q=



On Dec 25, 2:44 am, John Lussmyer  wrote:
> I just tried to use the draw9patch program, invoked via draw9patch.bat.
> It fails with:
>
> C:\Projects\android-sdk-windows\tools>call java -Djava.ext.dirs=lib\ -jar
> lib\dr
> aw9patch.jar
> Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError:
> org/jdesk
> top/swingworker/SwingWorker
>         at com.android.draw9patch.Application$1.run(Application.java:48)
>         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>         at java.awt.EventQueue.dispatchEvent(Unknown Source)
>         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
> Source)
>         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
> Source)
>         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>         at java.awt.EventDispatchThread.run(Unknown Source)
> Caused by: java.lang.ClassNotFoundException:
> org.jdesktop.swingworker.SwingWorke
> r
>         at java.net.URLClassLoader$1.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(Unknown Source)
>         at sun.misc.Launcher$ExtClassLoader.findClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         ... 9 more
>
> Apparently some jar that it depends on is missing.  It wasn't provided with
> the Android SDK.
> Which one do I need to find?
> (Win7 64 bit, latest java installed.)

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en