Fixed KT-5434 J2K: incorrect conversion of main method

 #KT-5434 Fixed