0

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

2
Contributors
2
Replies
4
Views
7 Years
Discussion Span
Last Post by jrosh
0

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

0

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.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.