JavaC
From APIDesign
(→Nb-Javac) |
|||
| (One intermediate revision not shown.) | |||
| 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/ - originally developed because of [[NetBeans]] needs, but useful on its own as a separate component. | + | There is a port of the latest (as of today JDK 26+35) [[javac]] to '''run on any JDK8'''+ maintained by [[I|me]] at https://github.com/JaroslavTulach/nb-javac/ - originally developed because of [[NetBeans]] needs, but useful on its own as a separate component. |
=== [[Javac]] in [[NetBeans]] === | === [[Javac]] in [[NetBeans]] === | ||
| Line 13: | Line 10: | ||
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. | 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. | ||
| - | The page about [https://cwiki.apache.org/confluence/display/NETBEANS/Overview%3A+nb-javac nb-javac component] contains details and historic notes about such an '''autogenerated''' backport of [[JavaC]] from the latest [[JDK]] that can run on [[JDK]]8. | + | The page about [https://cwiki.apache.org/confluence/display/NETBEANS/Overview%3A+nb-javac nb-javac component] contains details and historic notes about such an '''autogenerated''' backport of [[JavaC]] from the latest [[JDK]] that can run on [[JDK]]8. |
== [[DEW]] == | == [[DEW]] == | ||
Thanks to [[TulachMoreDEW]] project, [[JavaC]] can run in a browser. But who cares!? | Thanks to [[TulachMoreDEW]] project, [[JavaC]] can run in a browser. But who cares!? | ||
Current revision
JavaC is the Java source to bytecode compiler.
Nb-Javac
There is a port of the latest (as of today JDK 26+35) javac to run on any JDK8+ maintained by me at https://github.com/JaroslavTulach/nb-javac/ - originally developed because of NetBeans needs, but useful on its own as a separate component.
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.
The page about nb-javac component contains details and historic notes about such an autogenerated backport of JavaC from the latest JDK that can run on JDK8.
DEW
Thanks to TulachMoreDEW project, JavaC can run in a browser. But who cares!?