Home java How to create a java 14 project

How to create a java 14 project

Author

Date

Category

There is a completely empty repository on java 14, I create folders, I try to start HelloWorld – it does not work. How to create packages, modules? where should I put the libraries?


Answer 1

Well, the most convenient way to do this is through the IDE) For example, Eclipse: File – & gt; New – & gt; Java Project. After creating the project itself, create packages in the scr folder (if you do not create, then the default package will be). When created, the development environment itself will offer to create a module.

The concept is identical with the Maven project, only there are more settings)

To connect external libraries, right-click on the project folder (in the IDE), then Properties – & gt; Java Build Path – & gt; Libraries

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions