This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Changing souce level has no effect | ||
---|---|---|---|
Product: | java | Reporter: | rbuss <rbuss> |
Component: | Freeform | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | tzezula |
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
rbuss
2005-12-01 07:56:58 UTC
Currently, the Source Level setting affects only the IDE itself (editor, etc.). The build script is run using the JDK that was used to run the IDE (in fact, the ant runs in the same virtual machine). Issues #64160 and #41689 handle this. Currently, the workaround is to modify the build script to fork the javac into a specific JDK (and/or set source and target to the javac task). Sorry. *** This issue has been marked as a duplicate of 64160 *** |