

HOME

GETTING STARTED

FAQs

ABOUT

CONTACT

API DOCUMENTATION

|
Installing the Java Communications API
Any information regarding this page can be posted on the TINI Mailing List
(tini@ibutton.com) or sent to me directly rohaly@junun.org
- Download the Java Communications API implementation from Sun's web site
at http://www.javasoft.com/products/javacomm/.
Unzip the package. The directory where you unzip the
files will be subsequently referred as COMMAPI.
This is the directory where you should find these files:
11/15/1998 03:59 PM 3,335 apichanges.html
11/15/1998 04:00 PM 28,043 comm.jar
11/15/1998 03:59 PM 8,141 COMM2.0_license.txt
11/15/1998 03:59 PM 5,374 CommAPI_FAQ.txt
09/05/1999 11:44 AM <DIR> javadocs
11/15/1998 03:59 PM 467 javax.comm.properties
11/15/1998 03:59 PM 2,182 jdk1.2.html
11/15/1998 03:59 PM 3,715 PlatformSpecific.html
11/15/1998 03:59 PM 3,913 Readme.html
11/15/1998 03:59 PM 1,821 ReceiveBehavior.html
09/05/1999 11:44 AM <DIR> samples
11/15/1998 04:00 PM 27,648 win32com.dll
(Note: The creation date of the two directories, javadocs
and samples, will be the date you unzipped the API. The
names, sizes, and creation dates of all the other files should be
the same as shown above.)
- Copy win32com.dll from COMMAPI to your %JRE_HOME%\jre\bin directory
- Copy comm.jar from COMMAPI to your %JRE_HOME%\jre\lib\ext directory
- Copy javax.comm.properties from COMMAPI to your %JRE_HOME%\jre\lib directory
- Jump to your TINI_HOME and create a .BAT file with this line in it.
(Note that this is case sensitive, especially JavaKit - a common mistake.)
%JAVA_HOME%\bin\java -classpath %TINI_HOME%\bin\tini.jar JavaKit
This runs JavaKit, the program you will use to interact with your TINI Board.
You will use JavaKit often, so a batch file saves time.
- Double-click the batch file you have just created. If everything
was installed properly, you should be able to scroll through the
combo box at the bottom and see the COM ports you have on your computer.
|