DOC: Added readme for RandomPassword
Provided instructions to create native executable
This commit is contained in:
@@ -7,7 +7,7 @@ import java.util.ArrayList;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
class PasswordGenerator {
|
class PasswordGenerator {
|
||||||
private static final int DEFAULT_PASSWORD_LENGTH = 3;
|
private static final int DEFAULT_PASSWORD_LENGTH = 4;
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# Generate native image
|
||||||
|
|
||||||
|
```bash
|
||||||
|
native-image -Djava.io.tmpdir=~/tmp --parallelism=4 PasswordGenerator
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user