V
V
Vladimir2015-12-22 18:06:20
Java
Vladimir, 2015-12-22 18:06:20

How to compile sqlite jdbc driver for JDK 1.5?

There is a jdbc driver https://bitbucket.org/xerial/sqlite-jdbc/downloads , you need to download it to Oracle
1) In the Jar itself, there are both class and java files, and Oracle tries to download both. When packing a JAR, you can specify that the source code is not needed?
2) Quickly, I tried to solve the problem by deleting the class files and when loading I got the error
"verification warning: java.lang.UnsupportedClassVersionError: org/sqlite/core/Codes (Unsupported major.minor version 50.0)"
The driver was compiled on 1.6 and is used in oracle 1.5

Actually the question is how to compile and pack the sqlite jdbc drivers so that they can be loaded into oracle?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
protven, 2015-12-22
@protven

You are doing some strange things. Find the driver built using Java 5. This is the best variant. If there is none, find the sorts and collect them using the 5th java. If it does not work out, and this may well be, if the drivers were written using the new chips of the 6th Java, then reconcile yourself and do not use this driver in Oracle.
PS And certainly do not delve into the guts of the jar-nickname.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question