diff options
author | Sven Gothel <[email protected]> | 2019-08-16 23:22:34 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-08-16 23:22:34 +0200 |
commit | a83fe317fc55771c18709ec201870d98c307eb13 (patch) | |
tree | 4bfe5324c2cbad08c4ae98f184c666f3f12277ed | |
parent | c7205e3906e426ec0c74b12b50faece189d3f8c2 (diff) |
Bug 1363: Java 11: HowToBuild Update
Also update GNU/Linux and other platforms information to current OS versions and developer toolchains.
-rw-r--r-- | doc/HowToBuild.html | 88 |
1 files changed, 55 insertions, 33 deletions
diff --git a/doc/HowToBuild.html b/doc/HowToBuild.html index bc6baa2..857d5bf 100644 --- a/doc/HowToBuild.html +++ b/doc/HowToBuild.html @@ -36,31 +36,48 @@ if not stated otherwise.<br/> <ul> - <li> <b>Java</b><br/> - A Java 1.6 compliant SDK. + <li> <b>Java</b> + <ul> + <li>Build & Runtime: An <a href="http://openjdk.java.net/">OpenJDK</a> 11 compliant SDK.</li> + <li>Runtime: An OpenJDK 8 compliant JRE.</li> + </ul> + You may find an appropriate <a href="http://openjdk.java.net/">OpenJDK</a> build @ <a href="https://adoptopenjdk.net/">AdoptOpenJDK</a>.<br/> + <br/> + Or you may try one of the following SDK's and/or Runtimes: + <ul> + <li> <a href="https://www.azul.com/downloads/zulu-community/">Azul's Zulu</a> (active, +embedded)</li> + <li> <a href="https://github.com/ReadyTalk/avian">Avian</a> (inactive, not tested)</li> + </ul> </li> - <li> <b><a href="http://ant.apache.org/">Ant</a></b> 1.9.0 or later</li> - <li> <b><a href="http://www.kernel.org/pub/software/scm/git/docs/">Git</a></b> 1.6.0 or later<br/> + <li> <b><a href="http://ant.apache.org/">Ant</a></b> 1.10.5 or later</li> + <li> <b><a href="http://www.kernel.org/pub/software/scm/git/docs/">Git</a></b> 2.0.4 or later<br/> <ul> <li> Use your Unix distribution's version, if available, or</li> - <li> <a href="http://www.kernel.org/pub/software/scm/git/">Source Code for GNU/Linux, MacOSX, ..</a>, or</li> - <li> Git on Windows + <li> <a href="http://www.kernel.org/pub/software/scm/git/">Source Code for GNU/Linux, MacOS, ..</a>, or</li> + <li> Git on Windows is provided by <a href="https://cygwin.com">cygwin</a></li> + <li> Git ≥ 2.11 on MacOS is provided by Xcode ≥ 8.3.3</li> + </ul> + </li> + + <li> <b><a href="https://www.freebsd.org/">FreeBSD</a></b> x86, 32- and 64-bit, ... + <ul> + <li> <b><a href="https://www.freebsd.org/releases/">FreeBSD</a></b> 12 or later <i>(todo: test)</i> <ul> - <li> <a href="https://cygwin.com">cygwin</a></li> - <li> <a href="http://code.google.com/p/msysgit/">msysgit</a></li> + <li>openjdk11</li> + <li>ant</li> + <li>git</li> + <li>p7zip-full ???</li> + <li>gcc</li> </ul> - </li> - <li> <a href="http://code.google.com/p/git-osx-installer/">git-osx-installer</a> </li> </ul> </li> - - <li> <b>GNU Linux</b> x86, 32- and 64-bit<br/> + <li> <b>GNU Linux</b> x86, 32- and 64-bit as well as Arm64, etc<br/> You may have to install a few developer packages ... <ul> - <li> <b>Debian</b> 9.00 or later + <li> <b>Debian</b> 10 or later <ul> - <li>openjdk-8-jre</li> - <li>openjdk-8-jdk</li> + <li>openjdk-11-jre</li> + <li>openjdk-11-jdk</li> <li>ant</li> <li>git</li> <li>p7zip-full</li> @@ -68,9 +85,9 @@ </ul> One liner install command: <ul> - <li><b>Debian</b> 9.00 Stretch + <li><b>Debian</b> 10 Buster <pre> -apt-get install openjdk-8-jre openjdk-8-jdk ant git-all p7zip-full gcc +apt-get install openjdk-11-jre openjdk-11-jdk ant git-all p7zip-full gcc </pre></li> </ul> Optional: Add <i>kernel</i> build utilities: @@ -79,28 +96,26 @@ apt-get install kernel-package build-essential </pre> Optional: Add <i>multiarch</i> i386 next to amd64 <ul> - <li><b>Debian</b> 9.00 Stretch + <li><b>Debian</b> 10 Buster <pre> dpkg --add-architecture i386 apt-get update -apt-get install lib32z1 lib32ncurses5 gcc-multilib lib32gcc1 lib32gomp1 lib32itm1 lib32quadmath0 libudev1:i386 libc6-i386 libc6-dev-i386 g++-multilib lib32stdc++6 openjdk-8-jre:i386 openjdk-8-jdk:i386 +apt-get install lib32z1 lib32ncurses5 gcc-multilib lib32gcc1 lib32gomp1 lib32itm1 lib32quadmath0 libudev1:i386 libc6-i386 libc6-dev-i386 g++-multilib lib32stdc++6 openjdk-11-jre:i386 openjdk-11-jdk:i386 </pre></li> </ul> </li> - <li> <b>OpenSuSE</b> 10.2 or later + <li> <b>OpenSuSE</b> 15.0 or later <ul> - <li>openjdk-7-jre</li> - <li>openjdk-7-jdk</li> + <li>java-11-openjdk</li> <li>ant</li> <li>git</li> <li>p7zip-full</li> <li>gcc</li> </ul> </li> - <li> <b>CentOS / Red Hat Enterprise Linux</b> 5.4 or later<br/> + <li> <b>CentOS 7 / Red Hat Enterprise Linux 7.6</b> or later<br/> <ul> - <li>openjdk-7-jre</li> - <li>openjdk-7-jdk</li> + <li>java-11-openjdk</li> <li>ant</li> <li>git</li> <li>p7zip-full</li> @@ -109,22 +124,29 @@ apt-get install lib32z1 lib32ncurses5 gcc-multilib lib32gcc1 lib32gomp1 lib32itm </li> </ul> </li> - <li> <b>OpenSolaris</b> SPARC and x86, 32- and 64-bit + <li> <b>Android/Linux</b> Version 7.0 Nougat API Level 24 or later<br/> + <ul> + <li>any of the above GNU/Linux x86_64 hosts for crosscompilation</li> + <li>android ndk <i>(todo: detail instructions)</i></li> + <li>android sdk <i>(todo: detail instructions)</i></li> + </ul> + </li> + <li> <b><a href="https://en.wikipedia.org/wiki/OpenSolaris#Derivatives">OpenSolaris Derivatives</a></b> SPARC and x86, 32- and 64-bit <ul> - <li> <a href="http://opensolaris.org/">OpenSolaris 2009.06 or later</a></li> + <li><a href="https://www.openindiana.org/">OpenIndiana</a> using illumus's OpenSolaris continuation <i>(todo: test)</i></li> </ul> </li> - <li> <b>MacOSX</b> Intel + <li> <b>MacOS and iOS</b> Intel and Arm64 <ul> - <li> git, see above </li> - <li> <a href="http://www.apple.com/macosx/">Mac OS X</a> 10.3 (note: will not work with earlier releases) </li> - <li> <a href="http://developer.apple.com/technologies/xcode.html">Xcode</a> for gcc, etc (included in OSX)</li> + <li>git ≥ 2.11 provided by Xcode ≥ 8.3.3</li> + <li><a href="http://www.apple.com/macosx/">Mac OS</a> 10.13 or later (note: may not work with earlier releases) </li> + <li><a href="http://developer.apple.com/technologies/xcode.html">Xcode</a> 8.3.3 or later for gcc, etc (included in MacOS)</li> </ul> </li> <li> <b>Windows</b>/x86 (32 bit) <ul> <li>Windows XP or later </li> - <li>git, see above</li> + <li>git is provided by <a href="https://cygwin.com">cygwin</a></li> <li> <a href="http://mingw-w64.sourceforge.net/">MinGW64</a> <ul> <li> <a href="http://sourceforge.net/projects/mingwbuilds/files/mingw-builds-install/mingw-builds-install.exe/download">Installer</a> @@ -144,7 +166,7 @@ apt-get install lib32z1 lib32ncurses5 gcc-multilib lib32gcc1 lib32gomp1 lib32itm <li> <b>Windows</b>/x86_64 (64-bit) <ul> <li>Windows XP or later </li> - <li>git, see above</li> + <li>git is provided by <a href="https://cygwin.com">cygwin</a></li> <li> <a href="http://mingw-w64.sourceforge.net/">MinGW64</a> <ul> <li> <a href="http://sourceforge.net/projects/mingwbuilds/files/mingw-builds-install/mingw-builds-install.exe/download">Installer</a> |