I'm getting error "A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Jbdevstudio. No Java virtual machine was found after searching the following locations: xxx" when trying to run JBDS.

Solution Verified - Updated -

Issue

The following errors occur when starting JBDS:

A Java Runtime Environment (JRE) or Java Development Kit (JDK)
must be available in order to run Jbdevstudio. No Java virtual machine
was found after searching the following locations:
xxx

The possible cause is that the jdk/jre got updated at one time because the yum.log shows a different java jdk version than the location mentioned in the error message.

[xxx ~]$ sudo grep java /var/log/yum.log
xxxxxx Updated: 1:java-yyyyyyyyyyy

Environment

  • JBoss Developer Studio(JBDS)

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.