to launch the wlst, make sure follwing variable are expported in your application or user environment –
export JAVA_HOME=/techs/apps/java_1.8_181
export PATH=$PATH:$JAVA_HOME/bin
export WL_HOME=/techs/apps/Middleware/wlserver_10.3
export CLASSPATH=$WL_SERVER/server/lib/weblogic.jar
you can add this into .bash_profile or .profile or your user’s profile settings
if you want you can create alias for wlst so that can be time saving next time :
alias wlst="java weblogic.WLST"
to execute your python or jython scripts, you can use below two options -:
java weblogic.WLST nameofyourscript.py
execfile (fullpathtoyourscript.py)
flow to understand what heppens when wlst is executed –
wlst script —-> jython compiler (using jython, python and javac)——>jvm (jit compiler)—-output