error in eclipse

Supporting Java SE version 7 and up
frippelius

error in eclipse

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

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

[size=85]
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>(Phidget.java:25)
at eggtimer.EggTimer.main(EggTimer.java:45)
Caused by: java.lang.ClassNotFoundException: com.phidgets.AnalogPhidget
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
[/size]
.. 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?

frippelius

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