15.07.2013 Views

jgrasp handbook

jgrasp handbook

jgrasp handbook

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DRAFT, February 18, 2003, Page 73<br />

installed on your system, and a soft link to the <strong>jgrasp</strong> startup script (for command line execution) will be<br />

created in /usr/bin or your $HOME/bin directory.<br />

If you want to create a "normal" OS X application, copy the "<strong>jgrasp</strong>/bin/macosx/jGRASP Control<br />

Shell.app" directory, then move the original "<strong>jgrasp</strong>" directory into the new "jGRASP Control<br />

Shell.app/Contents/Resources" directory.<br />

8.7 Installing on x86 Linux, SPARC Solaris<br />

Unzip the distribution file in the directory where you wish to install jGRASP. This will create a <strong>jgrasp</strong><br />

directory containing all the files. You may want to add the "bin" subdirectory of this directory to your<br />

execution path or create a soft link to .../<strong>jgrasp</strong>/bin/<strong>jgrasp</strong> from a directory on the executable path.<br />

8.8 Installing on Other Systems<br />

Unzip the distribution file in the directory where you wish to install jGRASP. All the functions of jGRASP<br />

will work except for the compile and run functions.<br />

If you are on a Unix system other than Linux or Solaris, you can build a "wedge" program in order to use<br />

the compile and run functions of jGRASP (C compiler and knowledge of how to use it is necessary). The<br />

source can be found at <strong>jgrasp</strong>/src/linux_run.c . The executable must be <strong>jgrasp</strong>/jbin/sys_run . The source<br />

for a client-server shell can be found at <strong>jgrasp</strong>/src/linux_exec.c . That executable can have any name; it is<br />

only used externally. For the best chance of success, compile with default optimization.<br />

Please contact us if you succeed in doing this. We can incorporate your executables in a future release of<br />

jGRASP.<br />

If you are on a system other than Windows or a UNIX variant and have a good knowledge of system<br />

programming on your system, you can build a wedge based on the UNIX wedge sources found in<br />

<strong>jgrasp</strong>/src . The executable must be <strong>jgrasp</strong>/jbin/sys_run.<br />

8.9 Network Administration<br />

jGRASP supports common settings for all users on a network. The common settings directory can be<br />

specified at installation time if using the self-extracting exe on Windows. Otherwise, in the "data" directory<br />

of the installation, edit the file called "admin". Specify the directory to be used for administrator settings in<br />

this file. This should be the only contents of the file, and not be followed by a line feed or carriage return.<br />

Use a full path to specify the directory. This directory must be accessible and readable by all users, and<br />

writable only for administrators. You should select a location outside the jGRASP distribution, so that you<br />

can continue to use the settings after upgrading.<br />

When an administrator (anyone with write access in the common settings directory) runs jGRASP, menu<br />

items that allow you to change administrator settings will appear on the control panel settings menu. Also,<br />

when copying or creating compiler environments, you will have the choice of creating them for all users or<br />

just the current user.<br />

9 Running jGRASP<br />

jGRASP requires a Java 1.2 or better virtual machine and system classes to run. You can get the latest<br />

JDK from Sun Microsystems.<br />

You will probably need about 48 Megs of memory to run jGRASP, but this depends on the virtual<br />

machine, jit compiler, and which other applications you run concurrently.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!