Modify ↓
#22943 closed defect (fixed)
Build fails with jdk20
| Reported by: | SammysHP | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 23.05 |
| Component: | Core | Version: | |
| Keywords: | java20 | Cc: |
Description
While trying to build JOSM under Arch Linux the build fails with the following error:
compile:
[javac] Compiling 1751 source files to /home/sammyshp/build/josm-svn/src/josm-svn/build
[javac] -Xbootclasspath/p is no longer a supported option.
Revision 18725
$ java -version openjdk version "20.0.1" 2023-04-18 OpenJDK Runtime Environment (build 20.0.1+9) OpenJDK 64-Bit Server VM (build 20.0.1+9, mixed mode, sharing)
$ javac -version javac 20.0.1
PS: Would be great to have a "Build" component for such issues. :)
Attachments (0)
Change History (5)
comment:1 by , 3 years ago
| Priority: | major → normal |
|---|
comment:4 by , 3 years ago
| Keywords: | java20 added |
|---|
comment:5 by , 3 years ago
| Milestone: | → 23.05 |
|---|
Note:
See TracTickets
for help on using tickets.



I literally just added Java 20/Java 21-ea to the GitHub workflow.
Anyway, it looks like a regex for detecting Java 9+ wasn't prepped for Java 20+.