Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 147259

Summary: java-config-2 run-java-tool won't run javaws for any 1.4 jdk/jre except blackdown
Product: Gentoo Linux Reporter: Vlastimil Babka (Caster) (RETIRED) <caster>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-09-11 22:53:18 UTC
$ GENTOO_VM=sun-jre-bin-1.4 javaws
Tried to execute /usr/lib/jvm/sun-jre-bin-1.4//bin/javaws and /usr/lib/jvm/sun-jre-bin-1.4//jre/bin/javaws, but neither exist.
Perhaps there is something wrong with the install of sun-jre-bin-1.4?

$ GENTOO_VM=sun-jdk-1.4 javaws
Tried to execute /usr/lib/jvm/sun-jdk-1.4//bin/javaws and /usr/lib/jvm/sun-jdk-1.4//jre/bin/javaws, but neither exist.
Perhaps there is something wrong with the install of sun-jdk-1.4?

Because the javaws executable here is in {jre/}javaws/javaws and not in bin. In blackdown-jdk there's symlink in bin/ that points there so it works. Maybe that symlink should be added to sun-{jdk,jre} too, instead of trying to workaround in java-config?
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-09-14 22:01:12 UTC
I'm pretty sure that symlink is part of the blackdown release. We could easily enough do a symlink though.
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-09-15 02:34:32 UTC
Add ibm-{jre,jdk}-bin-1.4 and jrockit-jdk-bin-1.4 to the list (that means anything 1.4 but blackdown). Still better to add symlinks to them than patch java-config, since 1.5+ there always is javaws in bin/
Comment 3 Josh Nichols (RETIRED) gentoo-dev 2006-09-18 20:59:43 UTC
Yeah, symlinking makes sense.

@Caster

If you're comfortable with it, you can go ahead and add the symlinks and revbump for the effected versions.
Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-09-19 00:33:50 UTC
Fixed in sun-jdk-1.4.2.12-r2.
Comment 5 Josh Nichols (RETIRED) gentoo-dev 2006-09-19 05:33:04 UTC
Think you meant to mark FIXED ;)
Comment 6 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-09-19 06:35:23 UTC
Not really, I fixed only the first package of many, just tracking progress, used ASSIGNED to indicate I am to take care of it...
Comment 7 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-09-19 07:58:09 UTC
sun-jre-bin fixed in 1.4.2.10-r2
Comment 8 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-09-19 09:29:26 UTC
ibm-jdk-bin and ibm-jre-bin fixed in 1.4.2.6-r4
Comment 9 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-09-19 15:14:40 UTC
Looks like there's no javaws in jrockit-jdk-bin, so that's all folks.