Commits

leo  committed 8abef81
  • Participants
  • Parent commits ef616cd

Comments (0)

Files changed (2)

 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
 	<classpathentry kind="src" path="src/main/java"/>
+	<classpathentry kind="src" path="src/main/resources"/>
 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
-    <classpathentry kind="con" path="org.devzuz.q.maven.jdt.core.mavenClasspathContainer"/>
+	<classpathentry kind="con" path="org.devzuz.q.maven.jdt.core.mavenClasspathContainer"/>
 	<classpathentry kind="output" path="target/classes"/>
 </classpath>

File src/main/java/org/xerial/db/sql/sqlite/SQLiteJDBCLoader.java

         String osName = System.getProperty("os.name");
         if (osName.contains("Windows"))
         {
-            sqliteNativeLibraryPath = "/sqlite/win32";
+            sqliteNativeLibraryPath = "/native/win32";
         }
         else if (osName.contains("Mac"))
         {
-            sqliteNativeLibraryPath = "/sqlite/mac";
+            sqliteNativeLibraryPath = "/native/mac";
         }
-        /*
-         * else if (osName.contains("Linux")) { sqliteNativeLibraryPath =
-         * "/sqlite/linux"; }
-         */
+        else if (osName.contains("Linux")) 
+        {
+            sqliteNativeLibraryPath = "/native/linux"; 
+        }
         else
             throw new UnsupportedOperationException("unsupported OS for SQLite-JDBC driver: " + osName);