JavaC
From APIDesign
| Line 1: | Line 1: | ||
| - | [[wikipedia::JavaC|JavaC]] is the [[Java]] source to [[bytecode]] compiler | + | [[wikipedia::JavaC|JavaC]] is the [[Java]] source to [[bytecode]] compiler. |
| - | + | ||
| + | |||
| + | |||
== Nb-[[Javac]] == | == Nb-[[Javac]] == | ||
There is a port of latest (as of today JDK 26+35) [[javac]] to run on any JDK8+ maintained by [[I|me]] at https://github.com/JaroslavTulach/nb-javac/ | There is a port of latest (as of today JDK 26+35) [[javac]] to run on any JDK8+ maintained by [[I|me]] at https://github.com/JaroslavTulach/nb-javac/ | ||
| + | |||
| + | The page about [https://cwiki.apache.org/confluence/display/NETBEANS/Overview%3A+nb-javac nb-javac component] contains details about such an '''autogenerated''' backport of [[JavaC]] from the latest [[JDK]] that can run on [[JDK]]8. | ||
| + | |||
| + | === [[Javac]] in [[NetBeans]] === | ||
| + | |||
| + | For years [[NetBeans]] editing capabilities were based on nb-[[javac]] - a manual fork of official [[OpenJDK]] [[javac]] codebase distributed under [[GPLwithClassPathException]] license. | ||
| + | In 2021, [[DirectAction|it was decided]] the [[ApacheNetBeans]] project can distribute the [https://cwiki.apache.org/confluence/display/NETBEANS/Overview%3A+nb-javac nb-javac component] as part of [[NetBeans]] binaries. The same [[javac]] can then be used on any [[JDK]]. That has significantly simplified distribution, bundling, testing of the [[NetBeans]] IDE on various [[JDK]] versions. | ||
| + | |||
| + | == [[DEW]] == | ||
| + | |||
| + | Thanks to [[TulachMoreDEW]] project, [[JavaC]] can run in a browser. But who cares!? | ||
Revision as of 05:17, 4 April 2026
JavaC is the Java source to bytecode compiler.
Nb-Javac
There is a port of latest (as of today JDK 26+35) javac to run on any JDK8+ maintained by me at https://github.com/JaroslavTulach/nb-javac/
The page about nb-javac component contains details about such an autogenerated backport of JavaC from the latest JDK that can run on JDK8.
Javac in NetBeans
For years NetBeans editing capabilities were based on nb-javac - a manual fork of official OpenJDK javac codebase distributed under GPLwithClassPathException license. In 2021, it was decided the ApacheNetBeans project can distribute the nb-javac component as part of NetBeans binaries. The same javac can then be used on any JDK. That has significantly simplified distribution, bundling, testing of the NetBeans IDE on various JDK versions.
DEW
Thanks to TulachMoreDEW project, JavaC can run in a browser. But who cares!?