私の Java クラスはこんな感じです。
import oracle.sqlj.runtime.Oracle;
import sqlj.runtime.ref.DefaultContext;
class Test
{
public static void main (String args[]) throws SQLException
{
Connection conn=null;;
PreparedStatement ps=null;
Oracle.connect(TestInstallCreateTable.class, "connect.properties");
conn = DefaultContext.getDefaultContext().getConnection();
try {
ps = conn.prepareStatement("DROP TABLE SALES");
ps.executeUpdate();
} catch (SQLException e) {
;
}
}
}
jdk7 で javac を使用すると、次のエラーが表示されます。
ld.so.1: javac: fatal: relocation error: file
/jdk7/jre/lib/sparc/libzip.so: symbol JNU_GetStringPlatformChars: referenced symbol not found
なぜ発生するのですか?