There is no goto in Java and for a very good reason.
You should not work the way you propose, you should instead call a different method from each condition instead of jumping to a fixed position in the same method.
The same goes for C as well. Though goto is available there its use should be (and is by most people) actively discouraged except under extreme conditions where the few microsecond performance difference between a direct jump and a function call make a critical difference.
For that reason goto is a reserved word in Java but its use will generate a compiler error.