When I try to open a java file I get an error :
could not find or load main class + location of the file
I'll give an example , let's say I have a file.java in my C:\Program Files\Folder.
When i'll try to open that file it'll say :
Could not find or load main class C:\Program Files\Folder\File.java
I looked all around google and I found things about environmental variables , but I have already set my classpath and path.
MIGHT BE IMPORTANT : I use Jdk 1.8.0_25