I am very new to java and when I create a project, it makes the src and the JRE System Library. What it doesn't create is a default package. When i make a class in the src it names it after the project. it requires me to put package (name of project). I don't want to. How do i make the default
package.


New -> class
Delete the package field and name the class whatever you want. Make sure it's in the right project.
If you have a class that is already in the wrong package, simply delete the package name from the top of the file and drag the file in the file viewer to the src folder itself.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With