Posted on

Installing Oracle Weblogic using the ZIP distribution

Installing Oracle WLS using the zip distribution is not carried out using an Installer Wizard; however, if you have no prejudices about using operating system’s shells, this installation can be a real time saver (and disk space saver as well!). As a matter of fact, this distribution is supported on Windows, Linux and Mac OS X systems and contains the necessary artifacts required to setup a basic installation of Oracle WebLogic Server. 

An optional supplemental zip ( is available as a separate download. The supplemental zip contains samples, evaluation database (Derby) and L10N console help files.

Here are the steps to perform installation of the Zip distribution:

1. Unzip the file

Extract the contents of the zip to a directory. This directory is referred to as MW_HOME (eg: /home/myhome/mywls).

2. Setup OS variables

Setup JAVA_HOMEMW_HOME and JAVA_VENDOR (Windows users only) variables in the current shell as required for the target platform.


$ export JAVA_HOME=/home/myhome/myjavahome  $ export MW_HOME=/home/myhome/mywls


set JAVA_HOME=C:\home\myhome\myjavahome  set MW_HOME=C:\home\myhome\mywls  set JAVA_VENDOR=[Sun|Oracle]

3. Run the installation script

Launch the installation configuration script in the MW_HOME. This step is required to be run only once. If you move the installation to another location/machine, you need to rerun this step. On a Linux machine execute:   

$ . ./   

  On a Windows platform execute instead:


Now the configure command will start unpacking the archived distribution as you can see from the following snapshot:

oracle weblogic book oracle weblogic books

It might take a while to complete but then you are done with the application server installation.

4. Set the WLS environment variables

Now execute the setWLSEnv script which is located in the bin folder of your server distribution. This will set a proper environment configuration for executing Oracle WLS shell commands:


$ . $MW_HOME/wlserver/server/bin/  



Once completed, you can move to the next step, that is creating a new WLS domain and start WLS.