Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NetworkedGraphicsMV3500
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Savage
NetworkedGraphicsMV3500
Commits
d72a75ac
Commit
d72a75ac
authored
2 years ago
by
Brutzman, Don
Browse files
Options
Downloads
Patches
Plain Diff
OpenJDK 20, Ant 1.10.13, Netbeans 17
parent
d86c014f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
developers.html
+32
-24
32 additions, 24 deletions
developers.html
with
32 additions
and
24 deletions
developers.html
+
32
−
24
View file @
d72a75ac
...
@@ -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.1
2
</b></code>
<code
style=
"color:darkgreen"
><b>
C:\apache-ant-1.10.1
3
</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.1
2
</b></code>
<code
style=
"color:darkgreen"
><b>
ANT_HOME=C:\apache-ant-1.10.1
3
</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
output
</a>
):
(
<a
href=
"antConfigurationFetchOutput.txt"
>
example
output
</a>
):
<br
/>
<br
/>
<code
style=
"color:darkgreen"
>
C:\apache-ant-1.10.1
2
>
<b>
ant -f fetch.xml -Ddest=system
</b></code>
<code
style=
"color:darkgreen"
>
C:\apache-ant-1.10.1
3
>
<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.1
2
compiled on J
uly 10
202
1
Apache Ant(TM) version 1.10.1
3
compiled on J
anuary 4
202
3
</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
home
</i>
<code
style=
"color:darkgreen"
><b>
C:\apache-ant-1.10.1
2
</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.1
3
</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-2
0
</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-jdk
19
-doc-downloads.html"
target=
"_blank"
>
Javadoc Documentation Download
</a>
<a
href=
"https://www.oracle.com/java/technologies/javase-jdk
20
-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-1
8
</b></code>
<code
style=
"color:darkgreen"
><b>
jdk-1
9.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
/>
<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-2
0
</b></code>
# OpenJDK, or
<br
/>
<br
/>
<!-- <code style="color:darkgreen"><b>JAVA_HOME=C:\Program Files\Java\jdk-14</b></code> # Oracle JDK
<!-- <code style="color:darkgreen"><b>JAVA_HOME=C:\Program Files\Java\jdk-14</b></code> # 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>
# OpenJDK
19.0.
2
$
<b>
java -version
</b>
# OpenJDK
2
0
openjdk version "
19.0.
2" 2023-0
1-17
openjdk version "2
0
" 2023-0
3-21
OpenJDK Runtime Environment (build
19.0.2+7-
44)
OpenJDK Runtime Environment (build
20+36-23
44)
OpenJDK 64-Bit Server VM (build
19.0.2+7-
44, mixed mode, sharing)
OpenJDK 64-Bit Server VM (build
20+36-23
44, 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
20
</a>
,
<a
href=
"https://openjdk.java.net/projects/jdk/19"
target=
"_blank"
>
JDK
19
</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/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/17"
target=
"_blank"
>
JDK
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/1
5
"
target=
"_NetBeans"
>
NetBeans
1
5
features
</a>
,
<a
href=
"https://github.com/apache/netbeans/releases/tag/1
7
"
target=
"_NetBeans"
>
NetBeans
1
7
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/1
5
/javadoc"
target=
"_NetBeans"
>
Documentation
</a>
and
<a
href=
"https://bits.netbeans.org/1
7
/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
Files\Netbeans-1
6
\netbeans\etc\netbeans.conf
</b></code>
(default user settings)
<code
style=
"color:darkgreen"
><b>
C:\Program
Files\Netbeans-1
7
\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
>
Java
Platforms
</i>
by changing menu
<i>
Tools
>
Java
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-2
0
"
</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.
<code
style=
"color:darkgreen"
><b>
-J-Djavax.xml.bind.context.factory=com.sun.xml.bind.v2.ContextFactory
</b></code>
<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 1
5
and OpenJDK
19
.
</i>
<i>
Tomcat support under Netbeans 1
7
and OpenJDK
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
202
2
Revised
13 April
202
3
</blockquote>
</blockquote>
<p>
<p>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment