kungfoo
kungfoo

Reputation: 1347

Where did the com.sun.mirror.* package go on OSX?

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?

Upvotes: 1

Views: 221

Answers (2)

Bozho
Bozho

Reputation: 597114

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.

Upvotes: 2

Jean-Philippe Pellet
Jean-Philippe Pellet

Reputation: 59994

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).

Upvotes: 2

Related Questions