Everyone is referring jaotc to http://openjdk.java.net/jeps/295. But from that web page, I cannot figure how to download jaotc.
Asked
Active
Viewed 709 times
1
-
https://bugs.openjdk.java.net/browse/JDK-8255616. It was removed in Java 16. – pringi Jun 06 '22 at 09:44
3 Answers
4
It is included in Oracle JDK version 9 (Ubuntu installation)
If you have installed JDK 9, it is probably on your PATH or in bin directory of JDK's home.

Gonzalo Matheu
- 8,984
- 5
- 35
- 58
-
I am using a Macbook Pro. It looks like there is only JDK 8 available. Thanks a lot for the information. – Mousheng Xu Jun 09 '18 at 22:58
2
It is an experimental new feature in JDK 9 for Linux x64. So, if you are using Linux, just download JDK 9 from Oracle website and in the folder $JAVA_HOME/bin you will find jaotc.
In the link that you shared, see:
AOT initial release in JDK 9 is provided for experimental-only use and is restricted to Linux x64 systems running 64-bit Java with either Parallel or G1 GC...

Thiago Procaci
- 1,485
- 11
- 16
0
JAOTC is bundled with OpenJDK 9 and above but I'll recommend you using OpenJDK 12.

Jessie Lesbian
- 1,273
- 10
- 14