My name is Zemian Deng, and I am a Senior Application Engineer working at Oracle for the Enterprise Knowledge Management product. NOTE: The views expressed on my blog and social network are my own and do not necessarily reflect the views of my employer. Zemian is a DZone MVB and is not an employee of DZone and has posted 77 posts at DZone. You can read more from them at their website. View Full User Profile

Getting started with WebLogic Server

02.03.2014
| 3037 views |
  • submit to reddit

Here are some quick tips on how to get started with WebLogic Server on Windows OS:

1. Download wls1212.zip from http://www.oracle.com/technetwork/middleware/weblogic/downloads/index.html 
2. Unzip it under C:\apps\wls12120
3. set MW_HOME=C:\apps\wls12120
4. set JAVA_HOME=C:\apps\jdk1.7.0_51
5. cd C:\apps\wls12120
6. configure.cmd
7. mkdir mydomain
8. cd mydomain
9. %JAVA_HOME%\bin\java weblogic.Server

Use CTRL+C to stop the server. The next time you start, you can just invoke"mydomain\startWebLogic.cmd"

If you have access, try to add Windows Environment variables for MW_HOME and JAVA_HOME into your system. If not, then you can easily add it into "mydomain\startWebLogic.cmd" as well (it's generated so you can edit all you like.) Without these two variables, you will likely get a class not found error.

Published at DZone with permission of Zemian Deng, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)