NCSA: National Center for Supercomputing Applications
AllianceNCSAUser_InfoAccess
University of Illinois at Urbana-Champaign
Leading Edge Site

Habanero Wizard Script Examples

Script files are used to set up a local environment for the Habanero Wizard.   For an example, create a file called Wizard (or Wizard.bat under Windows) with the following parameters:

PATH
defines the directory path to the JDK and the JDK/bin directories.

LD_LIBRARY_PATH
defines the directory path to the JDK/lib directory.

CLASSPATH
defines the directory(s) that contain class files that will be used by the wizard. These include the JDK's class.zip file and the directory where the Wizard was installed.

java Wizard11
the command used to start the Wizard. It invokes the Java VM with the Wizard11.class file.

 

A script sample for Windows

	@ECHO OFF
	SET PATH=c:\jdk1.1.6;c:\jdk1.1.6\bin
	SET LD_LIBRARY_PATH=c:\jdk1.1.6\lib
	SET CLASSPATH=.;c:\jdk1.1.6\lib\classes.zip;c:\wizard11
	ECHO Env set for JDK 1.1.6 and the Habanero Wizard
	ECHO Press Ctrl-C in this window to terminate Window
	java Wizard11

 

A script sample for csh

	#!/bin/csh
	setenv PATH .:/usr/local/etc/java/bin:$PATH
	setenv LD_LIBRARY_PATH /usr/local/etc/java/lib:$LD_LIBRARY_PATH
	setenv CLASSPATH .:/usr/local/etc/java/lib/classes.zip:/usr/local/etc/habanero/wizard11/:$CLASSPATH
	java Wizard11

 

A script sample for ksh

	#!/bin/ksh
	PATH=.:/usr/local/etc/java/bin:$PATH
	LD_LIBRARY_PATH=/usr/local/etc/java/lib:$LD_LIBRARY_PATH
	CLASSPATH=.:/usr/local/etc/java/lib/classes.zip:/usr/local/etc/habanero/wizard11/:$CLASSPATH
	java Wizard11


A Navigation Image Map. Use the links below.
[ Download ] [ User Docs ] [ FAQs ] [ Home ] [ Dev API ] [ Tools ] [ License ]

Habanero® is a registered trademark owned by The Board of Trustees of the University of Illinois. Copyright 1996-1998. All rights reserved.   Java(TM) is a proprietary trademark owned by Sun Microsystems, Inc.

 
[Alliance] Alliance NCSA UIUC [NCSA]