GeeCON Prague 2014*
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


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: 18570
    
    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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mozilla html parser can't get this thing going anyone familiar with this?