In a Java project, there have two java files has main method. The absolute paths for these two java files are:
C:\\Desktop\\project1\\src\\com\\pre\\moveposi
if the method has a main method look down the Package Explorer, select the file you want to run (that has a main) right click it, selected Run As, select Java application.