|
Re: Problem with my new project [message #696252 is a reply to message #696196] |
Wed, 13 July 2011 13:48 |
|
On 13-Jul-11 07:21, Jan Oris wrote:
> Ok, I'm hoping this is the right subforum for this topic, if not: let me
> know and I'll change it.
>
> So what I want to do is use the Wiimote for tracking purposes. I found a
> very nice library called WiiGee, which has some jars for download. I
> downloaded the jars and included them in my project as internal jars.
> Basically drag-and-drop into Eclipse and "add jar" via project properties
>
> It didn't work, I got the following error:
>
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> javax/microedition/io/Connector
> at org.wiigee.device.Wiimote.connect(Wiimote.java:133)
> at org.wiigee.device.Wiimote.<init>(Wiimote.java:119)
> at
> org.WiiGeeTest.controller.WiimoteController.<init>(WiimoteController.java:20)
>
> at
> org.WiiGeeTest.controller.WiimoteController.main(WiimoteController.java:43)
> Caused by: java.lang.ClassNotFoundException:
> javax.microedition.io.Connector
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
>
>
> A friend then told me I needed to download the Java ME SDK. So I
> downloaded Java SE and got the ME SDK from the Oracle.com-website and
> installed both setups.
>
> This doesn't do very much, as I'm sure I need to change some settings in
> Eclipse to make sure it knows about the recently installed SDK.
> Unfortunately, I have absolutely no idea how to do this. I've been
> looking at the settings for 2 days now, and still nothing. This project
> is my master thesis, so I need to get this to work ASAP!!
>
> Any help is appreciated...
>
> Thx
This is the right forum...
Directing Eclipse to use J2ME JAR(s) involves right-clicking on the
project, choosing Build Path, then Configure Build Path and finally the
Libraries tab.
Come back with more pointed questions as they arise. We're glad to help.
|
|
|
Powered by
FUDForum. Page generated in 0.07935 seconds