I wrote an applet. Then I added a
class to write to a file. I don't want to mess with security issues, so I
thought I'd just run it as an application. But I am getting the following
error:
G:\BOBSTUFF\3dProject\nch2>java AppRoot -cp
g:\jdk1.3\jre\lib
Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/j3d/SceneGraphObject
Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/j3d/SceneGraphObject
I copied all .jar files in .ext into
.lib. These seemed to be a solution to some similar problems when running
as an applet. But it didn't solve my application problem.
Any thoughts on what's wrong? What
other libraries do I need to list in the -cp parameter?
My "main" method is simply
public static void main(String[] args)
{
// main() is only called if running as an application
theApp = new AppRoot();
theApp.init();
} // end main
Bob Gray
