| View previous topic :: View next topic |
| Author |
Message |
John McGrath [TeamB] Guest
|
Posted: Sun Apr 03, 2005 11:33 am Post subject: Re: Java 3D |
|
|
On 3/31/2005 at 7:01:47 PM, Chad Conway wrote:
| Quote: | I am having trouble installing and running the Java 3D API in JBuilder
2005 Developer.
|
This is not an installation issue, so I am setting follow-ups to the
borland.public.jbuilder.ide newsgroup.
| Quote: | I went to "Tools|Configure|Libraries" and created a
library called Java3d and included the jar and src files from
"C:j2sdk1.4.2_04jrelibext"(jars) and java3d-utils-src.jar from the
same sdk location but it still does not work. Any help would be greatly
appreciated.
|
It would help if you explain what it does. That it "does not work" is not
much to go on.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
|
|
| Back to top |
|
 |
Chad Conway Guest
|
Posted: Tue Apr 26, 2005 9:24 pm Post subject: Re: Java 3D |
|
|
John McGrath [TeamB] wrote:
| Quote: | On 3/31/2005 at 7:01:47 PM, Chad Conway wrote:
I am having trouble installing and running the Java 3D API in JBuilder
2005 Developer.
This is not an installation issue, so I am setting follow-ups to the
borland.public.jbuilder.ide newsgroup.
I went to "Tools|Configure|Libraries" and created a
library called Java3d and included the jar and src files from
"C:j2sdk1.4.2_04jrelibext"(jars) and java3d-utils-src.jar from the
same sdk location but it still does not work. Any help would be greatly
appreciated.
It would help if you explain what it does. That it "does not work" is not
much to go on.
When i try to run the project the frame is displayed but i recieve the |
following errors. I'm assuming it is not finding the library that I
included and I do no understand why.
java.lang.UnsatisfiedLinkError: no J3D in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at javax.media.j3d.MasterControl$22.run(MasterControl.java:889)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:886)
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:534)
|
|
| Back to top |
|
 |
Lori M Olson [TeamB] Guest
|
Posted: Wed Apr 27, 2005 1:03 am Post subject: Re: Java 3D |
|
|
Chad Conway wrote:
| Quote: | When i try to run the project the frame is displayed but i recieve the
following errors. I'm assuming it is not finding the library that I
included and I do no understand why.
java.lang.UnsatisfiedLinkError: no J3D in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at javax.media.j3d.MasterControl$22.run(MasterControl.java:889)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:886)
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:534)
|
java.library.path defaults to your system PATH on Windows. It is
looking for a file called J3D.dll on your path. And maybe more. You
need to review the installation instructions perhaps:
http://www.j3d.org/installing.html
For running in JBuilder, you can specify java.library.path as a
commandline parameter in your Run configuration. Outside JBuilder you
will have to adjust your PATH, or place those files in a directory that
is already on your PATH.
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
|
|
| Back to top |
|
 |
John McGrath [TeamB] Guest
|
Posted: Wed Apr 27, 2005 11:44 am Post subject: Re: Java 3D |
|
|
On 4/26/2005 at 9:03:56 PM, Lori M Olson [TeamB] wrote:
| Quote: | For running in JBuilder, you can specify java.library.path as a
commandline parameter in your Run configuration. Outside JBuilder you
will have to adjust your PATH, or place those files in a directory that
is already on your PATH.
|
Just to be clear: You can *always* use "java.library.path" to specify the
search path for native libraries.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
|
|
| Back to top |
|
 |
|