Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

My playground to learn and explore Java programming language
https://github.com/leocornus/leocornus-java-sandbox

java javaee maven

Last synced: 5 days ago
JSON representation

My playground to learn and explore Java programming language

Awesome Lists containing this project

README

        

# simple readme

## set git author

```bash
# set git author:
cd ~/rd/java-sandbox; git config user.name 'Sean Chen'
# set the author email
cd ~/rd/java-sandbox; git config user.email '[email protected]'
cd ~/rd/java-sandbox; git config --list

cd ~/rd/java-sandbox; git log
```

## chage user info in a git commit

```bash
cd ~/rd/java-sandbox; git commit --amend --reset-author
```

## set up maven

We need set up maven to load correct Java.

```bash
# check PATH.
echo $PATH

# set up maven executable.

# check maven version
mvn --version

# Sat 28 May 2022 16:16:45 EDT
export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home; mvn --version

# comple the javafx demo's source code.
export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home; cd ~/rd/java-sandbox/javafx/demo; mvn compile

```