The whole Java SDK, JRE and Java 3D install results in a real mess of
directory and registry settings. If you use the following installation
procedure outlined below for installing (on a windows dev platform) your
Java SDK/JRE /Java 3D toolkit layout on your system will be much cleaner
then you'd get otherwise.
You'll need the following which you can download from Sun's Java site. In
particular:
j2sdk1_3_0-win.exe - the java 2 sdk
j2re1_3_0-win.exe - the java 2 runtime / plugin support
java3d-1_2-win-opengl_sdk.exe - the java 3D sdk
Cleaning up your machine:
Before installing if you already have any of these components installed or
java 1.2 components installed use the 'setting control panel 'Add/Remove
Programs' application to remove them and after removing them all, manually
delete any lingering JavaSoft directories (usually to be found in the
c:\Program Files directory and manually delete any remaining stray
HKEY_LOCAL_MACHINE\Software\JavaSoft registry entries. If you close the
'Add/Remove Programs' application and open it again and still see Java SDK
/JRE or Java 3D entries then you probably manually deleted directories
previously at some point in the past. If you attempt to Add/Remove the entry
again it will show you the missing uninstall script the uninstall program
can't locate. Pay attention to the directory path its expecting to find this
in and just reinstall the cuprit component again to that directory then go
back and remove it and viola its gone. There is probably a better way to
remove invalid entries in the 'Add/Remove Program' list but the procedure
noted here works.
Doing the new installation:
1) Run the j2sdk1_3_0-win.exe and specify the directory location where you
want you want the SDK files to be rooted, I use d:\jdk1.3, if you substitute
some other directory for this one, make sure to substitute it as well
wherever you see d:\jdk1.3 used throughout these instructions.
2) Unfortunately the Java 2 SDK installation runs the JRE installation in
silent batched mode and unfortunately puts the JRE components in the
'c:\Program Files\JavaSoft\JRE' directory instead of where you want them, so
now you need to remove this mess in order to get a clean installation. From
the settings control panel run the 'Add/Remove Programs' application and
remove the 'Java 2 Runtime Standard Editon v1.3' .
3) Now to get it where you want it run the 'j2re1_3_0-win.exe' and specify
the install directory as d:\jdk1.3\jre (note the jre on the end here is
necessary).
4) Now run the 'java3d-1_2-win-opengl_sdk.exe' and specify d:\jdk1.3 as the
home directory location for the Java 2 SDK.
You should now have a nice clean single directory installation of the Java
SDK, JRE and Java 3D SDK componentry. You don't need to run the Java 3D RTE
installation the Java 3D SDK installation seems to correctly take care of
this for you. If you had them UnsatisfiedLinkErrors should now be a thing of
the past.
Myron
-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Carolyn Gerrard
Sent: Friday, August 25, 2000 9:06 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] java.lang.UnsatisfiedLinkError
Sathya
I was having this problem yesterday. I finally tracked it
down to a bug report on the JDC which suggested that you
need to install both the jdk and jre versions of java3d.
Previously I had just been copying the jars from the jdk\lib\ext
directory in the program files\javasoft\jre\1.3\lib\ext dir
This is different from the intallation of the VM where if
you install the jdk you automatically get the jre installed.
Hope this helps.
Carolyn
Sathya Narayanan D wrote:
>
> Hi ,
> I am getting the exception java.lang.UnsatisfiedLinkError : no J3D in
> java.library.path
>
> What should I do....ITS URGENT...
> Kindly Suggest.
>
> Cheers
> Sathya
>
>
===========================================================================
> 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".
--
Carolyn Gerrard mailto:[EMAIL PROTECTED]
Lucent Technologies Voice: +44 1666 832094
===========================================================================
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".