Sobota IV 29, 2006

NetBeans Quick Tip #26 - Short Package Names

If you use long package names in your projects (e.g. com.mycompany.myproject.mysubproject) you can save some space in your IDE using the following switch:

Just add it into your netbeans.conf file in your netbeans installation or run NetBeans with this switch and you will get something like this:

Short package names

So instead of org.netbeans.modules.openide.loaders I have here, which is still readable but takes so much less space. Because free space matters.

Pátek IV 28, 2006

Did You Know That...

Tick... tick... tick... with every second a new weblog is started somewhere on this planet?

Searching for a Nice Present for your Girlfriend?

Try the NB Classic Glyph Thong:

This way you can think about java development in your favorite IDE even in the most intimate moments!

Úterý IV 25, 2006

All the Best to Sun's New CEO

Sun has a new CEO - Jonathan Schwartz. Scott McNealy will continue as Sun chairman. Read the news story on

For me, this is exciting news. And it's not only because Jonathan cares about NetBeans (he will speak at NetBeans Day in San Francisco) and not only because Jonathan is a blogger, but it is because I think that Jonathan has the right vision and he can continue to grow Sun and make Sun more successfull than before as a CEO. Plus it is great to have a CEO who speaks so often at open-source conferences and works hard on making the developer community happy.

Congratulations Jonathan and as Scott says, kick butt and have fun :)

Pondělí IV 24, 2006

What Is Leetspeak? Ask Microsoft!

In case you haven't seen this... Microsoft's guide to computer slang.

Sobota IV 22, 2006

What to Look Forward at NetBeans Day in San Francisco?

We have almost finished the plans for the NetBeans day in San Francisco. It's the last stop of the NetBeans World Tour. The official schedule omits some of the juicy details... we will also have very interesting partners on stage talking about NetBeans and demoing NetBeans.

I am especially looking forward to see what Joshua Bloch and Neal Gafter will present (did you know that some of the Jackpot rules are inspired by the Effective Java book?). We will have Jonathan Schwartz for the keynote, last year he was very much surprised because he expected something like 50 people, but there was a full room instead... so hopefully he will shave this time :)

We also have nice giveways - first 400 attendees will receive the new revision of the NetBeans IDE Field Guide. It contains new chapters and a lot of updates for version 5.0, it's a must have book for any NetBeans fan. First 400 attendees will get a free NetBeans 256 MB USB stick, too. And of course we'll be throwing in some nice T-shirts as usual. I had in my hands the sling James Gosling is using for t-shirt hurling (it requires 3 people to operate) and it's a nice weapon... we'll see if James will bring his "baby".

What else can you look forward? Demos of the next version of Matisse, talks about the future of NetBeans, Charles Beckham (it's a real showman), we will recognize community members for their contributions, you will be able to meet NetBeans engineers in person and we'll have free drinks at the end of the day with signatures of the new NetBeans book. You will also be able to see some cool demos of Java EE 5 & NetBeans (a bit similar to what you get with Ruby on Rails) and the mobility guys will most probably show how to use Matisse to develop mobile applications (did you know that some phones support AWT?).

So there's a lot of things to look forward, I'll be attending NetBeans day rather as a visitor, although I may also show up on stage... we'll see, we still have 23 days to figure out what else we can add to make this NetBeans day really special ;)

Sobota IV 15, 2006

Wink 2 Is Out

I still have many cool NetBeans 5.0 T-shirts and I am sending these out for contributions to NetBeans. Wink is a free software for recording flash demos and version 2 of Wink has just been released! It supports now sound and makes recording flash demos easier even for beginners.

You can also take a look at our tutorial on creating flash demos... and why don't you try to record one? By doing that you do something useful for the community and it is also fun - our flash demos start to become a kind of knowledge base. Let's help the beginners learn how to use the IDE effectively... flash demos are great for that and believe me, the 5.0 T-shirts are worth it ;)

Pátek IV 07, 2006

Transcript of the 1st NetBeans Community Chat

... is available here. It was fun.

I Am in Brazil!

I just wanted to say hello from Sao Paolo. First experiences... I fought for half an hour with 10 various cash machines, I wasn't able to get any money from them. Finally I got 100 reals from one of them... it refused to give more. I took a taxi to the hotel, because I was quite tired after 16 hours of travelling and although the guy in the airplane told me that it would cost me maximum 50 reals for the taxi it actually costed 108 (which is something like $50) ... so I gave to the taxi driver 100 reals and tried to smile, he definitely charged me more than usual, but I didn't really want to argue with such a guy (I heard some stories about Sao Paolo which were a bit scary). He didn't smile back and although he gave me peanuts (which he bought when we were standing in the heavy traffic from some young guy on the road)... he looked like he really wants his 8 reals and hopefully the hotel people were nice and paid it for me.

I thought that you might find that entertraining - Roumen comes to Brazil :)

Btw, I love the weather here - 26 Celsius degrees / 79 Fahrenheit... quite a difference from recent 5C/41F in Prague! And everything is so green... I will not want to go back :)

Čtvrtek IV 06, 2006

Experiences Developing a NetBeans Plug-in

Check out this blog entry from the creator of the Crossfire O/R plug-in (in 3 weeks with no previous knowledge of NetBeans).

Úterý III 28, 2006

Experiences With Hardware RAID-0

I bought two new 300 GB hard drives for my home PC and created my first HW raid. I have a new motherboard Asus A8V Deluxe which contains a Promise 378 HW raid. I am just amazed how creating a stripe HW raid boosts the performance. I am able to copy a large file from another disc to the array in the average speed of 50 MB/s (yes, MegaBytes). A 600 MB RAID should be enough to store all my data, at least for a while :)

The other thing which really boosts performance especially in games is the dual channel memory. I found out that to use dual channel I needed to flash my BIOS to the newest version... and now I can use dual channel memory together with single channel. Well, I hope two of the slots still work as duall channel - hard to say.

Finally, the new Opterons for the 939 socket are really cheap, perform really well and work with cheap DDR memories... you don't need a true server motherboard and memory to use the Opterons. I think it's a very good move from AMD - they bring server CPUs to desktops and 1 MB of L2 cache matters (compared to Athlon's rather poor 512 kB).

Why do I need all that performance? To play The Elder Scrolls: Oblivion. So far it seems like the best single player RPG I have ever played... and yes you can ride the horse again :)

P.S. And here's another toy I bought just today.

Pátek III 24, 2006


Finally it will be possible to cut & paste information about the environment in which NetBeans is running by one click. This make bug reporting and evaluation much simplier. Thanks, Milan!

Why I Sometimes Dislike Being a Sun Employee

I am a bit unhappy today as a Sun employee because I can't get a free server as other people can. Well, I'd love to play with one of these machines (do we have any in Prague?). You can order your server using this form and if you post interesting benchmarks you may get it completely for free! Btw, I read some blogs where people were complaining it takes a long time to get the server... I asked about it and they say the problem is fixed now, so why don't you try to get a free Sun server? Unlike me you're eligible...

Čtvrtek III 16, 2006

New Peer-to-peer Filesharing Technology Created in Prague

A new interesting filesharing technology is being developed in Prague and it's not happenning in the Czech Sun office. I got this from an interview at Rocketboom, my favourite video podcast. Imagine that any Firefox browser can become a server for easy sharing of files between users... interesting, huh?

The Coolest Thing I Saw at JavaUK06...

The coolest thing I saw on the JavaUK06 conference was the brand new Sun workstation which should be available during this year. It's just so impressive. It has two dual core CPUs (!), up to 16 GB RAM, with many slots for disc raids. Unlike some older workstations it is \*not\* noisy, actually it's quite silent and I was able to put my hand inside the workstation and even with such CPU power it was cold! The internal design looks just awesome - very clean and functional. And they say it shouldn't be expensive - very exciting. I just can't wait to try Doom 3 or Halflife 2 on this workstation :)

