Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
UMass Amherst Department of Computer Science Handout 7
CMPSCI 291E: Electronic Identification Lab November 1, 2007
Instructor: Kevin Fu
Notes on Lab 3
• Deadline
Return the completed handout to the lab staff before class on November 12th.
1 Notes
1. GoldenDb.java: http://prisms.cs.umass.edu/cs291e/files/GoldenDB.java
2. TagReader.java: http://prisms.cs.umass.edu/cs291e/files/TagReader.java
Comments about the methods could be found both in the code and in the lab3 handout. Feel
free to edit the code.
3. mysql-connector-java-5.1.5.zip:
http://prisms.cs.umass.edu/cs291e/files/mysql-connector-java-5.1.5.zip
You need to extract this file and include the mysql-connector-java-5.1.5-bin.jar in your path.
• If you are using NetBeans you could do the following:
• Right-click on your project.
• Click the Properties.
• Click on the libraries (on the left)
• And then click the ”Add Jar/Folder” to find and add the mysql-connector-java-5.1.5-
bin.jar.
The procedure is similar in Jbuilder.
4. JDK118-javaxcomm.zip:
http://prisms.cs.umass.edu/cs291e/files/JDK118-javaxcomm.zip
If you unzip this file you will find three file:
• comm.jar
• win32com.dll
• javax.comm.properties
comm.jar should be placed in:
(a) JAVA HOME/lib
(b) JAVA HOME/jre/lib/ext
win32com.dll should be placed in:
(a) JAVA HOME/bin
(b) JAVA HOME/jre/bin
2 Handout 7: Notes on Lab 3
(c) windir/System32
javax.comm.properties should be placed in:
(a) JAVA HOME/lib
(b) JAVA HOME/jre/lib
You could also refer to the page that I found the above instructions in it:
http://dn.codegear.com/article/31915