I use wamp as my server.
I used mysql-connector-java-5.1.5-bin.jar
It worked ok/
But I set up same in another computer it gives an error saying
(In Jcreator)
Error: Error reading C:/Program Files/java.../ mysql-connector-java-5.1.5-bin.jar ; Error in opening zip file

What is this error & what can I do?

Plz help. I'm desperate.

Thankx in advance

I guess you placed mysql-connector-java-5.1.5-bin.jar in java installation on forgot to do same on the second pc. Either way, placing any libraries in Java installation directory is bad habit of many teachers passed on students. Your libraries should be either kept together with project, or have it in central library directory or if you use any Jave web server/container use its "lib" folder

I guess you placed mysql-connector-java-5.1.5-bin.jar in java installation on forgot to do same on the second pc. Either way, placing any libraries in Java installation directory is bad habit of many teachers passed on students. Your libraries should be either kept together with project, or have it in central library directory or if you use any Jave web server/container use its "lib" folder

I placed mysql-connector-java-5.1.5-bin.jar in C:\Program Files\Java\jdk1.6.0_01\jre\lib\ext in both computers.
It works normally. I have done several times. But what about "Error in opening zip file"?

I need some solution here please.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.