you need (see the download pages) :
- JAVA SDK
- JAVACOMM API
- RXTX library
- MBUNDLES package
and a root access of course !!
1. JAVA SDK
You have to choose the directory
where you want to install tha java sdk, we recommend
/usr/java/. There you do :
# rpm -i j2sdk-1_4_0-linux-i386-rpm
The j2sdk is installed in /usr/java/j2sdk1.4.0/
After that you have to update your .bash_profile (hidden
file in the /root/ directory) by replacing and/or adding
the lines :
Stop and restart the session in order to have the .bash_profile
2. JAVA Packages
Just unzip the javacomm20-x86.tar.Z
and copy the comm.jar in /usr/java/j2sdk1.4.0/jre/lib/ext/
in the directory of your choice (after installation,
we'll never use again this package). Then do :
# cd rxtx-1.4-15/
# make install
If everything goes right, a javax.comm.properties is
created in jre/lib and you find a jcl.jar in jre/lib/ext/
We install the Java Embedded
Server in /usr/java/ :
# unzip jes-2_0.zip -d /usr/java/
# unzip jes-2_0_01.zip -d /usr/java/
# cd /usr/java/jes2.0/
# java setup
# cd bundles
# chmod 664 *
For your convenience, you can change the PATH line in
the .bash_profile in order to run "runjes"
from any directory :
by the way, make sure you also have these lines :
and that's all !!!
You have to include other libraries for compilation
purposes in the javac command line and not in the CLASSPATH
After a session update, we can run the java server :
Java Embedded Server 2.0
Copyright 1998, 1999 and 2000 Sun Microsystems, Inc.
All rights reserved.
Use is subject to license terms.
Type 'h[elp]' for a list of commands.
we will need these bundles :
> start log, servlet, http, tcatjspcruntime, httpauth,
4. Mister Bundles
Unjar the package where you want
> jar xf misterbundles1_0.jar
Optionnal but recommended : mbundles.conf
is to be cut and pasted in your HOME (env var) directory
else it will be created with your own parameters
You are ready to use MISTERBUNDLES
see the user or developer