Page 1 of 1

No Java 0.0

Posted: Tue May 03, 2011 4:04 pm
by THe Floating Brain
So about a year ago someone tried to teach me Java, so I installed Eclipse on my laptop (windows vista) and desktop (windows 7 X86). Eclipsed worked until one day it gave me a error. Mainly being a C++ developer I just went on ahead with my project and used the laptop for Java instead. But recently I got back into Java so I re-installed eclipse, it told me the JDK was missing; so I went and installed the JDK. After that I got the same error, so I restart my computer... nothing. Several days later (today) I decided to approach the problem again and I re-installed eclipse and the JDK and still not luck, does any one know what I should do?

Re: No Java 0.0

Posted: Tue May 03, 2011 5:10 pm
by qpHalcy0n
Be sure you have the JRE as well. But there have been problems recently w/ the 64bit JDK binaries. Try to install the x86 JDK if you have not already. This fixes the problem in most cases.

Re: No Java 0.0

Posted: Tue May 03, 2011 8:02 pm
by THe Floating Brain
qpHalcy0n wrote:Be sure you have the JRE as well. But there have been problems recently w/ the 64bit JDK binaries. Try to install the x86 JDK if you have not already. This fixes the problem in most cases.
I attempted to install the JRE and it said I already had it but did any way; and I made sure both the JDK and the JRE are X86. Thank you for the suggestion though.

Re: No Java 0.0

Posted: Tue May 03, 2011 8:18 pm
by christo
The JDK comes with the JRE.

Eclipse also comes with its own JRE (because it happens to be a Java application) but you can run it on a specific other JRE if you want.

I'm guessing you just want it to work.

If you can tell me the specific error I can probably help.

Re: No Java 0.0

Posted: Tue May 03, 2011 8:31 pm
by THe Floating Brain
:-(
Java.PNG
Java.PNG (18.42 KiB) Viewed 1025 times

Re: No Java 0.0

Posted: Wed May 04, 2011 3:15 am
by k1net1k
This error can easily be solved by uninstalling java and using any good platform

Re: No Java 0.0

Posted: Wed May 04, 2011 3:44 am
by MrDeathNote
Are you using a 32bit or 64 bit version of eclipse. Sometimes the 32bit eclipse cannot detect 64 bit JREs and JDKs. Try downloading the 64bit version of eclipse and if that doesn't work try pointing eclipse to your JRE manually by:

Window->Preferences->Java->Installed JREs

Then add in your own JRE and select it as the default JRE.

Re: No Java 0.0

Posted: Wed May 04, 2011 3:11 pm
by THe Floating Brain
k1net1k wrote:This error can easily be solved by uninstalling java and using any good platform
Problem solved! Thank you :-D