Download NetBeans!

20070118 Thursday January 18, 2007

Continuing Problems with Native Library, Probably

Well, I tried various things, and despite the tips received in yesterday's blog entry (thanks Tom, Sven, and Anonymous, also thanks Antonio, I'll investigate your suggestion), I still can't get my NetBeans Platform application to work correctly, with the same error message as yesterday. I'm sure the reason is what Tom and Sven suggest, the DLL not being found. But I put it in various places (like in release/modules/lib within my library wrapper, which seemed, from mailing lists and so on, the right place to put it), and ended up with the same result. Any advice would be appreciated.

However, thanks to this thread, I discovered that I needed JDK 6 instead of 5, for the JavaSoundRenderer to work correctly. And now, magically, the sound is working and the speed is normal as well, so I have a cool (if small) movie player in Swing now, which works perfectly:

How cool would it be if I had the above on the NetBeans Platform? Very cool. I already have a lot of the ui set up, with a data object for AVI files, opening into a TopComponent via OpenSupport. I really hope someone can help here.

By the way, small competition for movie buffs -- the above is a moment in one of my favorite movies 'Donnie Brasco'. Question: Which of the following things has Paulie (James Russo) just said in the clip above?

  • "Sonny Black ain't happy. And you know what that means."
  • "Sonny Red's dead meat. Forget about it."
  • "We better start earning or somebody's gonna get clipped."
  • "Forget about it. Donnie ain't no rat."
  • "A priest, a duck, and an eskimo walk into a bar..."

Anyone who gets it right wins a copy of my Swing Movie Player. (But then you'd need to get your own codec libraries and probably various other platform-specific stuff if you're not using Windows, because those are the only libraries that this application provides.) If you know the answer (or if you think you do), send it to geertjan DOT wielenga AT sun DOT com, with "Paulie said..." in the subject line.

Jan 18 2007, 09:43:49 AM PST Permalink