When I've executed 'java weblogic.WLST' (old fashion) in the command prompt as I've done in the earlier version. It was deprecated in the latest version!!!
In the 12c (12.2.1 version) instead of using WebLogic you need to use Middleware infrastructure 12.2.1 installer. Which is going to support different Suite products : SOA Suite, EBS suite etc.
Could not find the offline class
The earlier version WLST was available from the WL_HOME/common/bin/wlst.sh or cmd. Now it is deprecated in the latest version.WLST RuntimeException in WebLogic 12.2.1 |
WLST path in 11g and 12c differed |
Best practice is you must include the following line in the profile file such as .bash_profile or .bashrc in your user home directory:
alias wlst="/home/oracle/products/12.2.1/Oracle_Home/oracle_common/bin/wlst.sh"
or
alias wlst=$ORACLE_HOME/oracle_common/common/bin/wlst.sh
Hope you like this fix, share this trick with your friends! Dont forget to like it on Facebook!