• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Error: Can't initialize jni4net Bridge

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi I am new here. I have a problem in open a programme. It said that 'Can't initialize jni4net Bridge' And there is a full stack trace.

net.sf.jni4net.inj.INJException: Can't initialize jni4net Bridge
at net.sf.jni4net.CLRLoader.<unknown>(Unknown Source)
at net.sf.jni4net.Bridge.<unknown>(Unknown Source)
at net.sf.jni4net.Bridge.init(Unknown Source)
at hk.com.abacus.qb.interop.qedit.jmodel.PaperDocumentEditorInitiator.<unknown>(Unknown Source)
at hk.com.abacus.qb.interop.qedit.jmodel.PaperDocumentEditorInitiator.<unknown>(Unknown Source)
at hk.com.abacus.qb.client.pdesignapp.PaperDesignerApp.startApp(Unknown Source)
at hk.com.abacus.qb.client.pdesignapp.PaperDesignerApp.start(Unknown Source)
at com.sun.javafx.application.LauncherImpl$5.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl$5.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl$4$1.run(Unknown Source)
at com.sun.javafx.application.PlatformImpl$4$1.<unknown>(Unknown Source)
at java.security.AccessController.<unknown>(Unknown Source)
at com.sun.javafx.application.PlatformImpl$4.run(Unknown Source)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.<unknown>(Unknown Source)
at com.sun.glass.ui.win.WinApplication$3$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: Can't load library: C:\Users\yanny\AppData\Local\Temp\ABACQ1_7_jmath\Runtimes\jni4net.n.w32.v20-0.8.6.0.dll
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.<unknown>(Unknown Source)
... 18 more
Can anyone help me? thanks
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This error:

Abby Reeves wrote:
Caused by: java.lang.UnsatisfiedLinkError: Can't load library: C:\Users\yanny\AppData\Local\Temp\ABACQ1_7_jmath\Runtimes\jni4net.n.w32.v20-0.8.6.0.dll


means that Java cannot load the specified DLL, which is necessary to run the program.

Maybe the DLL does not exist in the location that Java is trying to load it.
Check that the file C:\Users\yanny\AppData\Local\Temp\ABACQ1_7_jmath\Runtimes\jni4net.n.w32.v20-0.8.6.0.dll exists.

Another cause of this problem might be that the DLL is a 32-bit DLL, and you're using a 64-bit version of Java. If that's the problem, then you'll have to either install and use a 32-bit version of Java, or you'll have to find a 64-bit version of the DLL.
 
Abby Reeves
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jesper de Jong wrote:This error:

Abby Reeves wrote:
Caused by: java.lang.UnsatisfiedLinkError: Can't load library: C:\Users\yanny\AppData\Local\Temp\ABACQ1_7_jmath\Runtimes\jni4net.n.w32.v20-0.8.6.0.dll


means that Java cannot load the specified DLL, which is necessary to run the program.

Maybe the DLL does not exist in the location that Java is trying to load it.
Check that the file C:\Users\yanny\AppData\Local\Temp\ABACQ1_7_jmath\Runtimes\jni4net.n.w32.v20-0.8.6.0.dll exists.

Another cause of this problem might be that the DLL is a 32-bit DLL, and you're using a 64-bit version of Java. If that's the problem, then you'll have to either install and use a 32-bit version of Java, or you'll have to find a 64-bit version of the DLL.


thanks for your reply. The dll file is exist but when i open that. It said it cannot be opened in dos mode. how can i change it to ms-dos mode? because i still cannot open the programme. Thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic