Java raspberry pi上的sqlite-jdbc-3.8.11.1-内部错误(os_linux_zero.cpp:254)
我使用了sqlite-jdbc-3.7.2,但希望升级到当前版本sqlite-jdbc-3.8.11.1 下面是一些示例代码Java raspberry pi上的sqlite-jdbc-3.8.11.1-内部错误(os_linux_zero.cpp:254),java,jdbc,sqlite,sqlitejdbc,Java,Jdbc,Sqlite,Sqlitejdbc,我使用了sqlite-jdbc-3.7.2,但希望升级到当前版本sqlite-jdbc-3.8.11.1 下面是一些示例代码 public boolean open() { try { con = DriverManager.getConnection(String.format("jdbc:sqlite:%s", databasefile)); } catch (Exception e) { e.printStac
public boolean open() {
try {
con = DriverManager.getConnection(String.format("jdbc:sqlite:%s",
databasefile));
} catch (Exception e) {
e.printStackTrace();
}
System.out.println("Datenbankdatei '" + databasefile
+ "' wurde erfolgreich geöffnet");
return true;
}
private void initConnection() {
if (!new File(databasefile).exists()) {
System.out.println("File not found");
return;
}
con = null;
try {
Class.forName("org.sqlite.JDBC");
} catch (Exception e) {
}
}
如果我执行这个程序,它需要180mb的内存(通过top-p查看)
现在我想从升级到sqlite jdbc的更新版本。
我可以在我的UbuntuX64上启动它,但在raspberry上我得到了“致命错误”
但是没有创建提到的核心转储
你知道问题出在哪里吗
我正在树莓皮B上使用ArchLinux
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (os_linux_zero.cpp:254), pid=9134, tid=3060774000
# fatal error: caught unhandled signal 4
#
# JRE version: OpenJDK Runtime Environment (8.0_45-b14) (build 1.8.0_45- b14)
# Java VM: OpenJDK Zero VM (25.45-b02 interpreted mode linux-arm )
# Core dump written. Default location: /home/flex/core or core.9134
#
# An error report file with more information is saved as:
# /home/flex/hs_err_pid9134.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#