Welcome to my Java Basics training projects repository! This collection showcases the intro-projects that I completed as part of a comprehensive Java Basics course at SoftUni, covering all essential aspects of learning the Java syntax programming language.
Every part of the course contains 'Lab' (theoretical) and 'Exercise' (practical) aspects, each with multiple training exercise assignments
- IntelliJ IDEA Comminuty
- JDK 18
Make sure you have the following installed on your machine:
- Java Development Kit (JDK) [18]
- Any additional dependencies specified in the project's README or source code comments
While these projects are primarily designed for educational purposes and and are not intented to be used for end-use/production, you can still compile and run them if you wish to explore the code further. Follow the steps below to compile the Java code and run the projects:
- Clone the Repository:
git clone https://github.com/Grrr1337/SoftUni-Java-Basics.git
- Navigate to Project Directory:
cd SoftUni-Java-Basics/[project_folder]
- Compile the code:
# This command compiles the Java source code files and places the compiled bytecode in the bin directory. javac -d bin src/*.java
- Create a JAR File:
# Replace [project_filename] with the desired name for your JAR file and [MainClass] with the main class of your project. jar cfe [project_filename].jar [MainClass] -C bin .
- Run the JAR File:
# Example command to run the project java -jar [project_filename].jar