What to do if the JRE is not found when starting WebLogic (if you change the JDK on WebLogic)

Source: Internet
Author: User
Tags in domain

The JRE is not a found in directory c:\progra~1\java\jdk1.6.0_20. (Java_home)
Please edit your environment and set the Java_home
variable to the root directory of your Java installation.

Please press any key to continue ...

When you see this field when you start WebLogic, it means WebLogic can't find and access your JDK. If you already have a JDK installed, then you need to do the following:

You need to modify the setdomainenv.cmd file in domain to modify the sun_java_home and Java_home to the installed JDK path.

Set sun_java_home=c:\progra~1\java\jdk1.7.0_75

Set default_sun_java_home=c:\progra~1\java\jdk1.7.0_75

Set java_home=c:\progra~1\java\jdk1.7.0_75

Save and restart WebLogic.

This will allow the WebLogic to execute smoothly!

What to do if the JRE is not found when starting WebLogic (if you change the JDK on WebLogic)

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.