My Oracle Support Banner

Starting WLS After Quick Install: "java Weblogic.Server" Fails With "Error: Could not find or load main class weblogic.Server" (Doc ID 2584959.1)

Last updated on APRIL 15, 2024

Applies to:

Oracle WebLogic Server - Version and later
Information in this document applies to any platform.


On : version, Oracle WebLogic Server

Executing this command fails:

JAVA_HOME/bin/java weblogic.Server

Error: Could not find or load main class weblogic.Server

The issue can be reproduced at will with the following steps:

Refer to the below section of WL 'README.txt' in
-- Quick Installer for Windows, Linux, MAC OS X (231 MB)

2. Create a new directory to store the domain and start the server.

  $ mkdir domain
  $ cd domain
  $ JAVA_HOME/bin/java weblogic.Server

Full readme uploaded here.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.