Results 1 to 4 of 4
  1. #1
    isaac is offline Member
    Join Date
    Jul 2014
    Posts
    3
    Rep Power
    0

    Post Problem to connect my .exe file to the mysql database

    im having a problem to connect my .exe file to the database(mysql) i used launch4j to convert the jar file to .exe but the jar file can connect to the database when running inside the dist folder.when i run the .exe im geting this error: No suitable driver found for jdbc:mysql.please i need help im stack. thank you in advance

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,368
    Rep Power
    6

    Default Re: Problem to connect my .exe file to the mysql database

    So basically you are now asking "fix my launch4j configuration error for me" without posting the configuration file you have.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    isaac is offline Member
    Join Date
    Jul 2014
    Posts
    3
    Rep Power
    0

    Post Re: Problem to connect my .exe file to the mysql database

    good day ,i don't understand what configuration file do you want me to post plz specifier
    kind regards
    isaac

  4. #4
    isaac is offline Member
    Join Date
    Jul 2014
    Posts
    3
    Rep Power
    0

    Default Re: Problem to connect my .exe file to the mysql database

    There is my launch4j config file
    <?xml version="1.0" encoding="UTF-8"?>
    <launch4jConfig>
    <dontWrapJar>false</dontWrapJar>
    <headerType>gui</headerType>
    <jar>C:\Users\PCTBC\Desktop\isaacStaff\DOCUMENT\Ne tBeansProjects\register\dist\register.jar</jar>
    <outfile>AttendanceRegister.exe</outfile>
    <errTitle></errTitle>
    <cmdLine></cmdLine>
    <chdir>.</chdir>
    <priority>normal</priority>
    <downloadUrl>http://java.com/download</downloadUrl>
    <supportUrl></supportUrl>
    <stayAlive>false</stayAlive>
    <manifest></manifest>
    <icon>C:\Users\PCTBC\Desktop\icon1.ico</icon>
    <jre>
    <path></path>
    <bundledJre64Bit>false</bundledJre64Bit>
    <minVersion>1.0.0</minVersion>
    <maxVersion></maxVersion>
    <jdkPreference>preferJre</jdkPreference>
    <runtimeBits>64/32</runtimeBits>
    </jre>
    </launch4jConfig>
    i hope you find a way of helping me thank you

Similar Threads

  1. Trying to connect to MySQL database
    By chrscote in forum New To Java
    Replies: 3
    Last Post: 10-16-2013, 11:16 AM
  2. Problem with read file and connect to mysql
    By mr.suchy in forum New To Java
    Replies: 4
    Last Post: 03-15-2013, 03:38 PM
  3. Failed to connect to MySQL database
    By eminempark in forum JDBC
    Replies: 3
    Last Post: 10-05-2012, 02:51 PM
  4. How to connect database mysql via Lan
    By ahmed30 in forum JDBC
    Replies: 3
    Last Post: 01-17-2011, 07:36 AM
  5. Replies: 15
    Last Post: 04-15-2009, 02:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •