I am currently available as a freelance Senior Perl Programmer. Download my up-to-date resume (PDF)
John Bokma MexIT
freelance Perl programmer

Playing with Java

Tuesday, August 19, 2008 | 0 comments

Today I wanted to experiment a bit with the Desktop class - new in Java SE 6. One method I wanted to try out today was the browse() method, which allows a Java program to open a URI in the user-default browser, provided the platform is able to support this.

But before I started, I first downloaded the The Java SE Development Kit (JDK) version 6 update 7 so I could install it fresh. Which I did after I had uninstalled all Java JDK and JRE versions that various updates had left on my Windows XP system, freeing quite some hard disk space.

And shortly after I had written my own command line interface program OpenURI, which allows me to open one or more URIs (web addresses) in my current browser: Mozilla Firefox.

Please post a comment | read 0 comments | RSS feed
Two Books >
< Feeding time