Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Java database embedded exe file why not working......

  1. #1
    Junior Member
    Join Date
    Jul 2014
    Thanked 0 Times in 0 Posts

    Default Java database embedded exe file why not working......

    Dear all Seniors forum Members as well as Java Programmers:
    Hope you all will be fine.
    I have written my whole java code in netbeans IDE and create database in MYSQL work bench and connected java Gui with this DBMS through requried driver.
    when i run this program from Netbeans IDE , my program successfully access the data from DBMS. But when i created this java gui exe file its not working and not accessing data from DBMS, and each times gives exception "Driver not found ".
    if there is no driver loaded in this program how this file is working when i run this file from netbeans .
    Regards :CSE

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Eastern Florida
    Thanked 2,636 Times in 2,586 Posts

    Default Re: Java database embedded exe file why not working......

    IDEs take care of many details so the programmer doesn't have to worry about them UNTIL he tries to move the programs away from the IDE.

    What happens when you try putting the class files in a jar file and execute the jar file?

    Can you copy the full text of the error message and paste it here?
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. How to find an embedded file type of a file using java
    By phanipop in forum What's Wrong With My Code?
    Replies: 3
    Last Post: June 8th, 2014, 06:42 AM
  2. How to convert m.file to exe.file in Matlab 12
    By Mumpy Zinu in forum JavaServer Pages: JSP & JSTL
    Replies: 1
    Last Post: February 25th, 2014, 05:41 AM
  3. problem in Derby embedded database connection
    By brother in forum JDBC & Databases
    Replies: 6
    Last Post: December 24th, 2012, 02:17 PM
  4. change java code project to exe file
    By mostafa_mohamed in forum What's Wrong With My Code?
    Replies: 8
    Last Post: September 5th, 2012, 10:55 AM
  5. Managing an embedded database
    By jstn455 in forum JDBC & Databases
    Replies: 1
    Last Post: April 24th, 2011, 10:06 AM