Jdk 8 High Sierra

  

  1. Jdk 8 High Sierra Free
  2. Jdk 8 High Sierra Update

While reading Understanding the JVM – Advanced Features and Best Practices, Second Edition (in Chinese) recently, there is a guide in chapter one to build JVM from source. It is based on OpenJDK7, which only works when using a Java6/Java7 VM as build bootstrap. Java8 bootstrap has more strict code checks and will finally fail the build. So, I just switched to a more recent OpenJDK8 code. The file name is openjdk-8u40-src-b25-10_feb_2015.zip.

Jdk 8 download for mac high sierra

The code provides a better build experience, and compiles on my Linux box almost out of box. But remember, do not use a gcc compiler >= gcc-6. It defaults to C++14 and breaks the build. On macOS, the build scripts seem only support gcc. Actually, a clang compiler is required to build the objc code.

We have been using Tomcat (v7) on OS X for quite some time now and never experienced any problems. However, after updating the OS to High Sierra, the web applications do not work anymore when compr. IBM Notes 9.0.1, MacOS High Sierra, and Java 8. After I wrote my Jan 24 post about running Notes on MacOS in Basic Mode, IBM released Notes 9.0.1 for MacOS Interim Fix 13. IF13 provides a fix for the problem I described in that post, which was that upgrading Java on the Mac to a version higher (more recent) than Java 8 Update 151 caused.

1. So the first step after downloading and unzipping the code, modify the configure script:

as_fn_error $? 'GCC compiler is required. Try setting --with-tools-dir.' '$LINENO' 5

2. Now install freetype and run configure:

Sierra
Sierra
2
4
6
8
10
12
14
* Debug level: slowdebug
* JVM variants: server
* OpenJDK target: OS: macosx, CPU architecture: x86, address length: 64
Tools summary:
* Boot JDK: java version '1.8.0_152' Java(TM) SE Runtime Environment (build 1.8.0_152-b16) Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode) (at /Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home)
* C++ Compiler: version (at /usr/bin/g++)
Build performance summary:
* Memory limit: 16384 MB
* ccache status: not installed (consider installing)

3. Apply the following patch to fix build errors. Partially picked from an official OpenJDK10 changeset:

2
4
# export COMPILER_WARNINGS_FATAL=false
# make

Lots of warnings, but the build should finish successfully:

2
4
6
8
10
12
14
16
18
20
(lldb) target create './java'
(lldb) b main
(lldb) run -version
Process 67998 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
frame #0: 0x000000010000d5b2 java`main(argc=2, argv=0x00007ffeefbff9c8) at main.c:97
95 int margc;
-> 97 const jboolean const_javaw = JNI_FALSE;
99 #ifdef _WIN32
Target 0: (java) stopped.
(char *) $0 = 0x00007ffeefbffb27 '-version'