Impossible to build web app project with ant with binary format newer than java 8
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Apache NetBeans version
Apache NetBeans 23
### What happened
error when try to build with binary format newer than java 8
```
Exception in thread "main" java.lang.IllegalArgumentException: PWC6309: Illegal compilerSourceVM: 17
at org.apache.jasper.JspC.setCompilerSourceVM(JspC.java:684)
at org.netbeans.modules.web.project.ant.JspC.main(JspC.java:55)
```
### Language / Project Type / NetBeans Component
Java web application with Ant
### How to reproduce
create new project and try to build with binary format > 8
### Did this work correctly in an earlier version?
Apache NetBeans 17
### Operating System
debian
### JDK
17
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
No
Contributor guide
Research direction
Start with the JspC.java entry point named in the stack trace, especially JspC.main and its compilerSourceVM handling. Reproduce the Ant Java web application build with binary format 17 on JDK 17, then verify that the build completes without the Illegal compilerSourceVM error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100