OpenSolaris 2009.6 does not come with a javac. So I installed the SUNWj6dvx package. It installed a javac alright, but when i run the javac, I got this error message:

```
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
Caused by: java.lang.ClassNotFoundException: com.sun.tools.javac.Main
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: com.sun.tools.javac.Main.  Program will exit.

```

I suspect it is a JAVA\_HOME issue, but I cannot find any directory under /usr/jdk that contains a tool.jar. 

Did I install the right package? If so, what should the proper JAVA\_HOME path?