Java Support For Microsoft Sql Servers - Intermec IF5 User Manual

Fixed reader
Hide thumbs Also See for IF5:
Table of Contents

Advertisement

$JAVA_HOME/bin/j9 -jcl:foun10 -cp ./BasicRFID.jar:.MyClass
IF5 Fixed Reader User's Manual
Chapter 3 — Developing and Using RFID Applications
Note: Your .jar files must have manifest files included within
them or the command will not work.
• The manifest needs to include an attribute called "Main-
Class" to specify the application's entry point (for example,
Main-Class: MyJavaClass).
• If the executable .jar needs to reference other .jar files, specify
the files in the manifest file using the "Class-Path" attribute.
To enable the Java just-in-time (JIT) compiler for maximum
performance, use this command:
$JAVA_HOME/bin/j9 -Xjit -jcl:foun10 -jar MyJar.jar
where:
is an environment variable that indicates the Java
$JAVA_HOME
runtime installation path. Always use this variable for simplicity
and to insure that the correct runtime files are used.
is the name of the Java runtime executable installed in the IF5.
j9
specifies that Foundation 1.0 classes should be
-jcl:foun10
used. To use additional class paths not defined in the Foundation
1.0 classes (such as components from the Intermec Developer
Library), include the
include the current path so classes in the current directory can be
found, as shown in this example:
Note: Executing with JIT requires more memory. If your
application uses large amounts of memory you may need to leave
JIT disabled. JIT is disabled by default.

Java Support for Microsoft SQL Servers

The IF5 includes the jTDS JDBC Type 4 driver for connecting
to Microsoft SQL Servers from Java applications. You need to
include the location of the JDBC drivers in the class path. Use
the environment variable $JDBC_HOME as shown in this
example:
$JAVA_HOME/bin/j9 -jcl:foun10 -cp $JDBC_HOME/jtds-
j2me-1.0.2.jar:. MyClass
option in the j9 parameters. Be sure to
-cp
69

Advertisement

Table of Contents
loading

Table of Contents