back to PMEL Collaborative Tools page

Installing

Ocean Share Application/Hablet

UNIX INSTALL NOTES


This page is an addendum to the Habanero Installation Notes for UNIX. It is just a list of notes we made that may be helpful to you when installing Habanero.

  1. each Unix user using Habanero will need to copy the habanero.rsc directory to his home directory, as per the instructions in the readmeUnix.txt file included with Habanero. We suggest that before you or any user copies the habanero.rsc to his home directory, you edit the master file user.props and fix the habanero.home to point to where you've installed Habanero.

  2. we suggest also that you place scripts in the Habanero directory to launch the Habanero Server and Clients. Look in the file readmeUnix.txt to see NCSA's script strawmen, and then also look at ours, listed below:

Our scripts are:

---------------- Habanero.ksh:

#!/bin/ksh
PATH=.:/home/heron3/JAVA/Solaris_JRE_1.1.7_07/bin:$PATH
HAB=/home/heron3/JAVA/Habanero2.0
CLASSPATH=.:$HAB:$HAB/apps:$HAB/apps/Savina:$HAB/rsc/ObjectSpace/jgl3.1.0.jar:$HAB/rsc/ObjectSpace/voyage
r1.0.1.jar:$HAB/apps/oceanShare/Ocean.jar:$HAB/apps/oceanShare/swingall.jar

LD_LIBRARY_PATH=$HAB/rsc/lib/Solaris:$LD_LIBRARY_PATH

jre -mx24m Habanero


---------------- HabaneroServer.ksh:

#!/bin/ksh
PATH=.:/home/heron3/JAVA/Solaris_JRE_1.1.7_07/bin:$PATH
HAB=/home/heron3/JAVA/Habanero2.0
CLASSPATH=.:$HAB:$HAB/apps:$HAB/apps/Savina:$HAB/rsc/ObjectSpace/jgl3.1.0.jar:$HAB/rsc/ObjectSpace/voyage
r1.0.1.jar:$HAB/apps/oceanShare/Ocean.jar:$HAB/apps/oceanShare/swingall.jar

LD_LIBRARY_PATH=$HAB/rsc/lib/Solaris:$LD_LIBRARY_PATH

jre -mx24m HabaneroServer



Note, we've used jre rather than java.

Also note we had to add -mx24m to the command line because we ran out of memory while running.