The -info.java package is not the original java file.
The correct way is that when creating a new file, do not create a Java class file. Instead, create a Java package info file, also in the Java category. This will launch the Create New Java Package Information Wizard.

source share