Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/devsubid/java

Basic Programs using Java
https://github.com/devsubid/java

basic-programming java learning learning-by-doing learning-exercise

Last synced: 30 days ago
JSON representation

Basic Programs using Java

Awesome Lists containing this project

README

        

## Java Basic Programs

The agenda of this repository is to help others and myself too.
I personally found it very useful for many times, generally I code a program but forget it very frequently, so this repository help by easy accessibility to my code and also easy to go through the programs.

### Installation JDK

To help you set up quickly, you can install the Coding Pack for Java, which also includes VS Code, the Java Development Kit (JDK), and essential Java extensions. The Coding Pack can be used as a clean installation, or to update or repair an existing development environment.

> [Install the Coding Pack for Java - Windows](https://www.azul.com/downloads/?os=windows&package=jdk)
[Install the Coding Pack for Java - Linux](https://www.azul.com/downloads/?os=linux&package=jdk)

### Check your Jdk installation
To check that your Jdk tools are correctly installed and available, open a new Command Prompt and type:

```bash
javac --version
```
> **Note**: If you don't see the expected output or javac is not a recognized command. Make sure you followed the instructions on the [Azul Zulu website](https://www.azul.com/downloads/?package=jdk) to install Jdk.

### Run Program

Go to the project directory
```bash
cd C:\Users\{User Name}\Documents\{Project Directory}
```

Clone the project

```bash
git clone [email protected]:itsme-Subid/Java-Programming.git
```

Compile Program

```bash
javac {Program Name}.java
```

Run Program

```bash
java {Program Name}
```