I advise you to use IntelliJ We are using Maven. It is a tool to build and manage Java Projects.It also allows us to manage dependencies :)
We are also using openjdk@18.
If you are on Mac, use homebrew
brew install openjdk@18
Ubuntu:
- Download from the link above
- Do this:
tar xvf openjdk-18*_bin.tar.gz
- Add to path
Windows:
- See ubuntu instructions.
If you are on Mac, use homebrew!
brew install maven
Ubuntu, use apt.
sudo apt install maven
Windows, follow this tutorial.
The only one should be Swing but here is a tutorial.
Follow this tutorial. There is an example of a Class and its test in this project:)
run an mvn clean
before pushing code so we dont have build files, old jars and other stuff in repo :)