db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilmar José Purin <gilmar.pu...@teclogica.com.br>
Subject java.lang.IncompatibleClassChangeError
Date Wed, 14 Sep 2005 20:13:29 GMT


I tryed to run derby on CrEME jvm and I get this error:
java.lang.IncompatibleClassChangeError: Unimplemented interface method
    at org.apache.derby.iapi.jdbc.JDBCBoot.boot()
    at org.apache.derby.jdbc.EmbeddedSimpleDataSource.findDriver()
    at org.apache.derby.jdbc.EmbeddedSimpleDataSource.getConnection()
    at org.apache.derby.jdbc.EmbeddedSimpleDataSource.getConnection()
    at TesteApp.initDatabase()
    at TesteApp.<init>()
    at TesteApp.main()

This JVM is a J2ME/CDC

Does anybody know anything about it?

this is my initDatabase method:

    private void initDatabase() throws Exception {
        System.setProperty("java.specification.name", "J2ME");
        EmbeddedSimpleDataSource dataSource = new EmbeddedSimpleDataSource();
        dataSource.setDatabaseName("/sampleTeste");
        dataSource.setCreateDatabase("create");
        connection = dataSource.getConnection();
    }




Mime
View raw message