Why script is showing error "Could not find java: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java" ?

Solution Unverified - Updated -

Issue

Getting Java error after the server while trying to start applcation.

./start.sh
bin/platform.sh: Could not find java: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java
bin/platform.sh: Please set JAVA_HOME to a Java Runtime Environment (JRE)

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.