User manual

Installation
14
Datalogic™ JavaPOS Device Services
“Update CLASSPATH”
Windows
A new system environment variable DLS_CLASSPATH is created that contains
the following string:
.;C:\Program Files\Datalogic\JavaPOS;C:\Program
Fil
es\Datalogic\JavaPOS\SupportJars;C:\Program
Files\Datalogic\JavaPOS\DLSJavaPOS.jar;C:\Program
Files\Datalogic\JavaPOS\SupportJars\jsr80-
1.0.2.jar;C:\WINDOWS\system32\comm.jar;C:\Program
Files\Datalogic\JavaPOS\SupportJars\jsr80_linux-
1.0.3.jar;C:\Program
Files\Datalogic\JavaPOS\SupportJars\jsr80_ri-
1.0.2.jar;C:\Program
Files\Datalogic\JavaPOS\SupportJars\POStest.jar;C:\Program
Files\Datalogic\JavaPOS\SupportJars\xml-apis.jar;C:\Program
Files\Datalogic\JavaPOS\SupportJars\jcl.jar;C:\Program
Files\Datalogic\JavaPOS\SupportJars\jpos113-
controls.jar;C:\Program
Files\Datalogic\JavaPOS\SupportJars\xercesImpl.jar;C:\Progra
m Files\Datalogic\JavaPOS\SupportJars\jcl_editor.jar;
This environment variable is then appended to the end of
the system envi-
ronment variable “CLASSP
ATH”.
Linux
A new variable, DLS_CLASSPATH is created in /etc/profile file, that con-
tains the following string:
DLS_CLASSPATH=.:/opt/DLS/JavaPOS:/opt/Datalogic/
Jav
aPOS/SupportJars:/opt/DLS/JavaPOS/DLSJavaPOS.jar:/
opt/DLS/JavaPOS/SupportJars/jsr80-1.0.2.jar:/opt/DLS/
JavaPOS/SupportJars/nrjavaserial-3.9.3.jar:/opt/DLS/
JavaPOS/SupportJars/jsr80_linux-1.0.3.jar:/opt/DLS/
JavaPOS/SupportJars/jsr80_ri-1.0.2.jar:/opt/DLS/
JavaPOS/SupportJars/POStest.jar:/opt/DLS/JavaPOS/
SupportJars/xml-apis.jar:/opt/DLS/JavaPOS/SupportJars/
jcl.jar:/opt/DLS/JavaPOS/SupportJars/jpos113-
controls.jar:/opt/DLS/JavaPOS/SupportJars/
xercesImpl.jar:/opt/DLS/JavaPOS/SupportJars/
jcl_editor.jar:C
This variable is then appended to the
end of any existing classpath, then
exported. As in the following:
CLASSPATH=$CLASSPATH:$DLS_CLASSPATH
Export CLASSPATH
“Update COM port Access”- LINUX ONLY
Under Linux there are a couple of changes that need to be done to the com
ports in order for the Datalogic serial devices to function properly.
All users must be granted access to use the comports.
By default the installation program will only change
the authorization for
the first four com ports on the system. This is done by adding lines to the /
etc/rc.d/rc.local or /etc/rc.d/boot.local file.
chmod a+rw /dev/ttyS0
chmod a+rw /dev/ttyS1