Thursday Aug 23, 2007

Been meaning to post something about this for a while, but got caught up with other things.
Anyway, if you're running SunStudio 12 with Fedora 7 you probably noticed that the Collector doesn't work. Here's the output for a simple command line call to collect:


[rv@oak bin]$ ./collect
> Unknown Redhat Linux version
> Fedora release 7 (Moonshine)
> WARNING: Linux-32-bit, 2 CPUs, RH_UNK system oak is not supported
> by the Performance tools.
> NOTE: The J2SE[tm] version 1.5.0_09 found at
> /usr/java/jdk1.5.0_09/bin/java (picked by Sun Studio Default) is
> supported by the Performance tools.
> WARNING: Data collection may fail: system is not properly configured or
> is unsupported.

And here's the output if you run it through the IDE:


Running "/opt/sun/sunstudio12/prod/bin/collect -d /home/rv/Documents/HelloBug/nbproject/private/experiments -o test.1.er -A on -p on -S on /home/rv/Documents/HelloBug/dist/Debug/GNU-Linux-x86/test" in /home/rv/Documents/HelloBug

Unknown Redhat Linux version
Fedora release 7 (Moonshine)
WARNING: Linux-32-bit, 2 CPUs, RH_UNK system oak is not supported by the Performance tools.
WARNING: Data collection may fail: system is not properly configured or is unsupported.
Creating experiment database /home/rv/Documents/HelloBug/nbproject/private/experiments/test.1.er ...
Run failed. Exit value 139.

Notice that it fails with exit value 139.

I found a thread (http://forum.java.sun.com/thread.jspa?threadID=5188632) over at the SunStudio forum but they come up with the wrong conclusions.

You see, the documentation lists the supported platforms and Fedora isn't one of them. But that doesn't mean it shouldn't work. I know people who have been using it with Ubuntu and it's working fine.

I managed to get a hold of someone from the development team to check it out and this is now officially a bug. SunStudio is not open source so I can't point you to wherever the bug's listed, but trust me, it's there somewhere.

I hope they come out with a fix for it in the near future.

Thursday Mar 08, 2007

1. Matisse GUI Builder
Gotta love it. Ain't no GUI builder like Matisse and I'll fist fight you over it.
Just kidding :)

2. Collaboration Module
If you do any collaborative coding, that is, if you need to show someone else a piece of code and allow that person to correct it (or mess it up), than this is for you. You really should try it.
It's like an IM inside Netbeans.

3. Java DB
Netbeans doesn't come with it out of the box, but it has some integration from the start.
I migrated all of my MySQL apps to Java DB/Derby. You can't beat a 2Mb footprint, not to mention how easy it is to embed it into an application.

4. Profiler
If you work with threads and synchronization this will save you A LOT of time.
I recommend using it while listening to The Police's 'Synchronicity' record. Kick ass album.

5. Mobility Pack
Right, then you'll want to write your own version of Tetris for your cell phone because you don't wanna pay five bucks or so to your cell phone provider. Or maybe write some 'real' mobile apps. It doesn't get any simpler than this.

And I hear Netbeans 6.0 had it's code editor reworked and it's faster.
Can't wait to get my hands on it.

This blog copyright 2009 by rv