Software Required

You firstly need to download the following software:

Java SDK version 1.3.1
Java Communications API version 2.0
TINI SDK version 1.02d

Software Setup

  • Install Java 2 SDK to the default directory
  • Copy files from the commapi folder (Java Communications API) to the following:

win32com.dll to c:\jdk1.3.1_02\jre\bin
comm.jar to c:\jdk1.3.1_02\jre\lib\ext to c:\jdk1.3.1_02\jre\lib

Alternatively download the jdk1.3 setup program which automatically does the above for you.

Running JavaKit

The provided batch file can be used to run JavaKit. All this does is execute the following command line in DOS:

C:\jdk1.2.2\bin\java -classpath C:\tini1.02\bin\tini.jar; JavaKit

You can also set the PATH and CLASSPATH environment variables to make the command line simply:

java JavaKit

The DOS command “set PATH” allows users to specify a path for an application. This allows the user to run applications from any directory in DOS without having to type the full path of the command. DOS will search all specified paths for an application, including all of the sub directories below these paths. If the following path is set for Java then all of the Java applications can be run from any directory in DOS:

set PATH C:\jdk1.3.1_02\bin %PATH%

The %PATH% part of this command simply includes any paths that have already been set. However, this method of setting the PATH variable only works for Windows 95 and 98. Windows XP requires that you add path variables through the systems link in the control panel. By clicking on the advanced tab then the “Environment Variables” button you can edit the system variables. After the path variables have been added the machine needs rebooting before the changes take effect.

The “set CLASSPATH” command is very similar to the “set PATH” command but allows you to specify the default directory for classes that are used for compiling code.

Configuring TINI

The best thing to do is follow the configuration instructions explained on the iButton Website. This explains how to setup the Ethernet port for Telnet and FTP access.

Share the joy

Leave a Reply

Your email address will not be published. Required fields are marked *

3 − 1 =