Welcome to the Ranch.
Some notes about your code:
Class names should start with a capital letter and be in CamelCase. So,
you should call your class RobotNav, for example.
Line 3: Why do you have nested classes; why is there a class builtpath inside class robotNav?
Line 6: Why are you using Integer instead of int here?
Lines 24-26: There are multiple problems with this. First of all, the syntax for the
for-loop is invalid. Second, statements like a for-loop must be inside a method; this code is not inside a method.
The only thing that's in your code right now are some variable declarations, there's no logic implemented at all yet. Before you write your program in Java, make sure you have a precise idea of what it needs to do. You first have to have in your head exactly what and how the code is going to work before you start to think about how to write that down in Java.