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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content