Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > help : my jar file is not running under linux terminal , but it runs under JbuilderX ide

Reply
Thread Tools

help : my jar file is not running under linux terminal , but it runs under JbuilderX ide

 
 
bronby
Guest
Posts: n/a
 
      07-15-2005
help : my jar file is not running under linux terminal , but it runs under
JbuilderX ide

see below

[herson@dev01 lib]$ java -jar EftdDemoJava.jar
java.lang.UnsatisfiedLinkError: no eftapijava in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1491)
at java.lang.Runtime.loadLibrary0(Runtime.java:78
at java.lang.System.loadLibrary(System.java:834)
at
EftposPlusExpress.Interface.EFTAPINativeAdapter.<c linit>(EFTAPINativeAdapter.java:35)
at EftdDemo.POSDemo.this_componentShown(POSDemo.java: 551)
at
EftdDemo.POSDemo_this_componentAdapter.componentSh own(POSDemo.java:617)
at java.awt.Component.processComponentEvent(Component .java:4964)
at java.awt.Component.processEvent(Component.java:491 2)
at java.awt.Container.processEvent(Container.java:156 9)
at java.awt.Window.processEvent(Window.java:1092)
at java.awt.Component.dispatchEventImpl(Component.jav a:3615)
at java.awt.Container.dispatchEventImpl(Container.jav a:1627)
at java.awt.Window.dispatchEventImpl(Window.java:1606 )
at java.awt.Component.dispatchEvent(Component.java:34 77)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 456)
at
java.awt.EventDispatchThread.pumpOneEventForHierar chy(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:151)
at
java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:145)
at
java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:100)
[herson@dev01 lib]$ java -jar EftdDemoJava.jar
java.lang.UnsatisfiedLinkError: no eftapijava in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1491)
at java.lang.Runtime.loadLibrary0(Runtime.java:78
at java.lang.System.loadLibrary(System.java:834)
at
EftposPlusExpress.Interface.EFTAPINativeAdapter.<c linit>(EFTAPINativeAdapter.java:35)
at EftdDemo.POSDemo.this_componentShown(POSDemo.java: 551)
at
EftdDemo.POSDemo_this_componentAdapter.componentSh own(POSDemo.java:617)
at java.awt.Component.processComponentEvent(Component .java:4964)
at java.awt.Component.processEvent(Component.java:491 2)
at java.awt.Container.processEvent(Container.java:156 9)
at java.awt.Window.processEvent(Window.java:1092)
at java.awt.Component.dispatchEventImpl(Component.jav a:3615)
at java.awt.Container.dispatchEventImpl(Container.jav a:1627)
at java.awt.Window.dispatchEventImpl(Window.java:1606 )
at java.awt.Component.dispatchEvent(Component.java:34 77)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 456)
at
java.awt.EventDispatchThread.pumpOneEventForHierar chy(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:151)
at
java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:145)
at
java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:100)
java.lang.NoClassDefFoundError
at EftdDemo.POSDemo.SendCommand(POSDemo.java:501)
at
EftdDemo.POSDemo.jButtonPurchase_actionPerformed(P OSDemo.java:365)
at
EftdDemo.POSDemo_jButtonPurchase_actionAdapter.act ionPerformed(POSDemo.java:62
at
javax.swing.AbstractButton.fireActionPerformed(Abs tractButton.java:1786)
at
javax.swing.AbstractButton$ForwardActionEvents.act ionPerformed(AbstractButton.java:1839)
at
javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:420)
at
javax.swing.DefaultButtonModel.setPressed(DefaultB uttonModel.java:25
at
javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.jav a:5100)
at java.awt.Component.processEvent(Component.java:489 7)
at java.awt.Container.processEvent(Container.java:156 9)
at java.awt.Component.dispatchEventImpl(Component.jav a:3615)
at java.awt.Container.dispatchEventImpl(Container.jav a:1627)
at java.awt.Component.dispatchEvent(Component.java:34 77)
at
java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:3483)
at
java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:319
at
java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:312
at java.awt.Container.dispatchEventImpl(Container.jav a:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606 )
at java.awt.Component.dispatchEvent(Component.java:34 77)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 456)
at
java.awt.EventDispatchThread.pumpOneEventForHierar chy(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:151)
at
java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:145)
at
java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:100)



Please help..




 
Reply With Quote
 
 
 
 
Andrew Thompson
Guest
Posts: n/a
 
      07-15-2005
On Fri, 15 Jul 2005 02:51:44 -0400, bronby wrote:

> help : my jar file is not running under linux terminal , but it runs under
> JbuilderX ide


Well, the terminal *must* be broken then, call a hardware guy.
[ I'm just *kidding*. ]

> see below
>
> [herson@dev01 lib]$ java -jar EftdDemoJava.jar
> java.lang.UnsatisfiedLinkError: no eftapijava in java.library.path
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1491)


So ..what exactly does 'UnsatisfiedLinkError', when applied
to 'eftapijava', mean to you? What is your java.libray.path?

--
Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
Now Interactive! Joystick Controls Fry's Left Ear.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
open a new terminal window from another terminal window in linux/unixsystem gaurav kashyap Python 3 10-31-2008 12:10 PM
A router running under WinXP runs under Windows Vista too? Peter Wagner Wireless Networking 12 02-04-2008 11:02 PM
java -cp a.jar -jar b.jar => Works on Windows, not on Debian cyberco Java 4 02-14-2006 06:27 AM
Python Program runs but itself but does not run under IDLE Ollie Python 0 10-02-2003 04:05 PM



Advertisments