[nfbcs] Java and Eclipse Problem

Currin, Kevin kwcurrin at live.unc.edu
Sun Jan 20 08:14:47 UTC 2013


Hello,

I recently downloaded Java version 1.7 update 11 and Eclipse for a programming class I just started. At first, everything worked out ok; I could use Eclipse to generate basic java programs. Then I tried using the windows command line to run java scripts. I ran into a problem with the command line not recognizing javac, so I followed the following online instructions to try and fix this:
1. Go to control pannel
2. click system and advanced system settings
3. go to environment variables
4. go to system variables
5. prepend certain directory to path

The problem is that this did not help with the command line and it also caused Eclipse to stop recognizing java. When I try to use eclipse now, I get a message saying that java is needed and that eclipse cannot find it in a given directory. I've tried uninstalling both eclipse and java and reinstalling and have tried messing with directories and paths. 

Does anyone have any idea what I can do to restore the path that allowed eclipse and java to work together?

Thanks,

Kevin




More information about the NFBCS mailing list