Apple has declared Java as deprecated:
verb [ trans. ]
1 express disapproval of : [as adj. ] ( deprecating) he sniffed in a deprecating way.
2 another term for depreciate (sense 2): : he deprecates the value of children’s television.
There’s really no reason to panic. Writing Java code on the mac should not be affected by Apple’s announcement. If any, having the same JVM release version as other platforms will actually improve it.
Java will live while dying a slow death. Good riddance.