Fixing MW_HOME problem with the Domain Wizard in WebLogic 11g


After having installed a WebLogic server on my Ubuntu machine, I wanted to use the wizard to create a domain. I then ran into the following problem when I ran the configure.sh script

$ ./configure.sh

./configure.sh: 19: [[: not found ./configure.sh: 19: -d: not found ERROR: You must set MW_HOME and it must point to a directory. where an installation of WebLogic exists. Ensure you point this variable to the extract location of the zip distribution. config.sh

The problem is simple. The first line of the script as it comes out of the box is

#!/bin/sh

In order to run it properly, I changed that first line to refer to bash as follows

#!/bin/bash

That did the trick

Advertisements

3 Responses to Fixing MW_HOME problem with the Domain Wizard in WebLogic 11g

  1. Pingback: errors during installation and running of WebLogic on Ubuntu « Chan's Blog

  2. Rafaelafael says:

    Life Changing hint!
    Thank you so much!!

  3. Thank you. This worked for me, too.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: