Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-1175

JDBC Driver not found in packaged JavaFX "jlink" app

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 3.3.3
    • N/A
    • JDBC compatibility
    • None
    • Manjaro Arch Linux and openJDK17.

    Description

      19/04/2024 09:33

      Hello all,

      I have installed MariaDB-JDBC-Java Driver V 3.3.3 from maven repo. When I issue `mvn clean javafx:jlink` the resulting Linux app does not start with an error, not finding the Driver:
      ```
      java.lang.ClassNotFoundException: org.mariadb.jdbc.Driver
      ```
      The command `mvn clean javafx:run` works just fine in Linux and Windows everything is running fine.

      Please fix the issue for Linux!

      Best regards
      Gerrit Leder

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            leder11011 Gerrit Leder
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.