I didn't have much chance to visit sessions except for Martin Brehovsky's mobility session. Next to giving my speech I was mostly at the pod - it was an interesting experience. I found out I do not know so many things about NetBeans - people ask all kinds of questions - the one which got me was: does NetBeans support SNMP? ;) So many things to learn and so few time. And I got lots of feedback on what should be improved in NetBeans.

I hope everyone enjoyed the conference, I certainly did. People love the new T-shirts, when they found out I give away the T-shirts just for an answer on a question about IDEs they were gone quite fast ;) It was funny, I asked: "Which IDE do you use and how are you satisfied with it?" and some developers were quite afraid to say Eclipse, but I told them it's of course fine if they use Eclipse and they got the T-shirt as well (and they got a NetBeans 5.0 CD with it, hehehe). Now it's time to enjoy London a bit and prepare for my next stop: Brazil!

P.S. I didn't take pictures, but James Branam from Creator and Vincent Brabant did so I am sure they'll share them. Vincent, it was very nice to meet you finally and to talk about NetBeans!

Středa III 15, 2006

Sun's Jedi Knights Meet in an Indian Restaurant

Who the heck are Sun's Jedi Knights? Well, I decided to call Sun's Evangelists this way based on a remark made by Matt. It's our daily job to show people the bright side of the force and we often have to struggle with the other knights from the "dark side" (there's actually a couple of dark sides I can think off including the one with a not-very-clean but favorite language).

Yesterday we visited with other... knights... a great Indian Restaurant - Kasturi. If you visit London, I certainly recommend it, the food was extraordinary, it was full of different exotic tastes and was just delicious. It was not very cheap but you I was glad to pay for it because it was really good.

Two photos of our knights... sorry for bad quality, it was dark and my phone is still more a phone than a camera:

Úterý III 07, 2006

Do You Want to Win $750?

Write a plug-in for OpenOffice - see the developer contest page. How about writing a NetBeans plug-in?

Čtvrtek II 23, 2006

SDN Channel About Open Communities

This month's SDN Channel is about open communities. Did Sun get inspired by Microsoft's Channel 9? It seems so. This edition of the SDN Channel includes an interview with Jonathan Schwartz who explains why open-source matters and why Sun gives away hardware trials for free. There is also an interview with Ben Rockwood from the OpenSolaris community and Eduardo Pelegri-Llopart from Glassfish. The channel contains a 20-minute video with these interviews and you can check out the previous archives as well (there's Tor Norbye talking about AJAX, a talk about chip multi-threading and more).

I think that such interviews are interesting because they let you learn about the people who are behind various technologies Sun is creating. Btw, the next SDN Channel will be about NetBeans.

Úterý II 14, 2006

O'Reilly Podcast about Java Podcasts

One of the topics of the latest issue of O'Reilly podcast is Java Podcasts and they include an excerpt from my NetBeans podcast :)

"One sign that the java podcast has truly arrived is the emergence of the single topic podcasts. It suggests a certain evolution, you start with general tech shows, then programming shows emerge, then shows just about one language get started, taking this progression a step further, Roman Strobl hosts a podcast focused on a single product: NetBeans - the Java IDE from Sun. While this is the newest of the java podcasts and it's still finding it's way the single topic format is interesting because it allows for singificant depth. Instead of talking about the high level features of the IDE, Strobl can discuss specific modules like Matisse, integration with other products, even documentation and training".

Distributing the future by O'Reilly.

My 1 minute of glory starts at 22:37. Woohooo! :)

Úterý II 07, 2006

Sun Bloggers (us) Should Avoid Duplicate Posts Which Don't Add Value

I read few times a comment that Sun employees are becoming too enthusiastic about NetBeans and Glassfish. It was mentioned in an article with many f-words, but I also read it in some other discussions. Well, we believe we have good reasons to be enthusiastic :)

