java error on ubuntu

my host:

hardware:pcduinio (as Raspberry B)

ubuntu 12.04 arm-jdk 7 oracle-java

when Run processing example: Libraries->video->GettingStartedCapture.pde


Capture cam;

void setup() {
  size(640, 480);

  String[] cameras = Capture.list();

//error message:
//alert message:
//-no class def found error:could not
  initialize class com.sun.jna.Native

but other processing demo is OK (no include video libraries)

how to fix it? thanks.


  • Which version of Processing are you using? Are you using the Video library from the Contribution Manager?

Sign In or Register to comment.