Results 1 to 2 of 2
  1. #1
    sovr is offline Member
    Join Date
    Jul 2012
    Posts
    1
    Rep Power
    0

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

    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.

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

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

    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

    Java Code:
    path
    at the command line. On *nix you would use the command

    Java 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.

Similar Threads

  1. wierd question
    By stuckonjava in forum New To Java
    Replies: 5
    Last Post: 05-16-2012, 10:02 AM
  2. Could not Find main class : Eclipse
    By rahul405804 in forum Eclipse
    Replies: 5
    Last Post: 04-08-2012, 11:55 AM
  3. Eclipse Can't find MarkerSupportView class?
    By chris071 in forum Eclipse
    Replies: 1
    Last Post: 03-04-2011, 05:37 PM
  4. wierd problem
    By f_the_cook in forum Advanced Java
    Replies: 4
    Last Post: 10-09-2008, 05:13 PM
  5. Using Find And Replace In Eclipse IDE
    By JavaForums in forum Eclipse
    Replies: 0
    Last Post: 04-26-2007, 10:15 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •