Link to home
Create AccountLog in
Java

Java

--

Questions

--

Followers

Top Experts

Avatar of Fifian
Fifian

A Java runtime Environmrnt(JRE) or Java Development Kit(JDK) must be available in order to tun Eclipse. No Java virtual machine was found
Hi,
could you please help!!! I installed Eclipse on my windows XP computer and before that I installed Java SDK or JDK installed on my machine, version 1.4.2_8 from a CD which attached with the Eclipse book..when I complete the installation of the Eclipse and doubble click to Eclipse.exe (as a blue boll icon), I always got a message pop-upp dialog telleing me " A Java runtime Environmrnt(JRE) or Java Development Kit(JDK) must be available in order to tun Eclipse. No Java virtual machine was found after searching in the following locations: C:\ide\eclipse\jre\bin\javaw.exe 'javaw.exe.' in your PATH.
I have installed a higher version of SDK 1.4.2_10 and more What shall I do??
Thank you

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


ASKER CERTIFIED SOLUTION
Avatar of sciuriwaresciuriware

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of sciuriwaresciuriware

There are good reasons to download JAVA 6.1 from SUN
and to download ECLIPSE 3.2.2 from http://www.eclipse.org/downloads/
then at least you're up to date.

Delete the C:\eclipse directory in advance and simply expand the new download into C:\

;JOOP!

I forgot to tell you that it's good to uninstall JAVA before or after ECLIPSE installation
before you install the latest JAVA.

You should start eclipse as:

C:\eclipse\eclipse.exe -data MyDevelopmentDirectory // The later is personal

My command is :  E:\eclipse\eclipse.exe -data D:\JOOP\JAVA -vmargs -Xmx256m -Xms128m
where the last parameters start with a lot of memory to speed things up.

;JOOP!

And the right place to download JAVA from is:   http://java.sun.com/javase/downloads/index.jsp

;JOOP!

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of ysnkyysnky🇹🇷

eclipse needs jdk to run so you need to set JAVA_HOME variable which refers to jdk installation directory. to set JAVA_HOME variable;

right click on "my computer" and click to "properties"
click to "advanced" tab
click to "environment variables"
click to "new" button under "system variables"
enter JAVA_HOME for variables name
enter jdk installation directory ("C:\Program Files\Java\jdk1.5.0_01" for me) for variables value
then click to ok
 



ysnky, eclipse only needs a JRE as it comes with its own compiler.

;JOOP!

Avatar of ysnkyysnky🇹🇷

under which directory???
i couldnt find javac.exe under eclipse directory.

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


You don't need javac.exe, there is a compiler INSIDE ECLIPSE.

;JOOP!

Avatar of ysnkyysnky🇹🇷

is there a path where jdk is stored in eclipse? for example in jdeveloper it is kept under jdk directory.

There is NO JDK inside ECLIPSE.
The official SUN JDK contains all java sources and demo's

What you are looking for is eclipsec.exe
But, please don't touch it.
Let ECLIPSE do the work for you.

;JOOP!

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of ysnkyysnky🇹🇷

where is eclipsec.exe?
Java

Java

--

Questions

--

Followers

Top Experts

Java is a platform-independent, object-oriented programming language and run-time environment, designed to have as few implementation dependencies as possible such that developers can write one set of code across all platforms using libraries. Most devices will not run Java natively, and require a run-time component to be installed in order to execute a Java program.