Hi ,
First , thank you very much for the response.
> try running this
>
> C:\j2sdk1.4.0\bin\java HelloWorld
>
I ran it but again similar error. Now , it's not able to detect the J3D.dll
in C:\j2sdk1.4.0\jre\bin\ , whereas the file exists in the specified
directory as confirmed by Windows "Search Files / Folders" results. The
error message is as follows -
C:\j2sdk1.4.0\demo\java3d\HelloUniverse>C:\j2sdk1.4.0\bin\java HelloUniverse
java.lang.UnsatisfiedLinkError: C:\j2sdk1.4.0\jre\bin\J3D.dll: One of the
librar
y files needed to run this application cannot be found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1480)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1396)
at java.lang.Runtime.loadLibrary0(Runtime.java:772)
at java.lang.System.loadLibrary(System.java:832)
at javax.media.j3d.MasterControl$19.run(MasterControl.java:829)
at java.security.AccessController.doPrivileged(Native Method)
at
javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:826)
at
javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:229)
at HelloUniverse.init(HelloUniverse.java:94)
at com.sun.j3d.utils.applet.MainFrame.run(MainFrame.java:262)
at java.lang.Thread.run(Thread.java:536)
I tried after changing registry of java home to "C:\j2sdk1.4.0" and
RuntimeLib to "C:\j2sdk1.4.0\bin\client\jvm.dll" , but it does not work.
>
> I suspect you have more than a jdk installation.
>
What you think is correct. I have been downloading jdks right from ver
1.2 but do not fiddle with earlier versions , because once I tried but many
required files got deleted.
I find that bin is installed at many places on my machine i.e.
C:\j2sdk1.4.0\bin , C:\j2sdk1.4.0\jre\bin , C:\Program
Files\java\j2re1.4.0\bin , C:\Program Files\java\j2re1.4.0\jre\bin. I
changed registry as well as path with all these combinations but for no
avail.
With the information now submitted , is it possible for you to throw
some more light.
Thak you once again.
Karunesh
----- Original Message -----
From: trz <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 07, 2002 11:27 PM
Subject: Re: [JAVA3D] java3D installation
> Karunesh Tripathi wrote:
> > Hi guys,
> >
> >
> >
> > I have a problem !
> >
>
> Hi,
> try running this
>
> C:\j2sdk1.4.0\bin\java HelloWorld
>
> I suspect you have more than a jdk installation.
>
> Win does strange things when you start the JVM.
> I don't know exactly how it works, but it's somthing like this.
>
> - win looks in the path for the executable and launch it
> - if you used the full path the jvm sets the "java_home" on the
> specified dir
> - else the jvm looks in the registry for the java_home (somewhere under
> local_machine\software\javasoft\ecc.) and uses that even if the
> executable is loaded from another dir
> - i don't' know if/when it uses environment variables
>
> If calling java with the full path solves the problem you can
> definitivly fix that changing the home in the registry.
>
>
> Bye
>
>
===========================================================================
> 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".
>
===========================================================================
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".