diff --git a/developers.html b/developers.html index b89e9258017553b70130e31705c7438457c3cf8d..23f740c801ece6b71df3fdd1c4277069d3124066 100644 --- a/developers.html +++ b/developers.html @@ -1,5 +1,4 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - <html> <head> <link rel="shortcut icon" href="images/SavageLogo.png" title="Savage Developers Guide" /> <!-- X3DtextIcon16 --> @@ -887,7 +886,7 @@ Note that the -d switch is necessary for domain users. JEP 396: Strongly Encapsulate JDK Internals by Default (JDK-8256299) <br /> Strongly encapsulate all internal elements of the JDK by default, except for critical internal APIs such as sun.misc.Unsafe. Allow end users to choose the relaxed strong encapsulation that has been the default since JDK 9. - With this change, the default value of the launcher option --illegal-access is now deny rather than permit. As a consequence, existing code that uses most internal classes, methods, or fields of the JDK will fail to run. Such code can be made to run on JDK 16 by specifying --illegal-access=permit. That option will, however, be removed in a future release. + With this change, the default value of the launcher option - -illegal-access is now deny rather than permit. As a consequence, existing code that uses most internal classes, methods, or fields of the JDK will fail to run. Such code can be made to run on JDK 16 by specifying - -illegal-access=permit. That option will, however, be removed in a future release. For further details, please see JEP 396. </blockquote> </p> @@ -909,11 +908,20 @@ 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-18.0.2.1</b></code> + OpenJDK <code style="color:darkgreen"><b>jdk-19.0.1</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> + 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 + into the directory containing the corresponding version of Java. + (Note that OpenJDK Javadoc + uses the same javadoc as Oracle Javadoc.) + </li> <li> Alternative Java versions used in recent development: Oracle @@ -935,11 +943,11 @@ 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-18.0.2.1</b></code> # OpenJDK, or + <code style="color:darkgreen"><b>JAVA_HOME=C:\Program Files\Java\openjdk\jdk-19.0.1</b></code> # OpenJDK, or <br /> <!-- <code style="color:darkgreen"><b>JAVA_HOME=C:\Program Files\Java\jdk-14</b></code> # Oracle JDK <br />--> - <code style="color:darkgreen"><b>JAVA_HOME=C:\Program Files\Java\jdk-18.0.2.1</b></code> # Oracle JDK + <code style="color:darkgreen"><b>JAVA_HOME=C:\Program Files\Java\jdk-19.0.1</b></code> # Oracle JDK </li> <li> Usually inserted at the beginning of existing PATH environment variable: @@ -958,16 +966,17 @@ Note that the -d switch is necessary for domain users. <ul> <li> <pre> -$<b> java -version</b> # OpenJDK 18.0.2.1 +$<b> java -version</b> # OpenJDK 19.0.1 + +openjdk version "19.0.1" 2022-10-18 +OpenJDK Runtime Environment (build 19.0.1+10-21) +OpenJDK 64-Bit Server VM (build 19.0.1+10-21, mixed mode, sharing) -openjdk 18.0.2.1 2022-08-18 -OpenJDK Runtime Environment (build 18.0.2.1+1-1) -OpenJDK 64-Bit Server VM (build 18.0.2.1+1-1, mixed mode, sharing) </pre> </li> <li> <pre> -$<b> java -version</b> # Oracle JDK 17 +$<b> java -version</b> # Oracle JDK 17 Long-Term Support (LTS) openjdk version "17.0.2" 2022-01-18 OpenJDK Runtime Environment (build 17.0.2+8-86) @@ -977,24 +986,16 @@ OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing) </ul> </li> <li> - <a href="https://docs.oracle.com/en/java/javase/18" target="_blank">JDK 18 Documentation</a> - is useful. + Online + <a href="https://docs.oracle.com/en/java/javase" target="_blank">Java Platform, Standard Edition Documentation</a> + is useful alternative to installed Java documentation. <!-- <a href="https://docs.oracle.com/javase/8/docs/api" target="_blank">Java 8 Javadoc</a> is also online.--> </li> - <li> - <a href="https://www.oracle.com/java/technologies/javase-jdk18-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 - into the directory containing the corresponding version of Java. - (Note that OpenJDK Javadoc - <!-- <a href="https://www.oracle.com/java/technologies/javase-jdk14-doc-downloads.html" target="_blank">OpenJDK Java 15 Javadoc</a> --> - uses the same javadoc as Oracle Javadoc.) - </li> <li> Java language feature summaries: + <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>, <a href="https://openjdk.java.net/projects/jdk/16" target="_blank">JDK 16</a>, @@ -1010,7 +1011,7 @@ OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing) Be sure to similarly configure <a href="#Ant">Ant</a> and <a href="#NetBeans">NetBeans</a> - as appropriate. + as appropriate for your current version of Java. </li> </ul> @@ -1060,7 +1061,7 @@ OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing) <ul> <li> Extract the contents (including README.txt) for inclusion in the JDK development build, for example <br /> - <code style="color:darkgreen"><b>C:\Program Files\Java\jdk-18.0.2.1\jre\lib\security</b></code></li> + <code style="color:darkgreen"><b>C:\Program Files\Java\jdk-19.0.1\jre\lib\security</b></code></li> <li> <a href="https://download.oracle.com/javase/8/docs/technotes/guides/security">Java(TM) Cryptography Architecture (JCA) Reference Guide</a> </li> @@ -1128,6 +1129,7 @@ OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing) </h2> <p><i>(Note: this work is historical and not currently active.)</i> + </p> <p> The Savage Jenkins Build Servers @@ -1564,13 +1566,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/14" target="_NetBeans">NetBeans 14 features</a>, + <a href="https://github.com/apache/netbeans/releases/tag/15" target="_NetBeans">NetBeans 15 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/14/javadoc" target="_NetBeans">Documentation</a> and + <a href="https://bits.netbeans.org/15/javadoc" target="_NetBeans">Documentation</a> and <a href="https://netbeans.apache.org/wiki/index.asciidoc" target="_NetBeans">Developers wiki</a>. </li> <!-- li> @@ -1608,7 +1610,7 @@ need to be connected to the NPS intranet. </li> <li> For good measure add the online Java Javadoc url - <code><a href="https://docs.oracle.com/en/java/javase/14/docs/api/index.html" target="_blank">https://docs.oracle.com/en/java/javase/14/docs/api/index.html</a></code> + <code><a href="https://docs.oracle.com/en/java/javase/19/docs/api/index.html" target="_blank">https://docs.oracle.com/en/java/javase/19/docs/api/index.html</a></code> there as well. </li> <li> @@ -1631,7 +1633,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-14\netbeans\etc\netbeans.conf</b></code> (default user settings) + <code style="color:darkgreen"><b>C:\Program Files\Netbeans-15\netbeans\etc\netbeans.conf</b></code> (default user settings) <!-- <br /> or, for older versions of NetBeans, @@ -1649,7 +1651,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-18.0.2.1"</code> + <code>netbeans_jdkhome="C:\Program Files\Java\openjdk\jdk-19.0.1"</code> (for example). </li> <li> @@ -1660,7 +1662,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 14 and OpenJDK 18.</i> + <i>Tomcat support under Netbeans 15 and OpenJDK 19.</i> Append the following property to <code>netbeans_default_options</code> environment variable: <br /> @@ -2881,7 +2883,7 @@ netbeans_jdkhome="C:\Program Files\Java\jdk1.8.0_221"</pre> a drag+drop scenario-authoring tool that uses the Savage model archives to generate Viskit discrete-event simulation (DES) scenarios that are visualized using Xj3D. </li> </ul> - </p> + </p> <!-- ============================== --> <p> @@ -3134,7 +3136,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 30 August 2022. + Revised 5 November 2022 </blockquote> <p>