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

https://github.com/rashjredmund/java-sandbox

Java playground.
https://github.com/rashjredmund/java-sandbox

intellij java

Last synced: 3 months ago
JSON representation

Java playground.

Awesome Lists containing this project

README

        

# Java Commands to run and compile

## Do make sure you have Oracles' JDK downloaded and installed on your machine

visit https://oracle.com/java/technologies/downloads/ to grab a copy

## To compile file to .class

run

```bash
javac .java
```

## To run compiled .class file

run

```bash
java .class
```

or if that throws an error, simply run

```bash
java
```

without the extension