Mark,
Bunning it by
g:\jdk1.3\jre\bin\java.exe AppRoot
worked!
Thanks bery much.
Bob Gray
-----Original Message-----
From: Mark Ferneau [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 08, 2000 5:15 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Running J3D Application, not applet
Bob,
You'll also have to ensure that j3d.dll and j3daudio.dll are in the
location where your java.exe is found. Java3D is not simply a set of jar
files. It needs access to native machine functions and therefore the DLLs
must be properly placed.
I'm not sure if any additional registry settings are getting in your way or
not. The best thing to do is to install J3D in the JDK and/or JRE that you
want it in and then run the corresponding java.exe.
As a separate question have you tried running this with
g:\jdk1.3\jre\bin\java.exe AppRoot
--Mark
--Mark
At 04:54 PM 11/8/2000 -0500, you wrote:
>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
>
>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
>
>
Mark Ferneau 240-462-6262 (cell)
Director of Adv. Technology 801-437-4608 (efax)
Xtivia Technologies, Inc. 732-469-5954 x629 (NJ office)
[EMAIL PROTECTED] 301-279-5703 (home office)
http://www.xtivia.com/ [EMAIL PROTECTED] (wireless email)
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
