goto syntax in java
I am really a noob in java and a new member of this community. I dont know if this error is common in other program. I made a simple program in java when I try to compile it. It shows some syntax that I really dont know how to fix. Here are the errors.
D:\>javac D:\myPROJECT\comm\PacketExchange.java
D:\myPROJECT\comm\PacketExchange.java:79: illegal start of expression
goto _L2
^
D:\myPROJECT\comm\PacketExchange.java:95: illegal start of expression
goto _L4
^
D:\myPROJECT\comm\PacketExchange.java:100: illegal start of expression
goto _L4
^
D:\myPROJECT\comm\PacketExchange.java:113: illegal start of expression
goto _L6
^
4 errors
Can somebody knows how to fix this?
Thanx in advance to all help

