Hi,
i have no idea what i am doing but i want to help a friend.. therefore i installed java stuff and at first it worked..
than i tried to compile a new file, and after that nothing is working anymore. Whenever I use the javac 5.java command, i get errors
5.java:1: error: class, interface, or enum expected
C:\Users\fabia\Desktop\java>javac 5.java
Quote
C:\Users\fabia\Desktop\java>javac 5.java
5.java:1: error: class, interface, or enum expected
for(int i=0; i<6; i++)
^
5.java:1: error: class, interface, or enum expected
for(int i=0; i<6; i++)
^
5.java:1: error: class, interface, or enum expected
for(int i=0; i<6; i++)
^
5.java:3: error: class, interface, or enum expected
for(int j=0; j<5; j++)
^
5.java:3: error: class, interface, or enum expected
for(int j=0; j<5; j++)
^
5 errors
This errors are based on the old file, but i try to compile a NEW file... therefore its somehow in the catch.. how can i delete this errors to be rdy to compile (javac ...) a new file?