aspose file tools*
The moose likes Java in General and the fly likes JNI error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "JNI error" Watch "JNI error" New topic
Author

JNI error

Raj Devaraj
Ranch Hand

Joined: Jun 29, 2000
Posts: 44
I am trying to run c programs through Java GUi. I have successfully done it before. But now I am getting the following error. Please help me.
Exception occurred during event dispatching:
java.lang.UnsatisfiedLinkError: no hello in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java, Compiled Code)
at java.lang.Runtime.loadLibrary0(Runtime.java, Compiled Code)
at java.lang.System.loadLibrary(System.java, Compiled Code)
at HelloWorld.<clinit>(HelloWorld.java:10)
at ListTestPanel.actionPerformed(ListTest.java, Compiled Code)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java, Compiled Code)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java, Compiled Code)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java, Compiled Code)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java, Compiled Code)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java, Compiled Code)
at java.awt.Component.processMouseEvent(Component.java, Compiled Code)
at java.awt.Component.processEvent(Component.java, Compiled Code)
at java.awt.Container.processEvent(Container.java, Compiled Code)
at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code)
at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java, Compiled Code)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java, Compiled Code)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java, Compiled Code)
at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
at java.awt.Window.dispatchEventImpl(Window.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java, Compiled Code)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java, Compiled Code)
at java.awt.EventDispatchThread.run(EventDispatchThread.java, Compiled Code)
It gives this error "java.lang.UnsatisfiedLinkError: no hello in java.library.path"
What am I doing wrong?.

Thanks in advance
Kenny
Greenhorn

Joined: Feb 21, 2002
Posts: 3
Try adding the following to the command -Djava.library.path=<Dll Dir>
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Hi Kenny,
Welcome to JavaRanch and thanks for hlpeing out. However, please change your name to be compliant with JavaRanch's naming policy. It should not be obviously fictitious.
Your displayed name should be 2 separate names with more than 1 letter each. We really would prefer that you use your REAL name.
You can change your name: here.
Hope to see you around more,
Cindy


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JNI error
 
Similar Threads
Does anybody know about Thread Analyzer ??
Problem while using Deployer tool
Problem while using Deployer tool
error handling
how to use parseInt()