Commit e6e9a37
committed
fix: use custom java path
We can add environments before the java path and parameters to java
binary like the follow code:
```bash
JSIGNPDF_HOME=/jsignpdf /java/bin/java -Duser.home=/jsignpdf/
```
When check if javaPath is a file, won't work at this scenario and we
need to believe that the path is OK.
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent bfeaf22 commit e6e9a37
2 files changed
Lines changed: 6 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 26 | + | |
30 | 27 | | |
31 | 28 | | |
32 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
51 | 52 | | |
52 | | - | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments