load dll in JBuilder

  • Follow


   I 'm using MozillaHtmlParser now and encounter a problem withJBuilder.   I configured the Path environment as MozillaHtmlParser required --Add "D:\MozillaHtmlParser\ParserTest\mozilla.dist.bin.win" whichcontains many dlls into the PATH variable. It works well when I run atest class in command line. But when I run it in JBuilder environment,It throws an Exception: "Can't find dependent libraries" when loadingMozillaParser.dll by System.load() . I think MozillaParser.dll may useother dlls, But JBuilder don't search PATH. So it failed.  How to runit in JBuilder environment?   Thanks.
0
Reply fancyerii 11/28/2007 2:35:02 AM

On Nov 27, 10:35 pm, fancyerii <fancye...@gmail.com> wrote:>    I 'm using MozillaHtmlParser now and encounter a problem with> JBuilder.>    I configured the Path environment as MozillaHtmlParser required --> Add "D:\MozillaHtmlParser\ParserTest\mozilla.dist.bin.win" which> contains many dlls into the PATH variable. It works well when I run a> test class in command line. But when I run it in JBuilder environment,> It throws an Exception: "Can't find dependent libraries" when loading> MozillaParser.dll by System.load() . I think MozillaParser.dll may use> other dlls, But JBuilder don't search PATH. So it failed.  How to run> it in JBuilder environment?>    Thanks.Have you tried asking for help in the Borland/CodeGear newsgroups?In my experience, most developers in c.l.j.p are Eclipse or NetBeansusers.-Ramon (former JBuilderist)
0
Reply Ramon 11/28/2007 4:38:44 AM


On Tue, 27 Nov 2007 18:35:02 -0800 (PST), fancyerii
<fancyerii@gmail.com> wrote, quoted or indirectly quoted someone who
said :

> I think MozillaParser.dll may use
>other dlls, But JBuilder don't search PATH. So it failed.  How to run
>it in JBuilder environment?

Run Wassup in the Jbuilder environment as an application to discover
what Jbuilder is using for the library path. Then put your libraries
there.  Most IDEs let you add files and directories to the project
library.  look for term like "import" "library" "dependencies"

see http://mindprod.com/products1.html#WASSUP

-- 
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
0
Reply Roedy 11/30/2007 11:58:34 AM

fancyerii wrote:>I 'm using MozillaHtmlParser now and encounter a problem with>JBuilder. ...Figure it out in Ant, then 'damn the IDE'.  JBuilder (amongst many others) can import Ant build scripts.-- Andrew Thompsonhttp://www.physci.org/Message posted via JavaKB.comhttp://www.javakb.com/Uwe/Forums.aspx/java-general/200711/1
0
Reply Andrew 11/30/2007 12:38:02 PM

On Nov 27, 10:38 pm, Ramon F Herrera <ra...@conexus.net> wrote:> On Nov 27, 10:35 pm, fancyerii <fancye...@gmail.com> wrote:>> >    I 'm using MozillaHtmlParser now and encounter a problem with> > JBuilder.> >    I configured the Path environment as MozillaHtmlParser required --> > Add "D:\MozillaHtmlParser\ParserTest\mozilla.dist.bin.win" which> > contains many dlls into the PATH variable. It works well when I run a> > test class in command line. But when I run it in JBuilder environment,> > It throws an Exception: "Can't find dependent libraries" when loading> > MozillaParser.dll by System.load() . I think MozillaParser.dll may use> > other dlls, But JBuilder don't search PATH. So it failed.  How to run> > it in JBuilder environment?> >    Thanks.>> Have you tried asking for help in the Borland/CodeGear newsgroups?>> In my experience, most developers in c.l.j.p are Eclipse or NetBeans> users.>> -Ramon (former JBuilderist)~hey Ramon...as a "former JBuilderist", what are you using now?  (btw--jbuilder2007is now built on Eclipse.)  as a current "JBuilderist" :) i amstruggling with the database portion of this new release--they droppedtheir database libraries :(-mark
0
Reply mdR 11/30/2007 1:35:25 PM

4 Replies
224 Views

(page loaded in 0.071 seconds)

Similiar Articles:




7/28/2012 12:01:57 AM


Reply: