|
Re: Java 5 woes: msg#00656cms.sakai.devel
I had this very problem this morning, and found the following shell script on some website and ran it with: sh ./setJDK.sh 1.4.2 ~steve #!/bin/sh cd /System/Library/Frameworks/JavaVM.framework/Versions CURJDK="`readlink CurrentJDK`" echo Current JDK version: $CURJDK if [ "$1" == "" ]; then echo Installed versions: ls exit fi VERFOUND=`ls | grep $1 | head -n 1` if [ "$VERFOUND" != "$1" ]; then BASE="`basename $0`" echo Error: Could not change JDK-- version $1 not installed! echo Run $BASE without arguments to see a list of installed versions. exit 127 fi echo You must now enter your Mac OS X password to change the JDK. sudo ln -fhsv $1 CurrentJDK Zach A. Thomas wrote: I went ahead and ran the OS X update to get Java 5 as the default. I was worried that it would cause problems (our production servers still run JVM 1.4.2) and it has. ---------------------- This automatic notification message was sent by Sakai Collab (http://collab.sakaiproject.org/portal) from the DG: Development site. You can modify how you receive notifications at My Workspace > Preferences. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: 2.2 mini build issue: 00656, Ray Davis |
|---|---|
| Next by Date: | Re: Session timeout: opinions?: 00656, Jon Gorrono |
| Previous by Thread: | Java 5 woesi: 00656, Zach A. Thomas |
| Next by Thread: | Re: Java 5 woes: 00656, Patricia Goldweic |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |