The problem is solved!
It was because < sign had come in a Dim declaration, 'Dim < as string' The compiler did not detect the error and java complained about that declaration. Java does not have the explanation where in the code the error occurs. By comparing the code files and backup files with the WinMerge tool, I was able to locate where the error was.