error in eclipse

Supporting Java SE version 7 and up

error in eclipse

Postby frippelius » Wed Mar 16, 2011 8:11 am

When I try to run software for connecting to phidget via webservice I get an error display and this is what the console prints:

CRIT: Couldn't FindClass com/phidgets/AnalogPhidget
java.lang.NoClassDefFoundError: com/phidgets/AnalogPhidget
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.phidgets.Phidget.<clinit>(
at eggtimer.EggTimer.main(
Caused by: java.lang.ClassNotFoundException: com.phidgets.AnalogPhidget
at$ Source)
at Method)
.. and some more.

And a display pops that says:
Runtime Error!
Program C:\...\jre6\bin\javaw.exe
This application has requested the Runtime to terminate it in an unusual way.
Please contact the applications support team for more information.
Any ideas what to do? I think i have recently updated java, could that have caused this?


Re: error in eclipse

Postby frippelius » Wed Mar 16, 2011 8:52 am

I solved it.
I linked to an old phidget21.jar file and when I changed to the new the error went away.

Return to “Java”

Who is online

Users browsing this forum: No registered users and 2 guests