Thursday, 25 January 2007

Installing NetBeans IDE

How did all of this come about? Well, I’m keen to learn how to develop mobile applications and seeing as most devices have the Java Micro Edition (ME) platform; it just seemed like a good idea to find out a bit more about it. I have had the Java SDK installed on pretty much all the PCs I have used since I was at university – but haven’t ever really got around to doing anything with it. I did a little bit of Java there but only enough to get me through the assignments where it was needed ;-)

 

So, today I look up “Java ME” in my Safari Books Online and a book pops up called “NetBeans™ IDE Field Guide: Developing Desktop, Web, Enterprise, and Mobile Applications, Second Edition”. A few others came up too, but seeing as this was all about the NetBeans IDE – it seemed a good place to start in my eyes. So I have now downloaded and installed NetBeans 5.5 from http://www.netbeans.info/downloads/index.php - pointed it to the JDK on that has been sitting there doing nothing for months and am ready to Rock n’ Roll! I don’t know if it’s the best IDE, but I’ve heard of it before so I figure it can’t be too bad.

 

I’ve created the inevitable HelloWorld app that writes a line to a console, found my way around the IDE a little so now I think I can manage creating new projects, packages, assigning the “Main” project, compiling, running, setting break-points and debugging. I am even impressed that with a few clicks and key presses I can create skeleton code for unit tests with JUnit which just makes the test-driven development process so much simpler. I’m about to get onto version control and working with CVS so I feel I’m slipping comfortably into the world of Java development. I am aware of the fact that I am a C# programmer and this is really Microsoft’s attempt at having a language that looks and runs like Java – and if you add in CruiseControl.net, NUnit and CVS you essentially have the elements that the Java lot have had for years.

 

Believe me when I say this – I am no super geek. I’m not that great a programmer really, but I find it interesting and it earns me a living. I don’t necessarily know the best way of doing things, but I will give it my best shot and if I find a quicker or more efficient way of solving the same problem later then great, but initially, it doesn’t bother me if my programs aren’t the most well written, flawless, bug free super efficient systems they could be. Essentially, all I really care for is that it does what its supposed to  …eventually!

 

Well if you’re reading this, thanks for joining me on my journey into Java. I hope its interesting and exciting and by the end of it I will have hoped to have learned a mountain of new things about the language and programming in general.

No comments: