Article View: comp.lang.java.databases
Article #80Re: Eclipse And JDBC Driver settings
From: David Harper
Date: Thu, 03 May 2007 04:56
Date: Thu, 03 May 2007 04:56
20 lines
2114 bytes
2114 bytes
gachsaran wrote: > I use linux and Eclipse IDE to develop a JDBC based application. But > Eclipse can not see mysql-connector. If i use a editor like Gedit i can > compile and run the application.Mysql-connetor is in my CLASSPATH but > Eclipse does not see it. It means every times i create a java project > that use Jdbc i need to include muysql-connectorXXX.jar into java project. > Any help will be appriciated. You must first import the Connector/J JAR file into your Eclipse project, then include it in the build path using the "Configure Build Path..." dialog. Once you have done this, Eclipse will include it in the classpath when compiling and running your code. Use the Eclipse help system and search for "build path" to get more information. David Harper Cambridge, England
Technical Details
Message-ID:
<5Yd_h.3545$8E.1162@newsfe5-win.ntli.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!news.highwinds-media.com!newspeer1-win.ntli.net!newsfe5-win.ntli.net.POSTED!53ab2750!not-for-mailReferences:
<36110$46391bfb$3e3d91cf$1750@news.arrownet.dk>Show Full Headers
Complete Article Headers
X-Google-Thread: 107d46,c8f4815953ae345f X-Google-Thread: f9a23,c8f4815953ae345f X-Google-Attributes: gid107d46,gidf9a23,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!news.highwinds-media.com!newspeer1-win.ntli.net!newsfe5-win.ntli.net.POSTED!53ab2750!not-for-mail From: David Harper <devnull@obliquity.u-net.com> Organization: Obliquity.com User-Agent: Thunderbird 1.5.0.10 (X11/20070221) MIME-Version: 1.0 Newsgroups: comp.lang.java.databases,comp.lang.java.developer,dk.edb.programmering.java Subject: Re: Eclipse And JDBC Driver settings References: <36110$46391bfb$3e3d91cf$1750@news.arrownet.dk> In-Reply-To: <36110$46391bfb$3e3d91cf$1750@news.arrownet.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 20 Message-ID: <5Yd_h.3545$8E.1162@newsfe5-win.ntli.net> Date: Thu, 03 May 2007 04:56:33 GMT NNTP-Posting-Host: 86.14.239.80 X-Complaints-To: http://www.virginmedia.com/netreport X-Trace: newsfe5-win.ntli.net 1178168193 86.14.239.80 (Thu, 03 May 2007 05:56:33 BST) NNTP-Posting-Date: Thu, 03 May 2007 05:56:33 BST