Eclipse readiness for JDBC Programming-download and import jar packages

Source: Internet
Author: User

1. Download the jar Package

Visit URL http://www.mysql.com/

Click Downloads,

Select Community (GPL) Downloads

Find MySQL Connectors

Select connector/j go to the download page for JDBC. Select the desired format click "Download" to jump to a page showing the need to login to the login button below the "No Thanks, just start my download." Skip login and start the download directly. You can see the content in the download when you are finished.

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7E/DE/wKiom1cLPk3Q_TJtAAFSwjGJdO8170.png "title=" screen shot 2016-04-11 14.02.37.png "width=" "height=" 235 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:500px;height:235px; " alt= "Wkiom1clpk3q_tjtaafswjgjdo8170.png"/>

Double-click the download to extract the compressed package can see the jar file is the package we need docs is the relevant document, SRC is the source code.


2. Import Jar Package


Select the above Mysql-connector-java-5.1.38-bin.jar package to copy to the Web-inf/lib directory of the project in Eclipse.

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7E/DB/wKioL1cLQErT_gapAAB2Kn63aDI702.png "title=" screen shot 2016-04-11 14.08.01.png "width=" height= "207" border= "0" hspace= "0" vspace= "0" style= "WIDTH:300PX;HEIGHT:207PX;" alt= "Wkiol1clqert_gapaab2kn63adi702.png"/>

Then, on the project Jsptest, right-click on "Build path > Configure build Path" and select "Libraries", click "Add JARs" and select the jar package you just pasted now under Project Java The "Libraries" in resources has the necessary jar packages.

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7E/DE/wKiom1cLQTrzcy9OAACx5n5LEdM921.png "title=" screen shot 2016-04-11 14.15.42.png "width=" height= "326" border= "0" hspace= "0" vspace= "0" style= "WIDTH:300PX;HEIGHT:326PX;" alt= "Wkiom1clqtrzcy9oaacx5n5ledm921.png"/>

JDBC programming is now possible.


This article from "Woody Rose" blog, reproduced please contact the author!

Eclipse readiness for JDBC Programming-download and import jar packages

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.