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

https://github.com/cdimascio/java-dotenv-example


https://github.com/cdimascio/java-dotenv-example

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# java-dotenv-example

Simple `dotenv-java` example using maven.

## Clone

```shell
git clone
```

## Compile

```shell
mvn compile
```

## Run

```shell
mvn exec:java -Dexec.mainClass="io.github.cdimascio.examples.dotenv.Main"
```

The program outputs the value of the env var `MY_ENV`. In this case, `MY_VALUE`

## License

MIT