Over a million developers have joined DZone.

Getting started with WebLogic Server

· Java Zone

Discover how AppDynamics steps in to upgrade your performance game and prevent your enterprise from these top 10 Java performance problems, brought to you in partnership with AppDynamics.

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.

The Java Zone is brought to you in partnership with AppDynamics. AppDynamics helps you gain the fundamentals behind application performance, and implement best practices so you can proactively analyze and act on performance problems as they arise, and more specifically with your Java applications. Start a Free Trial.

Topics:

Published at DZone with permission of Zemian Deng, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

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

{{ parent.tldr }}

{{ parent.urlSource.name }}