gyandeep8693 / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

Application runs fine on eclipse but it causes issues when running from a runnable jar file built using eclipse #447

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have the following in a folder;
- test
  - run_lib
    - javacpp.jar
    - javacv.jar
    - javacv-windows-x86_64.jar
    - opencv-248.jar
    - sqljdbc4.jar

- opencv_java248.dll
- run.bat
- run.jar

When running run.bat I get a null pointer exception at line 56 which is;

grayImg = IplImage.create(img.width(), img.height(), IPL_DEPTH_8U, 1);

I have attached an image of my cmd

What am i doing wrong? How is it possible that eclipse can run the application 
and i cannot?

Original issue reported on code.google.com by josephbo...@gmail.com on 20 Mar 2014 at 10:48

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I forgot to move some folders created by eclipse. now works fine..

Original comment by josephbo...@gmail.com on 21 Mar 2014 at 11:12

GoogleCodeExporter commented 9 years ago
Great! Thanks for the feedback, but please ask your questions on the mailing 
list next time if possible, thank you

Original comment by samuel.a...@gmail.com on 23 Mar 2014 at 1:16