What has sun.plugin.javascript become in JDK 7?

658 views Asked by At

I have some code importing sun.plugin.javascript.JSContext. What has happened to the package in JDK7?

1

There are 1 answers

0
Jayan On

In my Windows Java 7 (update 15) installation

find . -name "*jar"|xargs grep sun.plugin.javascript.JSContext
Binary file ./jre/lib/plugin.jar matches

So the class is in ./jre/lib/plugin.jar. This is most likely platform and version dependant. Please see Brant's comment.