.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
-
Does oracle jdbc driver 9.0.1 work with sdk 1.4?
Hi All Experts...
Does oracle jdbc driver 9.0.1 work with sdk 1.4.1? Ever since i have moved to 1.4 i am having problems. I keep getting the No Suitable Driver error or NoClassDefFoundError. I have everything in the classpath and i have also tried command line but to no avail. The JVM just refuses to pick up the classes12.zip file from the classpath.
The oracle site mentions that the 9.0.1 driver is for jdk 1.2 & 1.3 but it does NOT mention that it is NOT for 1.4.1. The site very explicitly mentions that the 9.2 driver is for 1.4.1. SO i am a little confused.This question may be stupid, but nevertheless,If i have to upgrade my driver from 9.0.1 to 9.2 then does that mean that i have to upgrade my DB as well?
Experts..please help.. THanksThanks a lot, as usual, MOD.
Now only if i can get my JVM to pick up the classes12.zip file from the classpath. I dont know if you read my previous posting today. -
Nokia Drive + beta "Drive to" doesn't work on Lumi...
Hi,
Seems like Nokia Drive + beta doesn't work on my Lumia 920. I'm currently in Macedonia and trying to get directions from one location in Skopje to another always gives me the message: "Sorry , can't find your route. Navigation is not yet available in your country. Please go back."
I have the Macedonia map downloaded, and I have checked the list of supported countries, where Macedonia does appear. Nokia Maps seems to have no problem finding a route between the same two locations, but Nokia Drive + beta keeps giving me that message.
http://discussions.nokia.com/t5/Maps-Navigation-and-GPS/In-which-countries-can-I-use-navigation-with... Nokia list here also shows Macedonia is supported.
Nokia Drive version: 2.1.0.1451, map 8.0.48.113 (info from Nokia Drive + beta about screen)
Any ideas?For me it doesn't work even if the location is only 2.2km away. lol @ fuel company shares
I wonder if we can get someone in tech support at Nokia to read this. I've tried contacting their support chat but we didn't get far (or anywhere for that matter). I'd like to know whether this issue is known or not, and whether a fix is planned. If it's an isolated case, what can I do to make it right? I'm willing to work with someone in order to get this resolved. -
The wifi at my school isn't very good. And I can't send iMessages through it. It works for some apps like score center and my radar app, but doesn't work for other apps like clash of clans and iMessage. How can I get it to work on my school wifi. I have an iPhone 4S on AT&T and iOS 7.04
In a roaming network, your "main" router is the device that would require port mapping/forwarding to be configured in order to access the IP camera from the Internet. This router is also the one that would be provide the private IP address for the camera which you will want to be a static one.
So as you described your network, the IP cameras should be getting an IP address or you assigned it a static one and this is the address that you would enter in the Private IP address (or equivalent depending on the router used) field when setting up port mapping.
If you are not able to access this camera from the local network, then this should be troubleshot first. -
I updated my iphone 5 to ios 6.0.2. my wifi says its connected but doesn't work now. It doesn't matter what wifi network I connect to. It worked before updating my phone. I can no longer use facetime or use wifi at all. I'm not sure what to do to fix it.
I'm having similar issues with my phone. I got my first iPhone recently, only had an iPod touch gen4 for a little over a year. Updated to 6.0.2 when we got the phone (iPhone 5) a few days before Christmas. When I got home on the evening of January 11, my phone would not connect the router anymore. I was able to get it to connect after resetting the phone and the router, updating the router, and manually connecting. That laste for a few minutes and then wouldn't work anymore. I live in an area with very limited service, we have a network extender installed to help, and I am barely getting a 3G signal at times.
My wife's iPad 4, my touchiPod 4, and all of our laptops are working just fine on the router. When I dropped my kid off at school today, I noticed that I am not even seeing the school network anymore from the parking lot where before I got 3 or 4 bars and could connect to their wifi when I was there. Today my phone goes back and forth between seeing my home network but not connecting, to not even seeing the network at all even from the same room that the router is in.
Hope Apple fixes this problem soon.............. -
Hi i need help please i been playing clash of clans over 13 months. And today o realise what someone using my game Centra. Someone playing on my game Clash of Clans. I been change my Apple ID password, email, but doesn't work. Then I playing game I can see what someone else trying connecting to my game And I don't know what to do.So if you can help me please? I don't wanna lose my game.
Contact iTunes
Contact iTunes -
Hi i need help please i been playing clash of clans over 13 months. And today o realise what someone using my game Centra. Someone playing on my game Clash of Clans. I been change my Apple ID password, email, but doesn't work. When I playing game I can see what someone else trying connecting to my game And I don't know what to do.So if you can help me please? I don't wanna lose my game.
Hello Vaidas Vaidas,
It sounds like you are noticing someone else is accessing your Clash of Clans data by playing the game and you have tried to reset your Apple ID password. If you are following the steps outlined in this article:
Apple ID: Changing your password
http://support.apple.com/kb/ht5624
What is preventing you from changing your password? Any error messages or prompts?
Thank you for using Apple Support Communities.
All the best,
Sterling -
I have a VGA adapter and an iPad2. Tried projecting my iPad2 to projector using the VGA but doesn't work. Tried it with friend's iPad1 and it works. Why?? Pls help.
Yup - nothing happens. I then took the same VGA cable and plugged it into my friend's iPad1 and it worked perfectly when she opened Keynote. My understanding is that the iPad2 mirrors the entire screen, so no need to go into any specific application in order to project to the screen, right? Do I need to download any specific app or change any settings in order to be able to project the screen using VGA?
Sorry - novice at this. Not very tech minded either... -
after i update the 10.10.2 OS X Yosemite my iPhoto stops working. In the warning that appears when I try to open the app says that happened a mistake because of this update. I reinstalled the app but doesn't work anyway. Please, HELP!
I already tried that but it doesn't work. Appears a warning saying: "See the developer to make sure that iPhoto works with this version of OS X. You may need to reinstall the application. Be sure to install all available updates in the application and OS X."
-
I accidently turned voice over on,I've tried triple clicking the home button to bring up voice over options but doesn't work. I can't scroll down to get to Accesibility in genereal even with three fingers.
This article can show you how to disable it through iTunes on a PC/Mac:
iOS: Configuring accessibility features -
why does fcpx suddenly stops reading audio files? ever since i upgraded to Yosemite. Than when I check it on my hard drive it doesn't work as well. Only this file. Am in a trouble of delivering now. Any help?
Could be systems logs or some other system file growing.
Use OmniDiskSweeper or DaisyDisk to map what's being used.
Regards,
Shawn -
I was wondering if there's a way to connect to my work server from my home iMac i7. I can't seem to get Share Screen to work. I have tried connecting to server using the vnc but doesn't work.
The easiest way would be to use Back to My Mac, but that will only work if the server is a Mac running OS X 10.7 or later and you have the cooperation of the network administrator.
OS X: Using and troubleshooting Back to My Mac with your iCloud account -
Since I updated, Firefox is crashing daily. The finger scroll feature on my PC works with other browsers, but doesn't work on Firefox. It is also very, very slow, but other browsers aren't. I can't use it anymore until it's fixed.
To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
If you see a warning then you can confirm that you want to access that page.<br />
*Use the Filter bar at to top of the about:config page to locate a preference more easily.
*Preferences that have been modified show as bold (user set).
*Preferences can be reset to the default via the right-click context menu if they are user set
*Preferences can be changed via the right-click context menu: Modify (String or Integer) or Toggle (Boolean)
*http://kb.mozillazine.org/about:config -
I have internet optic fiber connection and I'm trying to configure it with my Airport Express but doesn't works, appears that I have IP and DNS, as I'm a computers dummy , who could help me to configuration it, please?
You're welcome.
Voicemail is left at your carrier's server. That will continue to work unless you report your iPhone as lost or stolen with your carrier.
You may never find it again and you can't if the iPhone remains offline or out of service which means the iPhone is powered off or doesn't have cellular reception. -
I'm unable to connect my iphone 5s to the Dlink router. I tried all the apple support suggestions. But doesn't work. Please let me know.
I'm having this problem now with my 2 weeks old iPhone 6+. in the beginning everything going great and managed to connect every wifi around me. Then suddenly 1 week ago, All the wifi from my office, home, hotel and coffee house saying either incorrect password or can't join the wifi. But when i switch on my hotspot from my iPhone 5 it can be connect. i also try with my friend iPhone hotspot. So is it because of hardware problem or software problem. And i just restore my iPhone6+ and still can't connect to wifi and manage to join hotspot (also wifi right?) regret as all my downloaded stuff vanish and now can't download back using wifi.....
Thanks for assisting
Maybe you are looking for
-
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 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
-
Hi All, Anybody help me by telling the steps involved in installing DBMS_RLMGR and dependent objects. I woud appreciate the help. thanks, kt