javacv error in eclipse

  • (2 Pages)
  • +
  • 1
  • 2

29 Replies - 3275 Views - Last Post: 03 October 2012 - 12:19 PM Rate Topic: -----

#1 sujan88  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 22-September 12

javacv error in eclipse

Posted 03 October 2012 - 12:44 AM

I downloaded this javacv example . when i try to run this code from eclipse it shows this kind of error. please help me to solve this error. Thank you


Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\Users\sujan\AppData\Local\Temp\javacpp13165890902885\jniopencv_core.dll: Can't find dependent libraries 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.load0(Unknown Source) at java.lang.System.load(Unknown Source) at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:418) at com.googlecode.javacpp.Loader.load(Loader.java:368) at com.googlecode.javacpp.Loader.load(Loader.java:315) at com.googlecode.javacv.cpp.opencv_core.(opencv_core.java:131) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source)

Is This A Good Question/Topic? 0
  • +

Replies To: javacv error in eclipse

#2 farrell2k  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 797
  • View blog
  • Posts: 2,423
  • Joined: 29-July 11

Re: javacv error in eclipse

Posted 03 October 2012 - 01:17 AM

Your best resource for errors like this is Gogole, but the error seems to suggest that Eclipse cannot find a library com.googlecode.javacpp. Eclipse is such a terrible, buggy IDE. I've given up on it completely, and only use it when I unfortunately have to.
Was This Post Helpful? 0
  • +
  • -

#3 fromTheSprawl  Icon User is offline

  • Monomania
  • member icon

Reputation: 513
  • View blog
  • Posts: 2,055
  • Joined: 28-December 10

Re: javacv error in eclipse

Posted 03 October 2012 - 01:22 AM

Have your tried installing OpenCV? From this line on the link you provided:
"Requires installation of platform dependent native OpenCV binaries. "
Also, make sure the version is compatible.

farrell2k, what is your alternative now that you've dumped Eclipse?
Was This Post Helpful? 0
  • +
  • -

#4 farrell2k  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 797
  • View blog
  • Posts: 2,423
  • Joined: 29-July 11

Re: javacv error in eclipse

Posted 03 October 2012 - 01:28 AM

View PostfromTheSprawl, on 03 October 2012 - 08:22 AM, said:

Have your tried installing OpenCV? From this line on the link you provided:
"Requires installation of platform dependent native OpenCV binaries. "
Also, make sure the version is compatible.

farrell2k, what is your alternative now that you've dumped Eclipse?


After all the out of memory, can't start, and null pointer exceptions eclipse has thrown at me, I have made the switch to Netbeans, and have not looked back.
Was This Post Helpful? 0
  • +
  • -

#5 fromTheSprawl  Icon User is offline

  • Monomania
  • member icon

Reputation: 513
  • View blog
  • Posts: 2,055
  • Joined: 28-December 10

Re: javacv error in eclipse

Posted 03 October 2012 - 01:36 AM

Netbeans is actually better? Interesting, thanks, I'll check that out.
Was This Post Helpful? 0
  • +
  • -

#6 farrell2k  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 797
  • View blog
  • Posts: 2,423
  • Joined: 29-July 11

Re: javacv error in eclipse

Posted 03 October 2012 - 01:47 AM

I find it better. To be fair, however, the TCs problem is one of a missing plugin, not a problem with eclise. I did leave eclipse because of all the null pointed exceptions and startup errors though. I love netbeans and would never turn back. If you don't like to punish yourself writing swing by hand, the gui builder is fantastic, Java EE support is great, and JavaFX support is top notch. The best IDE, hands down.

This post has been edited by farrell2k: 03 October 2012 - 01:47 AM

Was This Post Helpful? 0
  • +
  • -

#7 fromTheSprawl  Icon User is offline

  • Monomania
  • member icon

Reputation: 513
  • View blog
  • Posts: 2,055
  • Joined: 28-December 10

Re: javacv error in eclipse

Posted 03 October 2012 - 01:55 AM

You sound like NeoTifa. Then I'll definitely check it out. ^^
Was This Post Helpful? 0
  • +
  • -

#8 CasiOo  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 1275
  • View blog
  • Posts: 2,840
  • Joined: 05-April 11

Re: javacv error in eclipse

Posted 03 October 2012 - 02:08 AM

View Postfarrell2k, on 03 October 2012 - 08:47 AM, said:

I find it better. To be fair, however, the TCs problem is one of a missing plugin, not a problem with eclise. I did leave eclipse because of all the null pointed exceptions and startup errors though. I love netbeans and would never turn back. If you don't like to punish yourself writing swing by hand, the gui builder is fantastic, Java EE support is great, and JavaFX support is top notch. The best IDE, hands down.


The only problem I have had with eclipse was when downloading / installing plugins. It was much faster and safer to download the library manually and not use the eclipse plugin downloader.

