Install WebLogic 11gr1 (10.3.3) in the Apple Mac OS X 10.6.7 Environment)

Source: Internet
Author: User

Machine Model: MacBook Pro mc700

Operating system version: 10.6.7

Java environment: 1.6.0 _ 24 (64bit)

WebLogic Installation File: wls1033_generic.jar

 

Problems encountered during installation:

Since the operating system already comes with the Java 1.6 environment, we thought we could directly use this Java environment to install weblogic. Therefore, use the following command to start the Weblogic Installation Wizard:

$ Java-jar wls1033_generic.jar

The wizard is started normally and the previous steps are normal. However, when the Java Virtual Machine step is specified, the wizard does not find any Java environment. manually select the path of the Java environment, always prompts that the directory is not a valid Java environment.

 

Solution: Find an article for the omnipotent Google.

Http://letsbyte.wordpress.com/2011/03/14/install-weblogic-11gr1-on-mac-osx/

The article provides a trusted Operation Command. It is found that the directories and jar files are missing in the Java environment that comes with Mac OS X, the wizard assumes that the JDK directory is invalid. Manually set related directories and jar files to pass the JDK verification in the Wizard.

 

Setup jars under Java home:

  1. Open a terminal window.
  2. Check your Java home by executing-/usr/libexec/java_home
    . Path returned will be-/system/library/Java/javavirtualmachines/1.6.0.jdk/contents/home
    .
  3. CD/system/library/Java/javavirtualmachines/1.6.0.jdk/contents/home
  4. Sudo mkdir JRE
  5. Sudo mkdir JRE/lib
  6. CD JRE
  7. CD lib
  8. Sudo ln-S ../classes. Jar Rt. Jar
  9. CD ../lib
  10. Sudo ln-S ../classes. Jar tools. Jar

After setting Java home, run the following command to execute the Installation Wizard:

$ Java-dos. Name = Unix-xmx1024m-jar wls1033_generic.jar

 

The wizard can complete all the steps normally.

 

Thanks to abhijatupadhyay
.

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.