Download the JDK 5.0 bin file from
here. You want the version titled "Linux RPM in self-extracting file". You will need to accept the License Agreement towards the top of the page.
Install as follows. In this case we are using jdk-1_5_0_06-linux-i586-rpm.bin.
# sh jdk-1_5_0_06-linux-i586-rpm.bin
and scroll thru until you get to the "Do you agree to the above license terms? [yes or no]" and answer yes. After a little time the installation will complete.
We need to add the JDK directory to our path so we do as follows (remember - adjust your paths as required).
# ln -s /usr/java/jdk1.5.0_06 /usr/java/jdk
# pico /etc/profile.d/java_env.sh
and paste in the following.
# java environment
export JAVA_HOME="/usr/java/jdk"
export PATH=$PATH:$JAVA_HOME/bin
Do a Control-x and save.
Adjust the permissions of the file like so.
chmod 0755 /etc/profile.d/java_env.sh
Do a quick reboot to setup the correct PATH.
Download the latest jlibrary server package from
here. I would suggest that you extract the file in /opt but it`s entirely up to you.
In this case we are using version jlibrary-server-1.0.3. Adjust your paths as required. Extract like so.
# tar -xzvf jlibrary-server-1.0.3.tar.gz
and run the startup file.
/opt/jlibrary-server/bin/startup.sh
You should be able to browse the documentation page at
http://ipaddress:8080/jlibrary/index.htmlAnd thats all for the time being
