Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Swing Application with Maven

This guide will help you build and run a Java Swing application using Maven on macOS.

Prerequisites

  • Java Development Kit (JDK) 8 or higher
  • Maven 3.6 or higher
  • macOS operating system

Setup to build

  1. Install Java Development Kit (JDK) Open the Terminal app and run the following command to install the JDK:

    brew install openjdk@8
  2. Install Maven Run the following command to install Maven:

    brew install maven
  3. Create a new Project

    mvn archetype:generate -DgroupId=com.personal -DartifactId=mvc-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
  4. Navigate to the Project Directory

    cd mvc-app

Running the Application

  1. Compile the Application

    mvn clean package
  2. Run the Application

     mvn exec:java -Dexec.mainClass="com.personal.App"

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages