.jar includes jdbc driver but doesn't work

Hi
I'm quite new with Java. I've just created my first app in java, it's some kind of CMS. I have to give to my friend who can only install JVM and I can't set up his computer, because he lives in other city. What's the problem then:
I tried to compile (build) complete file with jdbc driver. And actually I've done it (when I open jar with winrar I see that mysql-connector.jar is there) but it's not working. I still have error:
SQLException: com.mysql.jdbc.Driver
No suitable driver
08001
It works fine when I'm running it with NetBeans, but built jar doesn't work at all.
Please help me with this problem. I was searching in many forums for the same problem, but no one had it (I mean EXACTLY the same). I have had many problems already with adding connector to NetBeans project at the beginning, but finally I've done it after 2 days - reinstallation of NB solved the problem. Is it possible that's NB fault again?
Thx for any clues
Michael

Hello,
Try to include a Class-Path option in the Manifest of your jar and see if that works.
Hope this helps

Similar Messages

Maybe you are looking for

  • Web application and Scanner

    Web application (ADF-application) and Scanner (device that optically scans images, printed text) how to implement a scan from a web application and the ability to preview the scanned document (in the ADF-application) before uploading to the server.

  • I have a developers account but..............

    I need to test some ebooks I worked on to make sure there are no problems with them  as I just got a call from a client who says that one of the ebooks I did produced errors when uploading to the Itunes Store. The client has an ITunes Connect account

  • Report Header is not appearing

    Hi, I had inserted a Picture into the Group Header and i did some groupings also in the report. in Preview initially it shows Report header but after drilling down...the report header is not appearing.....is it is the natural behaviour or any workaro

  • Inspection lot origin don't work in COA

    Hello All, I have created a COA Profile (QC01), Where in I have assign inspection type 89 in the field "Insp.lot origin" and "Inspection Type". Now as per the F1 help suggest I am expecting that system will not allow me to print COA for those lots do

  • Installing DBMS_RLMGR

    Hi All, Anybody help me by telling the steps involved in installing DBMS_RLMGR and dependent objects. I woud appreciate the help. thanks, kt