-
-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class java.sql.DriverManager was not found
#841
Comments
Sure, |
Here is the complete error trying to run
|
trying to run a more complete example, var db = SqlJetDb.open(SqlJetDb.IN_MEMORY, true);
db.getOptions().setAutovacuum(true);
db.beginTransaction(SqlJetTransactionMode.WRITE);
try {
db.getOptions().setUserVersion(1);
} finally {
db.commit();
} yields:
|
The first error is expeted - as I already explained, TeaVM does not cover entire Java class library, and the library you are trying to compile uses these methods. The second one is a bug that causes TeaVM to crash. Anyway, you don't have any quick solutions. Here are your options:
|
Certainly getting something like DuckDB-WASM to work is a better option. Thanks! |
Hi,
I know it may be too far-fetched, but does anyone have an example of using an embedded, pure Java SQL engine with TeaVM. I tried SqlJet and HSQL: One failed in optimising by TeaVM, and the other becase DriverManager class does not exist. Is there a working example somewhere?
Thanks
The text was updated successfully, but these errors were encountered: