java.lang.UnsatisfiedLinkError: no sqlite4java-win32-x64-1.0.392 in java.library.path See gradle.build and console output below: gradle.build apply plugin: 'java' sourceCompatibility = '1.8' [compileJava, compileTestJava].options.encoding = 'UTF-8' // NetBeans will automatically add "run" and "debug" tasks relying on the // "mainClass" property. You may however define the property prior executing // tasks by passing a "-PmainClass=" argument. // // Note however, that you may define your own "run" and "debug" task if you // prefer. In this case NetBeans will not add these tasks but you may rely on // your own implementation. if (!hasProperty('mainClass')) { ext.mainClass = 'falcon3.Main' } repositories { mavenCentral() } dependencies { compile 'com.jfoenix:jfoenix:1.1.0' compile group: 'com.cloudant', name: 'cloudant-sync-datastore-javase', version:'2.0.0' compile group: 'com.almworks.sqlite4java', name: 'sqlite4java', version: '1.0.392' compile 'com.aquafx-project:aquafx:0.2' testCompile group: 'junit', name: 'junit', version: '4.10' } and console output Executing: gradle run Arguments: [-c, C:\Users\???\Documents\NetBeansProjects\Falcon3\settings.gradle] :compileJava UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE Feb 11, 2017 11:57:23 AM com.almworks.sqlite4java.Internal log INFO: [sqlite] DB[1]: instantiated [null] Exception in Application start method java.lang.reflect.InvocationTargetException

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

This is a sub-class of the LinkageError class and indicates that the JVM cannot find an appropriate native-language definition of a method declared as native. Install the CDF Software Distribution on your system.

,
Expert tip

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.

Solutions on the web

via Stack Overflow by Wisdom Ekene
, 11 months ago
// prefer. In this case NetBeans will not add these tasks but you may rely on // your own implementation. if (!hasProperty('mainClass')) { ext.mainClass = 'falcon3.Main' } repositories { mavenCentral() } dependencies { compile 'com.jfoenix:jfoenix:1.1.0
via GitHub by nickpan47
, 2 years ago
org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) 15:24:39.715 [DEBUG] [TestEventLogger] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) 15:24:39.715 [DEBUG] [TestEventLogger] at org.junit.runners.ParentRunner.runChildren
java.lang.UnsatisfiedLinkError: no sqlite4java-win32-x64-1.0.392 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at com.almworks.sqlite4java.Internal.tryLoadFromSystemPath(Internal.java:352)
at com.almworks.sqlite4java.Internal.loadLibraryX(Internal.java:124)
at com.almworks.sqlite4java.SQLite.loadLibrary(SQLite.java:95)
at com.almworks.sqlite4java.SQLiteConnection.open0(SQLiteConnection.java:1441)
at com.almworks.sqlite4java.SQLiteConnection.open(SQLiteConnection.java:282)
at com.cloudant.sync.internal.sqlite.sqlite4java.SQLiteWrapper.createNewConnection(SQLiteWrapper.java:88)
at com.cloudant.sync.internal.sqlite.sqlite4java.SQLiteWrapper.getConnection(SQLiteWrapper.java:73)
at com.cloudant.sync.internal.sqlite.sqlite4java.SQLiteWrapper.isOpen(SQLiteWrapper.java:121)
at com.cloudant.sync.internal.sqlite.sqlite4java.SQLiteWrapper.beginTransaction(SQLiteWrapper.java:126)
at com.cloudant.sync.internal.sqlite.SQLDatabaseFactory.isFtsAvailable(SQLDatabaseFactory.java:52)
at com.cloudant.sync.internal.sqlite.SQLDatabaseFactory.(SQLDatabaseFactory.java:45)
at com.cloudant.sync.internal.sqlite.SQLDatabaseQueue.(SQLDatabaseQueue.java:67)
at com.cloudant.sync.internal.documentstore.DatabaseImpl.(DatabaseImpl.java:152)
at com.cloudant.sync.documentstore.DocumentStore.(DocumentStore.java:90)
at com.cloudant.sync.documentstore.DocumentStore.getInstance(DocumentStore.java:150)
at com.cloudant.sync.documentstore.DocumentStore.getInstance(DocumentStore.java:120)
at falcon3.Main.start(Main.java:28)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 1 month ago
6 times, 3 months ago
15 times, 10 months ago
9 times, 1 year ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.