harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@pobox.com>
Subject Re: some question about drlvm
Date Wed, 26 Jul 2006 04:15:42 GMT
>From this I deduce you built it yourself :)

If you want Swing/AWT included, you need to  :

1) Follow directions in depends/lib/build to get the dependencies.

2) set the property "with.awt.swing" to true when building...

geir


zouqiong wrote:
> fc5   gcc-3.4.6
> 
> 2006/7/26, Geir Magnusson Jr <geir@pobox.com>:
>>
>> Are you using a snapshot or did you build it yourself?
>>
>> What platform?
>>
>> geir
>>
>>
>> zouqiong wrote:
>> > does drlvm support for swing classlib?
>> >
>> > when I run Java2Demo.jar which is compiled with jdk, some error comes:
>> >
>> > java.lang.NoClassDefFoundError: javax/swing/JPanel
>> >        at java.lang.VMClassRegistry.defineClass()
>> >        at java.lang.ClassLoader.defineClass()
>> >        at java.security.SecureClassLoader.defineClass()
>> >        at java.net.URLClassLoader.findClassImpl()
>> >        at java.net.URLClassLoader$4.run()
>> >        at java.security.AccessController.doPrivilegedImpl()
>> >        at java.security.AccessController.doPrivileged()
>> >        at java.net.URLClassLoader.findClass()
>> >        at java.lang.ClassLoader.loadClass()
>> >        at java.net.URLClassLoader$SubURLClassLoader.loadClass()
>> > Caused by: java.lang.ClassNotFoundException: javax.swing.JPanel
>> >        at java.net.URLClassLoader.findClass()
>> >        at java.lang.ClassLoader.loadClass()
>> >        at java.net.URLClassLoader$SubURLClassLoader.loadClass()
>> >        at java.lang.ClassLoader.loadClass()
>> >        at java.lang.VMClassRegistry.defineClass()
>> >
>> > how can i solve the problem?  Thanks a lot.
>> >
>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>
>>
> 

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message