Anyway I think we can react on one of the comments and try to avoid duplicate posts. We obviously became good in spreading the word, sometimes perhaps too much. I understand that it annoys people who read blog agreggators because then they read the same news several times.

In my opinion we should not post messages which just duplicate what somebody else says. It is IMO fine to write about some known news, but we should always add an interesting opinion. Just repeating news seems to me as a cheap way of a new age PR and I don't think we won't to create such an image for,, etc. Yes, I'm also guilty sometimes.

Should we cool down our enthusiasm? If it's a real enthusiasm and not just a pretended one, I see no point in cooling it down. If people are enthusiastic about technology and understand it, great things can happen. After all it's humans who make the technologies breathe, so if we were cold, nobody would be really interested.

For a happier blogosphere.

Sobota I 28, 2006

WinXP, Ubuntu and Solaris 10 on Sony VAIO

I have a new Sony VAIO S5HP notebook and I decided I'd like to have a multiboot with Windows, Linux and Solaris. It sounds simple, but it took quite a lot of experimenting to find out how to get these three to work together on one hard disk. So I wrote down the experiences to help somebody avoid the struggle with boot managers and the partitioning fun.

At first, you need to get the order of installations right. Linux is the only OS who lets you decide where you want the bootmanager to be installed (and if you want it in the first place) and does a great job in custom partitioning. Windows is kind of dumb, because it doesn't know about the other OSes at all and is very weak in partitioning. Solaris is somewhere in between, it lets you do some basic partitioning, but replaces the master boot record (MBR) with it's own boot manager.

I figured out the order which works is: Windows, Linux and then Solaris. Windows install is easy, everybody's experienced with reinstalling Windows, just because it needs to be reinstalled all the time when other installed software makes it messy and slow. It needs to be installed at the beginning of the disk, leaving the rest space to other OSes.

Linux then comes second - and now comes the big advice - don't install GRUB into the MBR! Install it to the partition dedicated to Linux (e.g. sda2). You won't be able to boot it after installation, but that doesn't matter, Solaris boot manager will help once Solaris is installed. If you installed GRUB into the MBR, Solaris installer would overwrite it and you wouldn't be able to boot into Linux.

The last OS is Solaris. Solaris 10 warned me that it found a Linux partition and things might not work well... I tried it anyway and it turned out to work just fine. Probably the warning is displayed due to the usual fight over MBR.

The tricky part about installing Solaris 10 is that it eats a whole primary partition and creates it's own logical scheme inside of it (unlike Linux which can be installed on any logical partition). So you need to prepare the partitioning by Linux, Solaris won't give you many options to repartition. Perhaps you could do it in Solaris from command line, but I was not that advantageous and used the easy partitioning provided by the Ubuntu installer. See table below for recommended partitioning.

After Solaris 10 is installed, it's boot manager will be used and you are able to boot into WinXP (from he NTFS partition), to Linux (it has a boot record at the beginning of it's ext3 partition) and to Solaris (it ate it's own primary partition).

Finally, here's my suggestion for the partitioning scheme:
0. MBR - Solaris' boot manager
1. Primary partition 1 - NTFS for WinXP - approx. 30 GB
2. Primary partition 2 - ext3 for Linux - approx. 10 GB
3. Primary partition 3 - FAT32 for data sharing between OSes - approx. 25 GB
4. Extended partition for Solaris (active!)
4a. Root (/) - approx. 5 GB
4b. Home (/export/home) - approx. 4 GB
4c. Swap - approx 1 GB, can be shared between Linux and Solaris

You may want to divide the Linux partition into more logical partitions, but I'm ok with having everything on / - I won't use it to store data. If you want to store data in Linux /home, you may want to create a special logical partition just for /home, upgrades are then less painful (you can upgrade Linux and leave it's /home untouched). I know people who define 6-7 partitions for Linux, but I see no point in doing that on workstation - server is a different story.

It would be of course possible to use GRUB instead of Solaris boot manager, but I was not sure if Solaris needs any extra setup when booting, so I decided to use the Solaris boot manager. The funny thing is that if I want to boot into Linux, I at first choose Linux in the Solaris boot manager and then choose it again in GRUB (I can go to Windows from here if I want). I'll try to add Solaris as an option into GRUB and see if it also works. Btw, the new distributions of OpenSolaris seem to use GRUB, so this will simplify the boot management a lot... but all of them still seem to be in alphas, so it's probably better to stick with Solaris 10 if you want to get some work done.

The happy end is - after 1 day and night of installing everything works. I am surprised by speed of Solaris 10 on my notebook. We had an Solaris 8 at school and it was a real Slowlaris, on my VAIO it's very fast, e.g. Mozilla starts in less than 2 seconds. You really want to use JDS with Gnome instead of CDE (which is a terrible window manager). One thing I don't understand is why they can't make bash the default shell - the default shell is weak, especially because keys like backspace don't work. Anyone from Solaris listening?

Now comes the real fun - getting wi-fi, powermanagement, bluetooth etc. to work on all these OSes :)

Sobota I 21, 2006

Do what You Like

... and the rest will come. Another interesting essay from Paul Graham. I have to admit I agree with most of his points.

Čtvrtek I 12, 2006

Thank You, NetBeans Community

Thank you for the incredible amount of feedback I received on my call... I got a lot of direct e-mails. It's nice to see that developers even from larger companies stand behind NetBeans. Especially thanks to those who asked their managers or PR for approval if we can quote them in a press release. This kind of things really helps NetBeans, when sound company names appear in our press releases, we get the attention of the traditional press.

Our list of companies supporting NetBeans is growing... as you may have noticed Oracle was added recently. Again, if your company uses NetBeans, let us know, it helps us with positioning on the market. We also offer joint marketing, so if your company would decide to build on top of the NetBeans platform, we can help you with promoting your product. Contact me at roman (dot) strobl (at) sun (dot) com for more information and if you're interested our marketing director will discuss with you possibilities of cooperation when promoting your company and your products.

Pondělí I 09, 2006

This Guy Just Won't Give Up

Another anti-NetBeans post by David Berlind. Let us know you're out there so that we can prove this guy wrong.

Pátek I 06, 2006

I Think I'm Getting Old

Although I'm younger than most of my NetBeans colleagues, after reading this post of a 15-year old boy using NetBeans, I feel old. Gee, this reminds me of me "developing" using "command line" in Basic on a Commodore C64 and getting my first PC around the age of 15 when I got so excited about the old Turbo Pascal. The times are changing.

P.S. Do you know about the comeback of Commodore? :)

Pondělí XII 19, 2005

How to Try a T2000 Server for Free?

You can get a free trial of a T2000 server from Sun's Jonathan "Santa" Schwartz.

Pátek XII 16, 2005

Russian Prince of Persia

This video is quite amazing... mainly the second part where the guy jumps over buildings like in Prince of Persia.

Středa XI 23, 2005

Artists Would Be Surprised...

NetBeans came with (Henri) Matisse, Eclipse has (Salvador) Dali. Which artist is next? Any suggestions for the NetBeans graphical library? (You can also check out it's webstartable demo).

Pondělí XI 21, 2005

Cute Demo of ZFS

Have you already seen the demo of ZFS (the new and opensourced filesystem in Solaris)? I haven't used ZFS extensively yet but it seems to be very flexible in handling disk space, creating partitions, defining raids, etc. Fdisk looks like last century tool if you see it in action.

Středa XI 09, 2005

Java Sun Studio Enterprise for Free as well...

Similary as Java Studio Creator is downloadable for free from, Sun Java Studio Enterprise 8 is available for free... you can get it from Why to try it? Two words: UML support.

Roman Strobl


« duben 2014