Skip to content
Snippets Groups Projects
Commit d72a75ac authored by Brutzman, Don's avatar Brutzman, Don
Browse files

OpenJDK 20, Ant 1.10.13, Netbeans 17

parent d86c014f
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<!-- symbolic link: cd /var/www/html; ln -s Savage/developers.html developers.html --> <!-- symbolic link: cd /var/www/html; ln -s Savage/developers.html developers.html -->
</head> </head>
<body> <body>
<a name="top"/> <a id="top"/>
<!-- =========================================================== --> <!-- =========================================================== -->
<table border="0" cellspacing="0" cellpadding="0" summary="" align="center"> <table border="0" cellspacing="0" cellpadding="0" summary="" align="center">
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
binary distribution. binary distribution.
The default installation directory referred to by various Savage and X3D build files is The default installation directory referred to by various Savage and X3D build files is
<br /> <br />
<code style="color:darkgreen"><b>C:\apache-ant-1.10.12</b></code> <code style="color:darkgreen"><b>C:\apache-ant-1.10.13</b></code>
</li> </li>
<li> <li>
Prepend the following executable paths to the Prepend the following executable paths to the
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
system environment variables system environment variables
as follows: as follows:
<br /> <br />
<code style="color:darkgreen"><b>ANT_HOME=C:\apache-ant-1.10.12</b></code> <code style="color:darkgreen"><b>ANT_HOME=C:\apache-ant-1.10.13</b></code>
<br /> <br />
If system memory is limited, additional options might be needed: If system memory is limited, additional options might be needed:
<br /> <br />
...@@ -188,11 +188,11 @@ ...@@ -188,11 +188,11 @@
to install libraries for optional ant tasks as follows to install libraries for optional ant tasks as follows
(<a href="antConfigurationFetchOutput.txt">example&nbsp;output</a>): (<a href="antConfigurationFetchOutput.txt">example&nbsp;output</a>):
<br /> <br />
<code style="color:darkgreen">C:\apache-ant-1.10.12&gt; <b>ant -f fetch.xml -Ddest=system</b></code> <code style="color:darkgreen">C:\apache-ant-1.10.13&gt; <b>ant -f fetch.xml -Ddest=system</b></code>
</li> </li>
<li>Confirm proper path and installation: <li>Confirm proper path and installation:
<pre><b>ant -version</b> <pre><b>ant -version</b>
Apache Ant(TM) version 1.10.12 compiled on July 10 2021 Apache Ant(TM) version 1.10.13 compiled on January 4 2023
</pre> </pre>
</li> </li>
<li> <li>
...@@ -248,7 +248,7 @@ Apache Ant(TM) version 1.10.12 compiled on July 10 2021 ...@@ -248,7 +248,7 @@ Apache Ant(TM) version 1.10.12 compiled on July 10 2021
</ul> </ul>
<li> <li>
NetBeans users can reset the default directory referred to by NetBeans: NetBeans users can reset the default directory referred to by NetBeans:
<i>Tools</i> menu, <i>Options</i> panel, <i>Miscellaneous</i> tab, <i>Ant</i> subtab, <i>Ant&nbsp;home</i>&nbsp;&nbsp;<code style="color:darkgreen"><b>C:\apache-ant-1.10.12</b></code> <i>Tools</i> menu, <i>Options</i> panel, <i>Miscellaneous</i> tab, <i>Ant</i> subtab, <i>Ant&nbsp;home</i>&nbsp;&nbsp;<code style="color:darkgreen"><b>C:\apache-ant-1.10.13</b></code>
</li> </li>
<li> <li>
For server-side installations (including <a href="#Jenkins">Jenkins</a>), For server-side installations (including <a href="#Jenkins">Jenkins</a>),
...@@ -908,13 +908,13 @@ Note that the -d switch is necessary for domain users. ...@@ -908,13 +908,13 @@ Note that the -d switch is necessary for domain users.
which does not need to be installed separately. which does not need to be installed separately.
</li> </li>
<li> <li>
OpenJDK <code style="color:darkgreen"><b>jdk-19.0.2</b></code> OpenJDK <code style="color:darkgreen"><b>jdk-20</b></code>
is default Java version for Savage projects, used is default Java version for Savage projects, used
under a under a
<a href="https://openjdk.java.net/legal/gplv2+ce.html" target="_blank">non-viral open-source license</a>. <a href="https://openjdk.java.net/legal/gplv2+ce.html" target="_blank">non-viral open-source license</a>.
</li> </li>
<li> <li>
<a href="https://www.oracle.com/java/technologies/javase-jdk19-doc-downloads.html" target="_blank">Javadoc Documentation Download</a> <a href="https://www.oracle.com/java/technologies/javase-jdk20-doc-downloads.html" target="_blank">Javadoc Documentation Download</a>
for local use is available on the for local use is available on the
Oracle Java SE Downloads page. Oracle Java SE Downloads page.
Extract the <code style="color:darkgreen"><b>docs</b></code> directory tree provided by the .zip Extract the <code style="color:darkgreen"><b>docs</b></code> directory tree provided by the .zip
...@@ -925,8 +925,8 @@ Note that the -d switch is necessary for domain users. ...@@ -925,8 +925,8 @@ Note that the -d switch is necessary for domain users.
<li> <li>
Alternative Java versions used in recent development: Alternative Java versions used in recent development:
Oracle Oracle
<code style="color:darkgreen"><b>jdk-18</b></code> <code style="color:darkgreen"><b>jdk-19.0.1</b></code>
and and the (much earlier but commonplace)
<code style="color:darkgreen"><b>jdk1.8.0_221</b></code>. <code style="color:darkgreen"><b>jdk1.8.0_221</b></code>.
These are tested under "Development Use" permitted by the These are tested under "Development Use" permitted by the
<a href="https://www.oracle.com/downloads/licenses/javase-license1.html" target="_blank">Oracle JDK license</a>. <a href="https://www.oracle.com/downloads/licenses/javase-license1.html" target="_blank">Oracle JDK license</a>.
...@@ -943,7 +943,7 @@ Note that the -d switch is necessary for domain users. ...@@ -943,7 +943,7 @@ Note that the -d switch is necessary for domain users.
or or
--> -->
<br /> <br />
&nbsp;&nbsp;&nbsp;&nbsp; <code style="color:darkgreen"><b>JAVA_HOME=C:\Program Files\Java\openjdk\jdk-19.0.2</b></code> &nbsp;&nbsp;&nbsp; # OpenJDK, or &nbsp;&nbsp;&nbsp;&nbsp; <code style="color:darkgreen"><b>JAVA_HOME=C:\Program Files\Java\openjdk\jdk-20</b></code> &nbsp;&nbsp;&nbsp; # OpenJDK, or
<br /> <br />
<!--&nbsp;&nbsp;&nbsp;&nbsp; <code style="color:darkgreen"><b>JAVA_HOME=C:\Program Files\Java\jdk-14</b></code> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Oracle JDK <!--&nbsp;&nbsp;&nbsp;&nbsp; <code style="color:darkgreen"><b>JAVA_HOME=C:\Program Files\Java\jdk-14</b></code> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Oracle JDK
<br />--> <br />-->
...@@ -961,19 +961,20 @@ Note that the -d switch is necessary for domain users. ...@@ -961,19 +961,20 @@ Note that the -d switch is necessary for domain users.
also check order of entries in the also check order of entries in the
<a href="images/Windows10EnvironmentVariablesPathJAVA_HOME.png">system <code>PATH</code> environment variable</a>. <a href="images/Windows10EnvironmentVariablesPathJAVA_HOME.png">system <code>PATH</code> environment variable</a>.
</li> </li>
<li> <li>We prefer to use latest OpenJDK, at a minimum
JDK 17 Long-Term Support (LTS) is the level use to compile advanced applications. JDK 18+ for inclusion of native Java Web Server support.
JDK 17 Long-Term Support (LTS) is a stable level for compiling advanced applications.
</li> </li>
<li> <li>
Test what version of Java is actually installed and configured for your operating system via console command line. Examples: Test what version of Java is actually installed and configured for your operating system via console command line. Examples:
<ul> <ul>
<li> <li>
<pre> <pre>
$<b> java -version</b> &nbsp;&nbsp; # OpenJDK&nbsp;19.0.2 $<b> java -version</b> &nbsp;&nbsp; # OpenJDK&nbsp;20
openjdk version "19.0.2" 2023-01-17 openjdk version "20" 2023-03-21
OpenJDK Runtime Environment (build 19.0.2+7-44) OpenJDK Runtime Environment (build 20+36-2344)
OpenJDK 64-Bit Server VM (build 19.0.2+7-44, mixed mode, sharing) OpenJDK 64-Bit Server VM (build 20+36-2344, mixed mode, sharing)
</pre> </pre>
</li> </li>
<li> <li>
...@@ -997,6 +998,7 @@ Java HotSpot(TM) 64-Bit Server VM (build 19.0.1+10-21, mixed mode, sharing) ...@@ -997,6 +998,7 @@ Java HotSpot(TM) 64-Bit Server VM (build 19.0.1+10-21, mixed mode, sharing)
</li> </li>
<li> <li>
Java language feature summaries: Java language feature summaries:
<a href="https://openjdk.java.net/projects/jdk/20" target="_blank">JDK&nbsp;20</a>,
<a href="https://openjdk.java.net/projects/jdk/19" target="_blank">JDK&nbsp;19</a>, <a href="https://openjdk.java.net/projects/jdk/19" target="_blank">JDK&nbsp;19</a>,
<a href="https://openjdk.java.net/projects/jdk/18" target="_blank">JDK&nbsp;18</a>, <a href="https://openjdk.java.net/projects/jdk/18" target="_blank">JDK&nbsp;18</a>,
<a href="https://openjdk.java.net/projects/jdk/17" target="_blank">JDK&nbsp;17</a>, <a href="https://openjdk.java.net/projects/jdk/17" target="_blank">JDK&nbsp;17</a>,
...@@ -1568,13 +1570,13 @@ need to be connected to the NPS intranet. ...@@ -1568,13 +1570,13 @@ need to be connected to the NPS intranet.
<li> <li>
Includes Includes
<a href="https://blogs.apache.org/netbeans" target="_blank">Blog</a>, <a href="https://blogs.apache.org/netbeans" target="_blank">Blog</a>,
<a href="https://github.com/apache/netbeans/releases/tag/15" target="_NetBeans">NetBeans&nbsp;15&nbsp;features</a>, <a href="https://github.com/apache/netbeans/releases/tag/17" target="_NetBeans">NetBeans&nbsp;17&nbsp;features</a>,
<a href="https://netbeans.apache.org/kb/docs/java" target="_NetBeans">tutorials</a>, <a href="https://netbeans.apache.org/kb/docs/java" target="_NetBeans">tutorials</a>,
<a href="https://netbeans.apache.org/community" target="_NetBeans">Community</a>, <a href="https://netbeans.apache.org/community" target="_NetBeans">Community</a>,
<a href="https://netbeans.apache.org/participate" target="_NetBeans">Participate</a>, <a href="https://netbeans.apache.org/participate" target="_NetBeans">Participate</a>,
<a href="https://netbeans.apache.org/help" target="_NetBeans">Get Help</a>, <a href="https://netbeans.apache.org/help" target="_NetBeans">Get Help</a>,
<a href="https://plugins.netbeans.apache.org" target="_NetBeans">Plugins</a>, <a href="https://plugins.netbeans.apache.org" target="_NetBeans">Plugins</a>,
<a href="https://bits.netbeans.org/15/javadoc" target="_NetBeans">Documentation</a> and <a href="https://bits.netbeans.org/17/javadoc" target="_NetBeans">Documentation</a> and
<a href="https://netbeans.apache.org/wiki/index.asciidoc" target="_NetBeans">Developers wiki</a>. <a href="https://netbeans.apache.org/wiki/index.asciidoc" target="_NetBeans">Developers wiki</a>.
</li> </li>
<!-- li> <!-- li>
...@@ -1635,7 +1637,7 @@ need to be connected to the NPS intranet. ...@@ -1635,7 +1637,7 @@ need to be connected to the NPS intranet.
<code><b>NETBEANS_HOME/etc/netbeans.conf</b></code> <code><b>NETBEANS_HOME/etc/netbeans.conf</b></code>
locations in the NetBeans installation directory tree: locations in the NetBeans installation directory tree:
<br /> <br />
<code style="color:darkgreen"><b>C:\Program&nbsp;Files\Netbeans-16\netbeans\etc\netbeans.conf</b></code> (default user settings) <code style="color:darkgreen"><b>C:\Program&nbsp;Files\Netbeans-17\netbeans\etc\netbeans.conf</b></code> (default user settings)
<!-- <!--
<br /> <br />
or, for older versions of NetBeans, or, for older versions of NetBeans,
...@@ -1653,7 +1655,7 @@ need to be connected to the NPS intranet. ...@@ -1653,7 +1655,7 @@ need to be connected to the NPS intranet.
by changing menu <i>Tools&nbsp;&gt;&nbsp;Java&nbsp;Platforms</i> by changing menu <i>Tools&nbsp;&gt;&nbsp;Java&nbsp;Platforms</i>
and also and also
<code style="color:darkgreen"><b>netbeans.conf</b></code> property <code style="color:darkgreen"><b>netbeans.conf</b></code> property
<code>netbeans_jdkhome="C:\Program Files\Java\openjdk\jdk-19.0.2"</code> <code>netbeans_jdkhome="C:\Program Files\Java\openjdk\jdk-20"</code>
(for example). (for example).
</li> </li>
<li> <li>
...@@ -1664,7 +1666,7 @@ need to be connected to the NPS intranet. ...@@ -1664,7 +1666,7 @@ need to be connected to the NPS intranet.
&nbsp;&nbsp;&nbsp;&nbsp;<code style="color:darkgreen"><b>-J-Djavax.xml.bind.context.factory=com.sun.xml.bind.v2.ContextFactory</b></code> &nbsp;&nbsp;&nbsp;&nbsp;<code style="color:darkgreen"><b>-J-Djavax.xml.bind.context.factory=com.sun.xml.bind.v2.ContextFactory</b></code>
</li> </li>
<li> <li>
<i>Tomcat support under Netbeans 15 and OpenJDK&nbsp;19.</i> <i>Tomcat support under Netbeans 17 and OpenJDK&nbsp;20.</i>
Append the following property to Append the following property to
<code>netbeans_default_options</code> environment variable: <code>netbeans_default_options</code> environment variable:
<br /> <br />
...@@ -2405,7 +2407,13 @@ netbeans_jdkhome="C:\Program Files\Java\jdk1.8.0_221"</pre> ...@@ -2405,7 +2407,13 @@ netbeans_jdkhome="C:\Program Files\Java\jdk1.8.0_221"</pre>
<em>Cygwin:</em> <em>Cygwin:</em>
install the <a href="#inetutils">inetutils</a> package for install the <a href="#inetutils">inetutils</a> package for
<code>ssh</code> and <code>telnet</code>. <code>ssh</code> and <code>telnet</code>.
(Of note is that <code>netcat</code> is also included in Cygwin, but is quickly scrubbed by NPS antivirus routines for Windows.) Also of interest:
<a href="https://en.wikipedia.org/wiki/ipconfig" target="_blank">ipconfig</a>,
<a href="https://en.wikipedia.org/wiki/netcat" target="_blank">nc (netcat)</a>,
<a href="https://en.wikipedia.org/wiki/netstat" target="_blank">netstat</a>,
<a href="https://en.wikipedia.org/wiki/tracert" target="_blank">tracert (traceroute)</a>,
<a href="https://en.wikipedia.org/wiki/whois" target="_blank">whois</a>.
(Of note is that <code>netcat</code> is also included in Cygwin, but might be quickly scrubbed by NPS antivirus routines for Windows.)
</li> </li>
<li> <li>
<em>macOS:</em> <em>macOS:</em>
...@@ -3138,7 +3146,7 @@ which can lead to the Internet of Things becoming the Web of Things. </i> ...@@ -3138,7 +3146,7 @@ which can lead to the Internet of Things becoming the Web of Things. </i>
<a href="https://savage.nps.edu/developers.html">https://savage.nps.edu/developers.html</a> <a href="https://savage.nps.edu/developers.html">https://savage.nps.edu/developers.html</a>
</blockquote> </blockquote>
<blockquote> <blockquote>
Revised 27 January 2022 Revised 13 April 2023
</blockquote> </blockquote>
<p> <p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment