J Unix installation - www.jsoftware.com

*** Standard install

J is installed with a tar.gz file. For example, on Linux,
download to a temp directory: j504x_linux.tar.gz

The x is a bug level. Always install the latest.

Unpack it to create the ~/j504 directory:
 > cd ~
 > tar -xzf temp/j504x_linux.tar.gz

If java is installed and in your path, you can start
Jwd (GUI front end) with:
 > ~/j504/jw

Check that java is installed and in your path with:
 > java -version
java version "1.4....

Start Jconsole (ctrl+d ends it) with:
 > ~/j504/jconsole

*** Mac (Darwin) notes

The Mac download may automatically unpack to your
desktop and you need to move the resulting j504
directory from your desktop to your home directory.

In Mac Finder, J (red icon) starts Jwd and jconsole
starts Jconsole. Drag it to the Dock for easy starts.

*** Installing elsewhere (other than ~/j504)

We reccommend that you install in ~/j504 as described
above and not move j504 to another location until you
are familiar with jw and jconsole.

When J starts it needs to find file profile.ijs for
loading the standard library.

If environment variable JPATHj504 is NOT defined, then
J looks for profile.ijs in ~/j504.

If you move j504 you need to set/export JPATHj504 to
be the path to profile.ijs.

You also need to edit the jw script. As distributed,
jw has ~/j504/j.jar and you need to edit it to use
$JPATHj504.
 
The Mac set/export must be done in /etc/profile for J
(red J icon) to work.

*** Complicated installations

More complicated installations, for example installation
in a shared, read-only directory, for use by multiple
users are possible, and require both system admin and J
programming knowledge. The profile.ijs has to be modified
so that standard J user directories such as user and temp
are properly set. For example, the following changes to
profile.ijs would give each user their own temp and user
directories in their ~/J directory:

USER_j_=: (2!:5'HOME'),'/J'
TEMP_j_=: USER_j_
