Unknown error, Problem when compiling related to JDK

2

I am finishing a project in Intellij for the university, that project I left in stand by while I continued with other commitments.

However, a few weeks ago I installed a framework and when I did not run correctly I uninstalled and reinstalled java to run, without success.

Now when resuming the project, it no longer runs and always marks an error.

When trying to open the project in eclipse this appears:

I already reviewed environment variables and everything was fine, I reinstalled java and JDK. However the error continues to appear, the worst of all is that it is not only with this project that I have to carry out, but that it is already with all the programs.

Deputy screens of the error. If you need more information please write me, I do not know what to do.

    
asked by Gaby C. 11.05.2017 в 22:53
source

2 answers

0

You have to add the correct folder bin associated with the Java binary you want to run, theoretically when you install the JDK again this route should be added, but from what I see in your comment the route seems wrong.

An easy way to check if java is working properly is to open Powershell and write javac , if the console tells you that the command has not been found, you have path problems.

Please update your question with the path where you installed the JDK to explain how to configure the PATH environment variable.

Greetings

    
answered by 12.05.2017 в 00:42
0

right click on my pc - > properties- > environment variables where it says system variables look for the one that says path there you give in edit pones;

C: \ Program Files \ Java \ jdk1.8.0_121 \ bin You have to verify that this is the correct path you will most likely have to restart your PC

    
answered by 12.05.2017 в 05:03