[7193] in testers
Re: stdaudiocontrol problem
daemon@ATHENA.MIT.EDU (Robert A Basch)
Wed Jun 22 10:05:42 2005
From: Robert A Basch <rbasch@MIT.EDU>
To: Garry Zacheiss <zacheiss@mit.edu>
Cc: Erin Price <aerynne@mit.edu>, testers@mit.edu
In-Reply-To: <200506220554.j5M5sxUA022555@sipb-office-escape-pod.mit.edu>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Date: Wed, 22 Jun 2005 10:05:31 -0400
Message-Id: <1119449131.28965.16.camel@anhedonia.mit.edu>
Mime-Version: 1.0
On Wed, 2005-06-22 at 01:54 -0400, Garry Zacheiss wrote:
> I can reproduce this, and it looks like it is the result of trying to
> run Java code that was compiled using a 1.5.0 JDK with a 1.4.2 JRE. I'm
> guessing it will be fixed in 9.4.10, which upgrades the Java installed
> to 1.5.0.
Yes. Solaris 10 actually installs both 1.4.2 and 1.5.0; the default
version, as determined by the /usr/java symlink, is supposed to be
1.5.0, but a bug in our update from 9.3 left the symlink pointing at
1.4.2. 9.4.10 will include an upgrade of both 1.4.2 and 1.5.0, and
the symlink will be reset correctly then, i.e. to point at 1.5.0.
(The update bug has also been fixed, so that 9.3 machines should
set the correct symlink when they update).
> A mildly complicated workaround is to make a copy of
> /usr/dt/bin/sdtaudiocontrol (it's just a shell script) and edit it to
> point JAVA_HOME at /os/usr/java rather than /usr/java, which in my
> testing did get me a functional copy of the app.
A machine administrator can also safely fix the /usr/java symlink
manually:
cd /usr
rm java
ln -s jdk/jdk1.5.0_01 java
(This matches the symlink in /os).
9.4.10 will update the version to jdk1.5.0_03, and should set the
symlink accordingly.
Bob