the "PgJDBC driver is not an executable" message

From: scott ribe <scott_ribe(at)killerbytes(dot)com>
To: Postgresql General <pgsql-general(at)postgresql(dot)org>
Subject: the "PgJDBC driver is not an executable" message
Date: 2017-08-06 18:24:07
Message-ID: A213F357-D4E8-4583-8FA4-0DB011367EEE@killerbytes.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Well you know the old saying: "the road to hell is paved with good intentions"!

So an attempt was made to help people who download the JDBC driver and then try to "run" it:

https://github.com/pgjdbc/pgjdbc/pull/112/files

But here's a fun side effect:

If you add a .jar to an Eclipse project that has a main(), Eclipse adds a new run configuration with that class as the main class, and further makes that the current selected config, automatically and silently. Took me a little bit to figure that one out... (because I'm a novice Eclipse user...)

So, is it worth adding some explanatory text?

It was really annoying to suddenly start getting this message when I never had any intention of "running" the JDBC driver ;-)

--
Scott Ribe
scott_ribe(at)killerybtes(dot)com
(303) 722-0567

Browse pgsql-general by date

  From Date Subject
Next Message Paul Jones 2017-08-07 19:08:07 Redacting JSONB
Previous Message Dan Cooperstock at Software4Nonprofits 2017-08-06 17:40:44 Re: PostgreSQL with PowerBuilder, and Identity keys (serials)