Eclipse error message about JRE and JDK

Asked By 750 points N/A Posted on -
qa-featured

Hi Guys,

I am new to using Eclipse I downloaded an installer from their website. I was successful in installing it to my computer when I am about to use it an error message appeared on my screen attached to this post is the error message that I encountered while running Eclipse.

A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse

Eclipse

A Java Runtime Environment (JRE) or Java Development Kit (JDK)

must be available in order to run Eclipse. No Java virtual machine

was found after searching the following locations:

C:UserseminDownloadseclipsejrebinjavaw.exe

javaw.exe in your current PATH

Since I am new in using Eclipse, I am not familiar with the error I ask some friends about the said error but nobody can help me I browse the internet for some similar issues but I found nothing that could help me solve my problem please share some ideas on the error I encountered.

I hope to hear from you soon.

Aabel

SHARE
Answered By 0 points N/A #122715

Eclipse error message about JRE and JDK

qa-featured

Hi Thomasredmall,

Welcome to Eclipse Development Environment.

Eclipse is developed using the Java programming language, and as such, requires a jre [java runtime environment] to run.

If you wish to use eclipse in your programming a JDK has to be installed.

HERE IS HOW YOU DO IT.

Download a JDK from : http://www.oracle.com/technetwork/java/javase/downloads/index.html

Install the jdk . NB: A jdk comes bundled with a jre so you don't need to download a jre.

SETTING THE CLASSPATH

On windows XP : Right Click on My Computer, Select Properties, Select the Advance Tab, Click on Environment Variables

A pop-up will appear, click New : type JAVA_HOME as the variable name and 'POINT TO THE FOLDER JDK WAS INSTALLED IN 'as the variable value e.g c:program filejavajdk1.6

This will fix the problem permanently.

Regards

Mose

Login/Register to Answer

Related Questions