KNOWLEDGE BASE

Error "Java Application launch failed" When Installing JDBC Driver on Mac Computer


Published: 13 Dec 2023
Last Modified Date: 13 Dec 2023

Issue

When trying to install a JDBC driver (such as postgresql-42.7.1.jar), the following error occurs:

Java Application launch failed.
Check Console for possible error messages related to "
<path to .jar file>”.

Environment

  • Tableau Desktop
  • macOS

Resolution

To install a JDBC driver, place the .jar file in ~/Library/Tableau/Drivers

Note: 
  • The tilde character "~" represents the home folder of the logged-in user.
  • Starting with version 2020.2, all Tableau applications are bundled with the Java Runtime, so you don't have to install it separately.
If the required folder does not exist on your computer, carry out the following steps to create the folder and install the driver.:
  1. In the Finder on your Mac, choose Go > Go to Folder.
  2. Enter: ~/Library
  3. Double-click the destination folder (Users > [username] > Library).
  4. Choose File > New Folder.
  5. Enter Tableau for the name of the folder, then press Return.
  6. Double-click the Tableau folder.
  7. Create a Drivers folder within the Tableau folder.
  8. Copy the .jar file to the Drivers folder.
  9. Restart Tableau Desktop.

Cause

There is no need to open the .jar file when installing a JDBC driver.
Did this article resolve the issue?