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
- Java 25
- Gradle 9.2.1
#package
./gradlew shadowJar
#compile
./gradlew compileJava- Basic Java syntax
- OOP examples
- Gradle configuration
- JUnit tests
Attention,The main class of this project is App.class.Normally, please do not move it out of the src folder.
The package name for this project is com.myjava.app and com.myjava.tests
package com.myjava.appor
package com.myjava.testsBecause 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 shadowJarCaution
This project is built by OpenJDK