Hello I am very new and I have a problem that has been bothering me all day today. I have been working on a ROS (robotic OS) and I am using java for part of it. The java code itself works fine, but I just updated my java to the latest java and my whole entire eclipse can not find java... even programs like minecraft do not work. I did check my web browser and it seems to run java fine and there is a java folder within the program files folder with everything in it.

I have tried to re-install my jdk, jre and java, even installed older java. I would thank anyone who can help me :-)

p.s. I updated my java to java 7 u 5

edit: ohh and I also am now having problems with using the batch files to execute a jar file.

07-22-2012, 08:19 AM

pbrockway2

Re: very wierd! eclipse does not find java on my computer?

Quote:

my entire eclipse can not find java

What does this mean - specifically, does Eclipse run but is unable to compile and/or run your programs, or does Eclipse not start at all?

In either case check that the most recent runtime and compiler are on your path. On Windows you can see the path by entering the command

Code:

path

at the command line. On *nix you would use the command

Code:

echo $PATH

Either way you are presented with a list of directories (folders). What you are checking is that bin folders of both the runtime and the compiler are included. On *nix it is common for there to be a symbolic link to the executables on the path rather than the path including the bin folders.