First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 119142
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Donnie Berkholz <dberkholz@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: mykhal <mykhal@centrum.cz>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 119142 depends on: Show dependency tree
Show dependency graph
Bug 119142 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-01-15 16:50 0000
sci-chemistry/tinker-4.2

tinker's java-based force field explorer (/usr/bin/tinker) does not work even
with blackdown java3D is installed.

See the console shot:

user % cat /usr/bin/tinker
java -jar /usr/lib/tinker/ffe.jar -Djava.library.path=$(java-config -i
blackdown-java3d-bin) -cp $(java-config -p blackdown-java3d-bin)

user % java-config -i blackdown-java3d-bin
/opt/blackdown-java3d-bin/lib/

user % ls -l /opt/blackdown-java3d-bin/lib/
total 408
-rwxr-xr-x  1 root root 135388 Jan 16 00:38 libJ3D.so
-rwxr-xr-x  1 root root   3536 Jan 16 00:38 libJ3DUtils.so
-rwxr-xr-x  1 root root 265836 Jan 16 00:38 libj3daudio.so

user % java-config -p blackdown-java3d-bin
/usr/share/blackdown-java3d-bin/lib/j3dcore.jar:/usr/share/blackdown-java3d-bin/lib/vecmath.jar:/usr/share/blackdown-java3d-bin/lib/j3daudio.jar:/usr/share/blackdown-java3d-bin/lib/j3dutils.jar

user % ls -l /usr/share/blackdown-java3d-bin/lib/
total 5484
-rw-r--r--  1 root root 1386793 Jan 16 00:38 j3daudio.jar
-rw-r--r--  1 root root 2514820 Jan 16 00:38 j3dcore.jar
-rw-r--r--  1 root root 1401997 Jan 16 00:38 j3dutils.jar
-rw-r--r--  1 root root  290018 Jan 16 00:38 vecmath.jar

user % java-config -L
[blackdown-jre-1.4.2.02] "Blackdown JRE 1.4.2.02"
(/etc/env.d/java/20blackdown-jre-1.4.2.02)
[kaffe-1.1.4] "Kaffe 1.1.4" (/etc/env.d/java/20kaffe-1.1.4)
[blackdown-jdk-1.4.2.02] "Blackdown JDK 1.4.2.02"
(/etc/env.d/java/20blackdown-jdk-1.4.2.02) *

user % java-config -l | tail -n 1
[blackdown-java3d-bin] Java 3D Software Development Kit
(/usr/share/blackdown-java3d-bin/package.env)

user % /usr/bin/tinker

Java3D Extensions have not been installed

Please download Java3D 1.3.1 from a Blackdown FTP Site:
http://www.blackdown.org

Force Field Explorer can not continue

------- Comment #1 From mykhal 2006-01-16 06:17:55 0000 -------
note:
app-misc/bfm, which also uses blackdown Java3D, seems to work on the same
machine.

------- Comment #2 From Donnie Berkholz 2006-01-16 12:47:09 0000 -------
I know it doesn't work, and I can't get it working. I already asked someone on
our java team and haven't heard back. If you can get it working, please do post
on here.

------- Comment #3 From Michele Mattioni 2006-05-22 09:28:43 0000 -------
Some problem here.
Can't get it working.

Some situation of comment #1.

Any idea ?

------- Comment #4 From Donnie Berkholz 2006-06-20 23:55:17 0000 -------
Java guys, can you help me get this thing working?

------- Comment #5 From Josh Nichols 2006-06-21 06:58:14 0000 -------
The launcher script needs to be changed to:

java -Djava.library.path=$(java-config -i blackdown-java3d-bin) -cp
$(java-config -p blackdown-java3d-bin):/usr/lib/tinker/ffe.jar ffe.Main

The problem is that when you use -jar, it ignores anything you put on the
classpath using -cp... so basically, it was ignoring the jars from
blackdown-java3d-bin, hence the particular error.

------- Comment #6 From Donnie Berkholz 2006-06-21 07:18:19 0000 -------
Yay! Thanks much! Fixed in 4.2-r1.

First Last Prev Next    No search results available      Search page      Enter new bug