In theory, you can run "make install" on a newly built JDK to have it installed in /usr/local/bin, just as with many system tools.
This is not recommended to do. You might mess up your boot JDK, and Java installations generally do not work like this. (Instead, you are likely to have symbolic links to e.g. bin/java, bin/javac etc in a JDK home.) This code is not only old and untested, I also think it offers the user a very unwise move. It should be removed. ------------- Commit messages: - 8320769: Remove ill-adviced "make install" target Changes: https://git.openjdk.org/jdk/pull/16826/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16826&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8320769 Stats: 104 lines in 4 files changed: 0 ins; 103 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/16826.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/16826/head:pull/16826 PR: https://git.openjdk.org/jdk/pull/16826