2. setEnv. sh
Open/weblogic/setEnv. sh and find this line.
JAVA_HOME =/usr/java
Change
JAVA_HOME =/usr/local/jdk1.2/
3. startWebLogic. sh
Find a "LINUX" string in uppercase and change it to "Linux". It's strange why? This is because at startup, the script file calls the uname command to get the system name, and then compares it with the "LINUX" string to check whether it is a linux system, but the system name returned by the uname command is Linux, so we need to change it. This should be a small BUG in the startup script, so WINT won't be so troublesome.
Run weblogic:
After simple configuration, the test run is completed.
Run the following command in the/weblogic/directory:
../SetEnv. sh (please note that I have two ".." here, because we need to execute this script under the current shell)
./StartWebLogic. sh
When WebLogic is successfully started, it indicates that WebLogic is successfully started.