Where did the com.sun.mirror.* package go on OSX?
-
09-10-2019 - |
Question
I'm currently trying to write an apt annotation processor. I can however not find the required tools.jar on my system. I'm on OSX, having installed the default JDK. Where can i find the apt-related classes?
Solution
There is no tools.jar in the Apple-bundled JVMs, those classes are simply in classes.jar, which contains the other base Java library files (on my machine, here: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar
).
OTHER TIPS
com.sun.*
classes must not be relied on. They are internal implementation and the risk is they will go away in the next version or on a different platform.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow