After installing Tomcat and JDK on MacBook, I was thriiled and can't wait to try the first Java program. However, it took me 6 hours...
The program was originally developed based on Eclipse, and I am used to IDEA. Anyway...
First, open IDEA and import the project from Eclipse.
Second, set the project structure.
Third, run it.
For connections to database, configure JAR package or web path accordingly. Do NOT copy what I put there. Screenshots are just for me to record what I did ;)
If you have more questions, send me an Email at firstname.lastname@example.org =)