AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
![]() ![]() If not you have a problem with where it is installed. Just open a text file, save it as something.java then type some code and navigate to the file, type javac name of file.java and then if that works type java name of file If this all works fine then it is a problem with eclipse. If you can compile and run a test prompt then you know its in the right spot and the problem lies with eclipse location/locator. I would reccommend you try to compile and run java from a text file and use the command prompt before an IDE. There is a chance you didn't give it the option to look in the place it needs to. You might also need to look at what you gave eclipse access to in the setup stage. Here is a good step by step for installing JDK on MAC, Windows and Linux: You have to put it in a special location depending on your OS. You need to do more than install the JDE or JDK. Manually open command window to Java pathway.As a side note, you can also launch a command prompt directly from within the Java folder – navigate to your C:\Program Files\Java\bin folder ( or wherever your Java is installed), hold Shift Right click inside the window, and click “Open a command window here”.This is not a version problem, but a problem with where it is installed. You can check if this was a successful solution with the following commands echo %JAVA_HOME% Path - C:\Program Files\Java\jdk1.7.0_71\bin Reinstall Java and set system variable JAVA_HOME to your JRE (or JDK) path.Įg: JAVA_HOME - C:\Program Files\Java\jdk1.7.0_71 Type 1.4.2_18 in search field, finds registry key for jre1.4.0_18.Type 1.4.2_12 in search field, finds registry key for jre1.4.0_12. ![]()
0 Comments
Read More
Leave a Reply. |