Its every time. Then if i have debugged the projekt in that way i can debugg it via the toolbar. But if i switch project to run another project the run and debug in the toolbar is still set on the project i last debugged. Then i have to go into -> debug as -> create new -> select project -> select main file (witch sometimes is missing though i have a
public static void main(String[] arg) {}
in that file) then i can run the application. And as i explained in the () the project sometimes doesnt run cuz "main method missing, please insert public static void main(String arg) {}". But thats probably a whole different story
Edit: Dont mind the second part. I fixed that and it was an embarrassing mistake