It has been more than two and a half years since Oracle 18c XE has been released for Linux. Since then things have changed and one of these changes was the release of Oracle Linux 8 about nine months later. Unfortunately, installing Oracle 18c XE on Oracle Linux 8 is no longer quite as straightforward as it was with Linux 7 – a simple yum command. That is because the oracle-database-preinstall-18c is not provided for Oracle Linux 8. However, installing Oracle 18c XE on Oracle Linux 8 is still possible, it just requires a few more keystrokes.
Today 25 years ago Java made its first public appearance. Back then, Java promised to be a general-purpose programming language that you “write once, run anywhere“. It came with a new and unique way to compile Java source code down to bytecode, an intermediate representation that could be understood, compiled at runtime and run by the Java Virtual Machine (JVM). It was the combination of Java bytecode and the JVM that made it possible for Java to keep that “write once, run anywhere” promise. The Java Virtual Machine was for Java programs exactly what the name suggests, a (virtual) machine. Regardless of which computer you had, which OS you were running, if you had a JVM installed, you could run your compiled Java program on it without the need for porting or recompiling the program first.
Oracle has published its Oracle Database JDBC client libraries on Maven Central. From now on you can find Oracle Database related jar files under the com.oracle.database group id. You will find all libraries from version 18.104.22.168 (e.g. ojdbc6) to 19.3.0 (e.g. ojdbc10).
Going forward, Oracle will use Maven Central as one of the primary distribution mechanisms for Oracle Database Java client libraries, meaning that you will also be able to find new versions of these libraries on Maven Central in the future.
To get the latest Oracle Database JDBC driver, use the following dependency GAV in your Maven POM file: