I have found the solution: the tutorials I watched didn´t mention the Java sdk path. Once added it should work fine.