Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ydj6u-0006Bb-Az for pgsql-jdbc@arkaria.postgresql.org; Thu, 02 Apr 2015 17:40:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Ydj6s-0001Qf-My for pgsql-jdbc@arkaria.postgresql.org; Thu, 02 Apr 2015 17:40:54 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YdhxE-00031i-NN for pgsql-jdbc@postgresql.org; Thu, 02 Apr 2015 16:26:52 +0000 Received: from mwork.nabble.com ([162.253.133.43]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YdhxB-00046G-RM for pgsql-jdbc@postgresql.org; Thu, 02 Apr 2015 16:26:51 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id E3B2D198AE2B for ; Thu, 2 Apr 2015 09:26:57 -0700 (PDT) Date: Thu, 2 Apr 2015 09:26:34 -0700 (MST) From: akshunj To: pgsql-jdbc@postgresql.org Message-ID: <1427991994768-5844478.post@n5.nabble.com> Subject: how to get JDBC driver version from command line MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.1 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org Hi, Is there a way to get the JDBC driver version from the command line? I'd like to make the name generic for various administrative reasons. I suspect this could be done using something along the lines of: java -cp ./postgresql.jdbc4.jar org.postgresql.Driver -version I'm not fluent in Java, so I would appreciate any help. Thanks. -- View this message in context: http://postgresql.nabble.com/how-to-get-JDBC-driver-version-from-command-line-tp5844478.html Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com. -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc