Over a million developers have joined DZone.

Getting started with WebLogic Server

DZone's Guide to

Getting started with WebLogic Server

· Java Zone ·
Free Resource

Download Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat.

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.

Download Building Reactive Microservices in Java: Asynchronous and Event-Based Application Design. Brought to you in partnership with Red Hat


Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}