Location of java class libraries on Sun
Hello everyone. I'm a brand new java programmer so be gentle with me! I'm working my way through "Sam's Teach Yourself Programming with Java" (up to chapter 15) and feel like so far everything is understandable. I've been running my programs on my PC and thought I'd try one on my Sun machine for fun, since that's where I ultimately want to run anyway. My program compiled w/o problem, but gave the following error when running:
Exception in thread "main" java.lang.NoClassDefFoundError
My research of this error seems to indicate that Solaris can't find the java.awt and javax.swing libraries. I can't find them and no one in the IT group seems to know either.
Does anyone know where these libraries are normally installed on a Sun machine so that I can specify that location with the -classpath option when I run my programs?