How to Install libpostgresql-jdbc-java in Ubuntu 18.04

Install libpostgresql-jdbc-java by entering the following commands in the terminal:

sudo apt update
sudo apt install libpostgresql-jdbc-java


Java database (JDBC) driver for PostgreSQL

PostgreSQL JDBC Driver allows Java programs to connect to a PostgreSQL database (8.4 or later) using standard, database independent Java code. It is an open source JDBC driver written in Pure Java (Type 4), and communicates in the PostgreSQL native network protocol.


Version: 9.4.1212-1

Section: universe/java