Skip to content

Instantly share code, notes, and snippets.

@jd-boyd
Created June 26, 2025 06:16
Show Gist options
  • Save jd-boyd/761d4b71346dcb70446daeb1ec687bd9 to your computer and use it in GitHub Desktop.
Save jd-boyd/761d4b71346dcb70446daeb1ec687bd9 to your computer and use it in GitHub Desktop.
processing 4 package error
jdboyd@jdb-z440:~/tmp/processing4$ ./gradlew packageSnap
> Task :java:preprocessor:ant-preproc
warning(109): /home/jdboyd/tmp/processing4/java/src/processing/mode/java/preproc/JavaParser.g4:47:0: options ignored in imported grammar JavaParser
> Task :app:includeJdk FAILED
[Incubating] Problems report is available at: file:///home/jdboyd/tmp/processing4/.build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:includeJdk'.
> Couldn't follow symbolic link '/usr/lib/jvm/java-17-openjdk-amd64/lib/src.zip'.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.11/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 2s
42 actionable tasks: 15 executed, 27 up-to-date
jdboyd@jdb-z440:~/tmp/processing4$ ls -l /usr/lib/jvm/java-17-openjdk-amd64/lib/src.zip
lrwxrwxrwx 1 root root 24 Apr 17 02:24 /usr/lib/jvm/java-17-openjdk-amd64/lib/src.zip -> ../../openjdk-17/src.zip
jdboyd@jdb-z440:~/tmp/processing4$ ls -l /usr/lib/jvm/openjdk-17/src.zip
lrwxrwxrwx 1 root root 11 Apr 17 02:24 /usr/lib/jvm/openjdk-17/src.zip -> lib/src.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment