This bug is same as 4785581 reported for linux, but not the same javaws script.
If you make symbolic link to the javaws script, then attempt to run javaws, it dosn't work.
>ln -s /usr/java/javaws/javaws
/usr/bin/javaws: /usr/bin/javawsbin: not found
This bug is slightly different than 4785581 in that it only occurs when
attempting invoke via a direct link to the javaws shell script; as opposed to
invoking with a linked directory on the invocation path. For this reason
it should be less common - commit to Tiger.
Requesting to fix for mantis-beta. This fix is required to fix 4792033: Need
javaws link in /usr/bin on Solaris.
The following entry inserted after line 9 in javaws script fix the problem:
# Resolve symlinks. See 4152645.
while [ -h "$PRG" ]; do
ls=`/usr/bin/ls -ld "$PRG"`
link=`/usr/bin/expr "$ls" : '^.*-> \(.*\)$'`
if /usr/bin/expr "$link" : '^/' > /dev/null; then
PRG=`whence "$prg"` > /dev/null 2>&1
BugTraq+ Release Management Values
COMMIT TO FIX: