Skip to content

edwardp20/myjava-app

Repository files navigation

myjava-app

License: GPL v3 Java Gradle

简体中文

Overview

This is a small project I created while learning Java programming.

Note: This is primarily a personal learning repository. The code here might be simplistic or experimental. Feel free to borrow any parts useful for your own learning.

Tip

If you want to build an older version of the project(<=1.14.1), please use Maven

Warning

This project uses GPLv3 license to distribute source code, please keep the software always free

Note

The latest Release:

1.14.1

Requirements

  • Java 25
  • Gradle 9.2.1

Usage

#package
./gradlew shadowJar
#compile
./gradlew compileJava

Features

  • Basic Java syntax
  • OOP examples
  • Gradle configuration
  • JUnit tests

Main Class & Package name

Main Class

Attention,The main class of this project is App.class.Normally, please do not move it out of the src folder.

Package name

The package name for this project is com.myjava.app and com.myjava.tests

package com.myjava.app

or

package com.myjava.tests

About archive fold

Because the JAVA files in this project are separate, in order to save performance, those JAVA files that are temporarily not needed are placed in the archive folder But if you want to compile and run, the JAVA files in the archive folder can execute the following commands

cd archive && mv The-Java-file-you-need.java ../app/src/main/java/com/myjava/app/ && cd .. && ./gradlew compileJava && ./gradlew shadowJar

Caution

This project is built by OpenJDK

About

The code I wrote while learning Java

Resources

License

Stars

Watchers

Forks

Packages

No packages published