How to Install WebLogic 12c ZIP on Linux

UPDATE July 1st 2014 - See recent post about WebLogic 12.1.3 and its Maven integration, support of key Java EE 7 APIs and configuration using Docker.

I knew that WebLogic had this small ZIP distribution, of only 184M, but what I didn't know was that it is so easy to install it on Linux machines, specially for development purposes, that I thought I had to blog about it.

You may want to check this blog, where I found the missing part on this how to, but I'm blogging this again because I wanted to put it in a simpler way, straight to the point. And if you are looking for a how to for Mac, check Arun Gupta's post.

 So, here's the step-by-step:

  1. Download the ZIP distribution
    Don't forget to accept the OTN Free Developer License Agreement!
  2. Unzip the content of the file exactly where you want to keep your local installation of WebLogic 12c
  3. Make sure you have JAVA_HOME environment variable pointing to a local install of Oracle JDK 7
    • For example: export JAVA_HOME=/usr/lib/jvm/java-7-oracle
  4. Open your terminal and go to that directory
  5. Set the following environment variable
    • $ export CONFIG_JVM_ARGS=-Djava.security.egd=file:/dev/./urandom
  6. Call configure.sh
  7. When asked, say [Y] to create a default domain, and then provide a username and password
  8. Domain will be automatically started after created
  9. Go to http://localhost:7001/console

 

Enjoy!

Comments:

Hi Burno, excellent post.

I want to share an Oracle By Example tutorial link that shows step-by-step guidance on how to install WebLogic Server 12c Zip Distribution File:

http://apex.oracle.com/pls/apex/f?p=44785%3A24%3A0%3A%3A%3A24%3AP24_CONTENT_ID%2CP24_PREV_PAGE%3A6396%2C1

Regards,

Edgar

Posted by guest on September 05, 2012 at 07:31 AM PDT #

Hi!

For some reason it says :

/usr/lib/jvm/jdk1.7.0_40/bin/unpack200: No such file or directory

when running the ./configure.sh

Do you have any idea why?

I have Java jdk1.7.0_40 installed.

Posted by guest on October 09, 2013 at 03:24 AM PDT #

once the server is started and running how do we shut it down?

Posted by guest on February 04, 2014 at 04:08 AM PST #

Thanks Bruno for the simple and clear instructions.

Posted by Saurabh Mishra on April 08, 2014 at 01:27 AM PDT #

Hi Bruno !
Thank you for help.
I have a little problem.
When I launch ./configure.sh, ubuntu shows to me the following message:

WebLogic Server 12g (12.1.2.0) Zip Configuration

MW_HOME: /opt/middleware/weblogic/wls12120
JAVA_HOME:

Note: MW_HOME not supplied, default used
**************************************************

ERROR: You must set JAVA_HOME and point it to a valid location
where your JDK has been installed

My MW_HOME = /opt/middleware/weblogic
My JAVA_HOME = /usr/lib/jvm/default-java

Thx for your patience and good Job :)

Posted by Fra on May 30, 2014 at 12:40 AM PDT #

Hi Bruno, thanks in advance for this excellent post. I'm having an issue when I try to run 'sudo ./configure.sh'. It prompts:

**************************************************
WebLogic Server 12g (12.1.2.0) Zip Configuration

MW_HOME: /opt/middleware/weblogic
JAVA_HOME:

Note: MW_HOME not supplied, default used
**************************************************

ERROR: You must set JAVA_HOME and point it to a valid location
where your JDK has been installed

But both MW_HOME and JAVA_HOME is already set. Do you know how to make it run?

Posted by guest on June 23, 2014 at 11:20 AM PDT #

Thanks for the post. It was helpful. I tried with Weblogic 12.1.3 and my domain got created in the path $MW_HOME/user_projects/domains/mydomain. Other than this, everything worked as per your notes.

Posted by Watsh Rajneesh on July 01, 2014 at 11:13 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About


Bruno has been having fun working with Java since 2000 and now helps Oracle on sharing the technology accross all Latin America. Also plays videogames, does trekking and loves beer.

Follow me on Twitter! @brunoborges

Search

Archives
« July 2015
SunMonTueWedThuFriSat
   
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
       
Today