This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes XML and Related Technologies and the fly likes Mozilla html parser can't get this thing going anyone familiar with this? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Mozilla html parser can Watch "Mozilla html parser can New topic
Author

Mozilla html parser can't get this thing going anyone familiar with this?

steve labar
Ranch Hand

Joined: Sep 10, 2008
Posts: 55
So, I have heard very good things about this html parser. However, looking at the documentation ( almost nothing i'm a bit concerned already). I can't get this thing installed for the life of me.

I have done the following:

Set Path - added everything they said and some just in case.
C:\Documents and Settings\steve\workspace\MozillaParser-v-0-3-0\MozillaParser-v-0-3-0\dist;C:\Documents and Settings\steve\workspace\MozillaParser-v-0-3-0\MozillaParser-v-0-3-0\dist\windows\mozilla;C:\Documents and Settings\steve\workspace\MozillaParser-v-0-3-0\MozillaParser-v-0-3-0\dist\windows;C:\Documents and Settings\steve\workspace\MozillaParser-v-0-3-0\MozillaParser-v-0-3-0\dist\windows\mozilla\components;C:\Documents and Settings\steve\workspace\MozillaParser-v-0-3-0\bin

I installed mozilla-dist-bin-windows which wass not mentioned anywhere in documentation but saw someone online using it and thats that.

The code has zero compile errors but once run i get:

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: C:\dapper\workspace\Dapper\java\lib\parser\bin\EnviromentController.dll
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.dappit.Dapper.parser.EnviromentController.main(Unknown Source)


that c:\dapper\workspace does not exist? i don't know where it is calling this any ideas?

Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Your answer isn't in here? http://mozillaparser.sourceforge.net/quickstart.html
steve labar
Ranch Hand

Joined: Sep 10, 2008
Posts: 55
found my answerthanks for help. ended up being that it was calling main from other class in library.

stupid me!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Mozilla html parser can't get this thing going anyone familiar with this?