Commit 9db42a6
committed
Fix:
- Move the permission loop in includeJdk into a doLast block so it runs
after the copy, and re-apply the exec bit from the source JDK for files
that should be executable.
- Extend setExecutablePermissions to also cover the IDE runtime/ path
(not just resources/), since the runtime's jspawnhelper had the same issue.
- Add JAVA_HOME / JDK_HOME env var support in Platform.getJavaHome(),
inside the existing "If the JDK is set in the environment" fallback block,
so users can point Processing at a different JDK when the bundle is absent.
1 parent 11ef4a6 commit 9db42a6
2 files changed
Lines changed: 29 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
441 | | - | |
442 | | - | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
443 | 454 | | |
444 | 455 | | |
445 | 456 | | |
| |||
633 | 644 | | |
634 | 645 | | |
635 | 646 | | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
636 | 651 | | |
637 | 652 | | |
638 | 653 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
| 374 | + | |
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
384 | 394 | | |
385 | 395 | | |
386 | 396 | | |
| |||
0 commit comments