Uninstall EAR files Use the commands to uninstall EAR Files. To set your Lawson environment variables and path, execute a .cv command to move into the Environment. At the command prompt, specify: . cv LawsonEnvironmentName Run this command to set the environment variable WAS_HOME: export WAS_HOME= For example, export WAS_HOME=/usr/IBM/WebSphere/AppServer Navigate to the directory where the script is located. At the command prompt: cd $GENDIR/install/websphere/deploy Run one of these commands: Uninstall a single product perl deployEarUtil.pl -ta uninstall -pr LSFProduct For example: perl deployEarUtil.pl -ta uninstall -pr IOS Uninstall all products perl deployEarUtil.pl -ta uninstall -pr All