IF1C
Fixed RFID Reader User Guide
23
where:
$JAVA_HOME
is an environment variable that indicates the Java runtime installa-
tion path (/usr/java). Always use this variable for simplicity and to make sure that
the correct runtime files are used.
$JAVA
is the name of the Java runtime executable installed in the reader.
Specify the Class Path for the Java Virtual Machine
If your application references third party Java libraries, such as the components
from the Honeywell RFID Resource Kit, you must include the
-cp
option to specify
the class path for the JVM to find the Java classes. Make sure to include the current
path so classes in the current directory can be found as shown in this example:
$JAVA_HOME/bin/java -cp .:./BasicRFID.jar MyClass
Java Support for Microsoft SQL Server and Sybase
The reader jTDS driver (version 1.2) provides JDBC capabilities to Java applications
running on the reader. You need to include the location of the JDBC drivers in the
class path with the environmental variable
$JDBC_HOME
. The JDBC drivers support
JDBC 1.0 and:
•
Microsoft SQL Server versions 6.5, 7, 2000, and 2005
•
Sybase versions 10,11, 12, and 15
.
Create an Installation Package
Before you can install your RFID application, you must create an installation pack-
age.
1. Create a configuration file.
2. Archive the installation files.
Create a Configuration File
When you create an application for the reader, you need to include a configuration
file in the root directory of the archive so that the application can run on the reader.
1. Open a text editor and type this syntax:
AUTOSTART=true|false
RUNAFTERINSTALL=true|false
CMDLINE=<Command line to start the application>