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

tested under OpenJDK 17.0.1 and Oracle JDK 17.0.1

parent 2e1ed4d4
No related branches found
No related tags found
No related merge requests found
...@@ -844,7 +844,6 @@ Note that the -d switch is necessary for domain users. ...@@ -844,7 +844,6 @@ Note that the -d switch is necessary for domain users.
</p> </p>
<!-- <!--
-->
<hr /> <hr />
<p> <p>
<span style="color:darkorange"><b>Developers warning:</b></span> <span style="color:darkorange"><b>Developers warning:</b></span>
...@@ -866,6 +865,7 @@ Note that the -d switch is necessary for domain users. ...@@ -866,6 +865,7 @@ Note that the -d switch is necessary for domain users.
</blockquote> </blockquote>
</p> </p>
<hr /> <hr />
-->
<p> <p>
To configure Java on your development system: To configure Java on your development system:
...@@ -882,14 +882,14 @@ Note that the -d switch is necessary for domain users. ...@@ -882,14 +882,14 @@ 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-16</b></code> OpenJDK <code style="color:darkgreen"><b>jdk-17.0.1</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>
Oracle &nbsp;&nbsp; &nbsp; Oracle &nbsp;&nbsp; &nbsp;
<code style="color:darkgreen"><b>jdk-16</b></code> <code style="color:darkgreen"><b>jdk-17.0.1</b></code>
and and
<code style="color:darkgreen"><b>jdk1.8.0_221</b></code> <code style="color:darkgreen"><b>jdk1.8.0_221</b></code>
are alternative Java versions used in current development. are alternative Java versions used in current development.
...@@ -908,13 +908,14 @@ Note that the -d switch is necessary for domain users. ...@@ -908,13 +908,14 @@ 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-16</b></code> &nbsp;&nbsp;&nbsp; # OpenJDK, or &nbsp;&nbsp;&nbsp;&nbsp; <code style="color:darkgreen"><b>JAVA_HOME=C:\Program Files\Java\openjdk\jdk-17.0.1</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 />-->
&nbsp;&nbsp;&nbsp;&nbsp; <code style="color:darkgreen"><b>JAVA_HOME=C:\Program Files\Java\jdk1.8.0_221</b></code> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # Oracle JDK &nbsp;&nbsp;&nbsp;&nbsp; <code style="color:darkgreen"><b>JAVA_HOME=C:\Program Files\Java\jdk-17.0.1</b></code> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; # Oracle JDK
<br /> </li>
and (usually inserted at the beginning of an existing PATH, if it already exists) <li>
Usually inserted at the beginning of existing PATH environment variable:
<br /> <br />
&nbsp;&nbsp;&nbsp;&nbsp; <code style="color:darkgreen"><b>PATH=.;%JAVA_HOME%\bin;%ANT_HOME%\bin;</b></code> &nbsp;&nbsp;&nbsp;&nbsp; <code style="color:darkgreen"><b>PATH=.;%JAVA_HOME%\bin;%ANT_HOME%\bin;</b></code>
</li> </li>
...@@ -929,21 +930,22 @@ Note that the -d switch is necessary for domain users. ...@@ -929,21 +930,22 @@ Note that the -d switch is necessary for domain users.
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;16 $<b> java -version</b> &nbsp;&nbsp; # OpenJDK&nbsp;17
openjdk version "17.0.1" 2021-10-19
OpenJDK Runtime Environment (build 17.0.1+12-39)
OpenJDK 64-Bit Server VM (build 17.0.1+12-39, mixed mode, sharing)
openjdk version "16" 2021-03-16
OpenJDK Runtime Environment (build 16+36-2231)
OpenJDK 64-Bit Server VM (build 16+36-2231, mixed mode, sharing)
</pre> </pre>
</li> </li>
<li> <li>
<pre> <pre>
$<b> java -version</b> &nbsp;&nbsp; # Oracle JDK 8 $<b> java -version</b> &nbsp;&nbsp; # Oracle JDK 17
java version "1.8.0_221" java version "17.0.1" 2021-10-19 LTS
Java(TM) SE Runtime Environment (build 1.8.0_221-b11) Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39)
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode) Java HotSpot(TM) 64-Bit Server VM (build 17.0.1+12-LTS-39, mixed mode, sharing)
</pre> </pre>
</li> </li>
</ul> </ul>
...@@ -1030,7 +1032,7 @@ Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode) ...@@ -1030,7 +1032,7 @@ Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
<ul> <ul>
<li> Extract the contents (including README.txt) for inclusion in the JDK development build, for example <li> Extract the contents (including README.txt) for inclusion in the JDK development build, for example
<br /> <br />
<code style="color:darkgreen"><b>C:\Program Files\Java\jdk1.8.0_221\jre\lib\security</b></code></li> <code style="color:darkgreen"><b>C:\Program Files\Java\jdk-17.0.1\jre\lib\security</b></code></li>
<li> <li>
<a href="https://download.oracle.com/javase/8/docs/technotes/guides/security">Java(TM) Cryptography Architecture (JCA) Reference Guide</a> <a href="https://download.oracle.com/javase/8/docs/technotes/guides/security">Java(TM) Cryptography Architecture (JCA) Reference Guide</a>
</li> </li>
...@@ -1615,7 +1617,7 @@ need to be connected to the NPS intranet. ...@@ -1615,7 +1617,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-16"</code> <code>netbeans_jdkhome="C:\Program Files\Java\openjdk\jdk-17.0.1"</code>
(for example). (for example).
</li> </li>
<li> <li>
......
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