Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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 cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/… –  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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.