File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Unable to run Simple JFrame app using jdic.jar in eclipse! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Unable to run Simple JFrame app using jdic.jar in eclipse!" Watch "Unable to run Simple JFrame app using jdic.jar in eclipse!" New topic
Author

Unable to run Simple JFrame app using jdic.jar in eclipse!

akash kumar
Ranch Hand

Joined: Jun 13, 2007
Posts: 63
Hi guys!
I know this is so simple but am not able run the program. I amtrying to run a JFrame program that uses jdic.jar library . I put the the jdic.jar in the source folder and added to the build path of the project in the eclipse. Eclipse does not show any compile errors but when i run it I'm getting the following error.


{init
New binary?:F:\WorkSpaceJava\Browser\windows\x86
New binary:F:\WorkSpaceJava\Browser\windows\x86;C:\Program Files\Java\jre6\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\Program Files\Verisium\vTest\Bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\80\Tools\BINN
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jdic in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.jdesktop.jdic.init.JdicManager$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at org.jdesktop.jdic.init.JdicManager.loadLibrary(Unknown Source)
at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unknown Source)
at Browser.jbInit(Browser.java:173)
at Browser.<init>(Browser.java:69)
at Browser.main(Browser.java:85)


What should I do to run the program?

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19785
    
  20

Moving to IDEs since to me this is more Eclipse related than Swing related.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to run Simple JFrame app using jdic.jar in eclipse!