5

I would like to use SQLite for some database functionality with a Java program I am implementing, but I don't know how to install SQLite and make it work with Java under Ubuntu.

Any help is appreciated

2 Answers 2

3

You will need a JDBC driver for SQLite in order to access it from your java app.

Then, to set up sqlite under ubuntu apt-get install cl-sql-sqlite3 sqlitebrowser.

Sqlite browser is quite practical. Nevertheless, I would suggest you consider that sqlite is not the easiest way to deploy a java database. You should have a look at javadb.

Sign up to request clarification or add additional context in comments.

1 Comment

your link to JDBC driver for SQLite is dead ( 20210305123557 )
1

I'd recomment SQLJet.

What is SQLJet

SQLJet is an independent pure Java implementation of a popular SQLite database management system. SQLJet is a software library that provides API that enables Java application to read and modify SQLite databases.

Check out their tutorial.

To install, just download the Library and add it to your classpath.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.