Ask Your Question

fferrieu's profile - activity

2014-07-23 08:50:23 -0600 received badge  Famous Question (source)
2013-11-10 10:54:28 -0600 received badge  Notable Question (source)
2013-08-07 18:11:31 -0600 received badge  Popular Question (source)
2013-06-12 22:06:42 -0600 received badge  Student (source)
2013-03-04 05:02:21 -0600 commented question opencv-2.4.4 in java.library.path error

problem solved thanks

2013-03-04 04:37:22 -0600 asked a question unsupported classe version error in opencv 2.4.4

public class Main { public static void main(String[] args) {

    System.loadLibrary(org.opencv.core.Core.NATIVE_LIBRARY_NAME);
   System.out.println( "Wellcome to "+ Core.VERSION);
   int n=CvType.CV_32F;
   Mat m   = Mat.eye(4, 4, CvType.CV_32F);
   System.out.println("m = " + m.dump());
}

I get Wellcome to 2.4.4.0 Wellcome to 2.4.4.0 Exception in thread "main" java.lang.UnsupportedClassVersionError: org/opencv/core/Mat : Unsupported major.minor version 51.0 from line 11 which is the Mat m declaration why? thanks again for help regards Frederic

2013-03-04 03:10:56 -0600 commented question opencv-2.4.4 in java.library.path error

My OS is ubuntu 13.04 ok I solved with the right LIB PATH and the sample program load right the opencv version but Mat m = Mat.eye(4, 4, CvType.CV_32F); lead to Unsupported major.minor version 51.0 why?

2013-03-01 04:47:05 -0600 asked a question opencv-2.4.4 in java.library.path error

following the tutorial and writing in eclipse

import org.opencv.core.CvType;
import org.opencv.core.Mat;
public class Main {
    public static void main(String[] args) {
      System.loadLibrary("opencv_java244");
          Mat m = Mat.eye(3, 3, CvType.CV_8UC1);
          System.out.println("m = " + m.dump());
    }
}

I get

Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java244in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1681)
    at java.lang.Runtime.loadLibrary0(Runtime.java:840)
    at java.lang.System.loadLibrary(System.java:1047)
    at Main.main(Main.java:9)

same problem with netbeans thought the libraries exist including the opencv native i.e libopencv.so