Revision [660]

This is an old revision of Install made by DavidLee on 2009-08-05 12:35:54.

 

Install

After downloading the installation bundle (Download) install by extracting the bundle and setting a single environment variable XMLSH to the installed location.

xmlsh requires an installation of the Sun Java JRE or SDK version 1.6 or greater and assumes java is in the PATH.

Windows systems

Unzip the installation to any directory.
Set a system, user, or command environment variable XMLSH to refer to the root directory of the installation.

set XMLSH=<full path to xmlsh directory>


If you want xmlsh to be found without specifying the full path, you will need to edit your PATH variable either in the system environment or at the command line to include the %XMLSH%\win32 directory, or create your own .bat file which calls %XMLSH%\win32\xmlsh.bat

set PATH=%PATH%;%XLMSH%\win32


Test the java version.
JRE or JDK 1.6 or greater is required. Try running your default java and verify it reports a 1.6 or greater JRE.

java -version


It should report something like
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)


If the version is 1.5 or less you need to update or install JRE (or JDK) 1.6. You can have multiple java installations on your system. By setting the PATH and JAVAHOME variables you can choose which one is used. See documentation at java.com for details.





Unix systems (Including Mac)

Unzip the installation to any directory.

unzip  xmlsh_<release>.zip

Set a system, user, or command environment variable XMLSH to refer to the root directory of the installation.
export XMLSH=<full path to xmlsh directory>


Now the xmlsh script needs to be made executable
chmod a+x $XMLSH/unix/xmlsh


If you want xmlsh to be found without specifying the full path, you will need to edit your PATH variable in your profile or on command line to include the $XMLSH/unix directory, or create your own script file which calls $XMLSH/unix/xmlsh

export PATH=$PATH:$XMLSH/unix

There are 2 comments on this page. [Show comments]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki