Ask Your Question
2

What is the method for obtaining com.sun.tools.javac using Java 8 or higher?

asked 2021-05-14 11:00:00 +0000

david gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-06-20 18:00:00 +0000

huitzilopochtli gravatar image

The com.sun.tools.javac package is not a public API and is not recommended to be used in production code. However, for development purposes, one can obtain the com.sun.tools.javac package by including the tools.jar file from the JDK installation into the classpath of the project. For Java 8 or higher, the tools.jar file can be found in the lib folder inside the JDK installation directory.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-05-14 11:00:00 +0000

Seen: 9 times

Last updated: Jun 20 '21