Sunny Affairs

Leopard gets Java upgrade

Wednesday Apr 30, 2008

Mac has always stayed behind in terms of the latest JDKs that are released by Sun. This is mainly because the JDKs for Mac are released by Apple and not by Sun. Today morning when I went for Software Upgrade I found this:


Finally, Apple has decided to release Java SE 6 version 1.6.0_05 for Mac. Unfortunately, this package has been released only for 64-bit Intel based Macs running 10.5.2 (Leopard). So not everyone will be able to install this upgrade. Thank god I have a computer suitable for this upgrade. The only thing that bothers me is that "This update does not replace the existing installation of J2SE 5.0 or change the default version of Java". I dont know why they would do something like this, push the upgrade but not make it default. Maybe this upgrade is not all that stable or something.

Complementary to this upgrade is Netbeans 6.1, which has come out recently. Now the installation is very big, takes about 448 MB for the complete package. But this edition starts up very fast on Leopard as compared to Netbeans 6.0



At the same time, relating to Netbeans... The Netbeans Fun Tech quiz is on now for India. Dont miss out on those cool prizes every week.

PS: There is a Mac Java community page: http://community.java.net/mac/. Accidentally landed on this page while writing this blog entry.

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

DTrace on Solaris and Mac

Wednesday Jan 02, 2008

Well I have recently started with learning DTrace. DTrace is one of the most talked about feature in Solaris. This is how this feature is defined at OpenSolaris.org:

     DTrace is a comprehensive dynamic tracing framework for the Solaris™ Operating Environment. DTrace provides a powerful infrastructure to permit administrators, developers, and service personnel to concisely answer arbitrary questions about the behavior of the operating system and user programs.

Apple has also introduced DTrace in its new operating system Mac OS 10.5 (Leopard). This is how it is described at apple.com/macosx:

     DTrace is a low-level debugging and profiling facility for detailed monitoring of virtually any aspect of an application. Based on the Solaris Open Source project, this technology has been integrated by Apple into the Darwin kernel. In addition, Java, Ruby, Python, and Perl have been extended to support DTrace, providing unprecedented access for monitoring the performance characteristics of those languages.

Thus while learning DTrace I tried to compare both of them. Of course to use DTrace you need root privileges on the shell.

Here are the two screenshots (one on each os) with the most basic commands:

Solaris:

Mac OS 10.5:
So its quite evident that Solaris is far ahead with as many as 84997 (in build 72) probes as against 23300 in Leopard.

[1] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg