Monday, December 05, 2005

Mac OS X JVM Utility

I've created a useful little shell script that simplifies managing the default or current JVM that is used from the command line and other utilities under Mac OS X. Most people that run multiple JVMs for development and testing know that you can switch the symbolic link used by the Java JVM Framework to point to the current JVM. My little script setjvm.sh automates manipulating this link and reports on the status of the link so you know where it is pointing. Download it and give it a try. It might be overly complicated but it beats writing the symbolic link by hand. Update: Thanks to Seth Milliken for reporting the broken link in this article. I've fixed it.

Technorati Tags: , , ,

1 Comments:

Anonymous Seth Milliken said...

FWIW, the link to your setjvm.sh script is incorrect. It sends you to http://code/setjvm.sh rather than http://www.giolist.com/code/setjvm.sh.

It sure would be nice if Apple's Java Preferences app actually did this for you, but until then: thanks for writing the script I was about to write. :-)

3:41 PM  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home