Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have downloaded and installed JavaSE, JavaEE, and Netbeans yet when I try to install the Sun Java Wireless Tookit 2.5.2 for CLDC I get this error:

The directory that you have chosen does not include a suitable Java (TM) Virtual Machine.

and the directory it points to is: C:\Program Files\Java\jdk1.6.0_23

What is the deal? How can I solve this?

share|improve this question
up vote 1 down vote accepted

Java Virtual Machine refers to the Java Runtime Environment (JRE)

I see that you said you downloaded JavaSE but which one?

JDK has the Dev Kit and the JRE. JRE is just the run-time environment.

share|improve this answer
+1! To put it more clearly, JRE from JDK is not used by normal programs. They need traditional JRE installed. – AndrejaKo Jan 13 '11 at 18:49
I have this package installed… – CodingIsAwesome Jan 13 '11 at 18:59
I have both the JRE and JDK installed. Still same error :( – CodingIsAwesome Jan 13 '11 at 19:03
Since you have both you may need to set a Path. It should point to C:\whatever dir\jre-you-want-to-use\bin – Stanley Williams Jan 13 '11 at 19:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .