Jython

Modules
sys.path.append('path to search') java -Dpython.path=
 * http://bytes.com/topic/python/answers/606006-jython-import-search-path
 * http://www.jython.org/docs/using/cmdline.html
 * http://www.jython.org/docs/library/site.html
 * http://jythonpodcast.hostjava.net/jythonbook/chapter7.html

JYTHONPATH
print("sys.path[" + `sys.path` + "]") sys.path.append("/home/u166705/work/wlst_v62/wlst.jar/Jython-lib") sys.path.append("/home/u166705/work/wlst_v62/wlst.jar") print("sys.path[" + `sys.path` + "]") import sys import getopt exit
 * http://old.nabble.com/WLST-finds-getopt-on-Windows,-but-not-on-Solaris-td2204988.html

Java and Jython Integration

 * http://jythonpodcast.hostjava.net/jythonbook/chapter10.html

Jython, Java and WLST
[weblogic@host util]$ CLASSPATH=$CLASSPATH:/opt/soa/scripts/bin/crypt.jar java weblogic.WLST

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help for help on available commands

wls:/offline> import com.encrypt.util.DesEncrypter wls:/offline> d = com.encrypt.util.DesEncrypter.encode("data","phrase") wls:/offline> d '8SGxkkJp/pY=' wls:/offline> exit