Issue
I have a Windows laptop provided by my employer. I don't have admin rights. I was able to download Eclipse for Java and run a very simple program that printed to the console "hello world". However, I'm not able to find the Java files. I used the cmd command java -version
and it does not recognize it. I looked in the Local disk > program files, and didn't find Java there either. Can someone explain what is going on?
Solution
Long story short: Eclipse has it's own compiler, it does not use the JDK compiler. So it makes perfect sense that Java is not installed but yet you are able to run the code from Eclipse.
Answered By - SimpleNiko