diff --git a/developers.html b/developers.html index 0edb305ed685d8ab9688d7d6f7ceda21576f83cf..63fd3a0f5472cf60c4a0f85e9c58f83200a967d0 100644 --- a/developers.html +++ b/developers.html @@ -12,7 +12,7 @@ <!-- symbolic link: cd /var/www/html; ln -s Savage/developers.html developers.html --> </head> <body> - <a name="top"/> + <a id="top"/> <!-- =========================================================== --> <table border="0" cellspacing="0" cellpadding="0" summary="" align="center"> @@ -150,7 +150,7 @@ binary distribution. The default installation directory referred to by various Savage and X3D build files is <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> Prepend the following executable paths to the @@ -163,7 +163,7 @@ system environment variables as follows: <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 /> If system memory is limited, additional options might be needed: <br /> @@ -188,11 +188,11 @@ to install libraries for optional ant tasks as follows (<a href="antConfigurationFetchOutput.txt">example output</a>): <br /> - <code style="color:darkgreen">C:\apache-ant-1.10.12> <b>ant -f fetch.xml -Ddest=system</b></code> + <code style="color:darkgreen">C:\apache-ant-1.10.13> <b>ant -f fetch.xml -Ddest=system</b></code> </li> <li>Confirm proper path and installation: <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> </li> <li> @@ -248,7 +248,7 @@ Apache Ant(TM) version 1.10.12 compiled on July 10 2021 </ul> <li> 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 home</i> <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 home</i> <code style="color:darkgreen"><b>C:\apache-ant-1.10.13</b></code> </li> <li> For server-side installations (including <a href="#Jenkins">Jenkins</a>), @@ -908,13 +908,13 @@ Note that the -d switch is necessary for domain users. which does not need to be installed separately. </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 under a <a href="https://openjdk.java.net/legal/gplv2+ce.html" target="_blank">non-viral open-source license</a>. </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 Oracle Java SE Downloads page. 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. <li> Alternative Java versions used in recent development: Oracle - <code style="color:darkgreen"><b>jdk-18</b></code> - and + <code style="color:darkgreen"><b>jdk-19.0.1</b></code> + and the (much earlier but commonplace) <code style="color:darkgreen"><b>jdk1.8.0_221</b></code>. 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>. @@ -943,7 +943,7 @@ Note that the -d switch is necessary for domain users. or --> <br /> - <code style="color:darkgreen"><b>JAVA_HOME=C:\Program Files\Java\openjdk\jdk-19.0.2</b></code> # OpenJDK, or + <code style="color:darkgreen"><b>JAVA_HOME=C:\Program Files\Java\openjdk\jdk-20</b></code> # OpenJDK, or <br /> <!-- <code style="color:darkgreen"><b>JAVA_HOME=C:\Program Files\Java\jdk-14</b></code> # Oracle JDK <br />--> @@ -961,19 +961,20 @@ Note that the -d switch is necessary for domain users. also check order of entries in the <a href="images/Windows10EnvironmentVariablesPathJAVA_HOME.png">system <code>PATH</code> environment variable</a>. </li> - <li> - JDK 17 Long-Term Support (LTS) is the level use to compile advanced applications. + <li>We prefer to use latest OpenJDK, at a minimum + 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> Test what version of Java is actually installed and configured for your operating system via console command line. Examples: <ul> <li> <pre> -$<b> java -version</b> # OpenJDK 19.0.2 +$<b> java -version</b> # OpenJDK 20 -openjdk version "19.0.2" 2023-01-17 -OpenJDK Runtime Environment (build 19.0.2+7-44) -OpenJDK 64-Bit Server VM (build 19.0.2+7-44, mixed mode, sharing) +openjdk version "20" 2023-03-21 +OpenJDK Runtime Environment (build 20+36-2344) +OpenJDK 64-Bit Server VM (build 20+36-2344, mixed mode, sharing) </pre> </li> <li> @@ -997,6 +998,7 @@ Java HotSpot(TM) 64-Bit Server VM (build 19.0.1+10-21, mixed mode, sharing) </li> <li> Java language feature summaries: + <a href="https://openjdk.java.net/projects/jdk/20" target="_blank">JDK 20</a>, <a href="https://openjdk.java.net/projects/jdk/19" target="_blank">JDK 19</a>, <a href="https://openjdk.java.net/projects/jdk/18" target="_blank">JDK 18</a>, <a href="https://openjdk.java.net/projects/jdk/17" target="_blank">JDK 17</a>, @@ -1568,13 +1570,13 @@ need to be connected to the NPS intranet. <li> Includes <a href="https://blogs.apache.org/netbeans" target="_blank">Blog</a>, - <a href="https://github.com/apache/netbeans/releases/tag/15" target="_NetBeans">NetBeans 15 features</a>, + <a href="https://github.com/apache/netbeans/releases/tag/17" target="_NetBeans">NetBeans 17 features</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/participate" target="_NetBeans">Participate</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://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>. </li> <!-- li> @@ -1635,7 +1637,7 @@ need to be connected to the NPS intranet. <code><b>NETBEANS_HOME/etc/netbeans.conf</b></code> locations in the NetBeans installation directory tree: <br /> - <code style="color:darkgreen"><b>C:\Program Files\Netbeans-16\netbeans\etc\netbeans.conf</b></code> (default user settings) + <code style="color:darkgreen"><b>C:\Program Files\Netbeans-17\netbeans\etc\netbeans.conf</b></code> (default user settings) <!-- <br /> or, for older versions of NetBeans, @@ -1653,7 +1655,7 @@ need to be connected to the NPS intranet. by changing menu <i>Tools > Java Platforms</i> and also <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). </li> <li> @@ -1664,7 +1666,7 @@ need to be connected to the NPS intranet. <code style="color:darkgreen"><b>-J-Djavax.xml.bind.context.factory=com.sun.xml.bind.v2.ContextFactory</b></code> </li> <li> - <i>Tomcat support under Netbeans 15 and OpenJDK 19.</i> + <i>Tomcat support under Netbeans 17 and OpenJDK 20.</i> Append the following property to <code>netbeans_default_options</code> environment variable: <br /> @@ -2405,7 +2407,13 @@ netbeans_jdkhome="C:\Program Files\Java\jdk1.8.0_221"</pre> <em>Cygwin:</em> install the <a href="#inetutils">inetutils</a> package for <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> <em>macOS:</em> @@ -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> </blockquote> <blockquote> - Revised 27 January 2022 + Revised 13 April 2023 </blockquote> <p>