I would never use a java GUI builder, they just aren't good enough!
I think your problems with eclipse has been caused by yourself ^^
Was This Post Helpful? 0
  • +
  • -

#9 fromTheSprawl  Icon User is offline

  • Monomania
  • member icon

Reputation: 513
  • View blog
  • Posts: 2,055
  • Joined: 28-December 10

Re: javacv error in eclipse

Posted 03 October 2012 - 02:12 AM

Lol, how come you don't trust the Eclipse downloader? I use it to download plugins from the Marketplace, but yeah, more often than not errors occur.
Was This Post Helpful? 0
  • +
  • -

#10 nick2price  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 561
  • View blog
  • Posts: 2,826
  • Joined: 23-November 07

Re: javacv error in eclipse

Posted 03 October 2012 - 02:38 AM

I have never had a problem with eclipse, love it. The thing I love most about it is there is no need to install it. I actually use Netbeans aswell though for any JavaEE projects. Dont use the gui builder though no matter how lazy you feel, will get you into bad habits. What I have discovered ever since I started work is that Swing is not actually that common anymore in the workplace. It seems most places prefer things like GWT now.
Was This Post Helpful? 0
  • +
  • -

#11 fromTheSprawl  Icon User is offline

  • Monomania
  • member icon

Reputation: 513
  • View blog
  • Posts: 2,055
  • Joined: 28-December 10

Re: javacv error in eclipse

Posted 03 October 2012 - 02:41 AM

In my country, careers for Swing development is almost nonexistent. I hope Netbeans releases a non - install version too, so I can really try it without hassles.

Also, the problems I've had with Eclipse usually are obscure ones, like the aforementioned out of memory thing, or Eclipse hangs up for no reason. Other than that, I love Eclipse.
Was This Post Helpful? 0
  • +
  • -

#12 farrell2k  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 797
  • View blog
  • Posts: 2,423
  • Joined: 29-July 11

Re: javacv error in eclipse

Posted 03 October 2012 - 02:58 AM

View PostCasiOo, on 03 October 2012 - 09:08 AM, said:

I would never use a java GUI builder, they just aren't good enough!

Pure ignorance! Don't listen to people around here. Visual Studio developers think these statements are insane. The GUI builder is 2X as fast and efficient as you. Hint: You don't have to use GroupLayout, if you cannot read it.

View PostCasiOo, on 03 October 2012 - 09:08 AM, said:

I think your problems with eclipse has been caused by yourself ^^


I am pretty good at causing NUllPointerExceptions in my own code, but not within Eclipse itself. Then there are the times that the mouse cursor just completely disappears. That's annoying. Sounds like a variation of "It doesn't happen for me, therefore it either doesn't exist, or it's your fault" :)
Was This Post Helpful? 0
  • +
  • -

#13 sujan88  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 22-September 12

Re: javacv error in eclipse

Posted 03 October 2012 - 03:00 AM

Thank you everyone for considering this.I have already set up opencv. In my package there are many scala files. then i setup scala plugin to eclipse too. I'm dying to learn javacv for video processing. I think I better go to net beans.
Was This Post Helpful? 0
  • +
  • -

#14 CasiOo  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 1275
  • View blog
  • Posts: 2,840
  • Joined: 05-April 11

Re: javacv error in eclipse

Posted 03 October 2012 - 03:06 AM

View Postfarrell2k, on 03 October 2012 - 09:58 AM, said:

View PostCasiOo, on 03 October 2012 - 09:08 AM, said:

I would never use a java GUI builder, they just aren't good enough!

Pure ignorance! Don't listen to people around here. Visual Studio developers think these statements are insane. The GUI builder is 2X as fast and efficient as you. Hint: You don't have to use GroupLayout, if you cannot read it.

View PostCasiOo, on 03 October 2012 - 09:08 AM, said:

I think your problems with eclipse has been caused by yourself ^^


I am pretty good at causing NUllPointerExceptions in my own code, but not within Eclipse itself. Then there are the times that the mouse cursor just completely disappears. That's annoying. Sounds like a variation of "It doesn't happen for me, therefore it either doesn't exist, or it's your fault" :)


Are you comparing WPF and netbeans java GUI builder? It is not even close to being the same.
Was This Post Helpful? 1
  • +
  • -

#15 GregBrannon  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 2194
  • View blog
  • Posts: 5,222
  • Joined: 10-September 10

Re: javacv error in eclipse

Posted 03 October 2012 - 03:09 AM

I've never had Problem 1 with Eclipse that I didn't cause myself, and I've been using it for 2+ years in a Linux environment through several distribution changes, installs/reinstalls, upgrades, capability additions and subtractions. It seems mindlessly dependable to me.

It's interesting how experiences with essentially the same thing can contrast so sharply.
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2