Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ryan

macrumors 6502
May 17, 2002
283
0
Denver, CO
As someone new to Java you should not be using an IDE until you can install the JDK, setup classpaths, run 'java' and 'javac' from the commandline, navigate the JavaDocs and manage packages manually, i.e. through a command line. Yes, this will result in a higher initial learning curve, but will pay off greatly in the future. If your want to use a simple text editor like TextWrangler, JEdit, etc., for syntax highlighting that's fine, but by using anything more like JBuilder, Eclipse, IntelliJ, NetBeans, etc. you'll be doing yourself a huge disservice if you really want to learn the language and not a tool
 

aLoC

macrumors 6502a
Nov 10, 2006
726
0
I have plenty of experience with JDeveloper. However for a beginner I recommend using a plain text editor and compiling everything on the command line. That way when you eventually do start using an IDE you have a clear mental separation between the essential and the inessential.

Edit: ryan beat me to it :)
 

lazydog

macrumors 6502a
Sep 3, 2005
709
6
Cramlington, UK
My thoughts are that you should install the Apple developer tools. It's been a while since I did it but I think there will either be a disk image in the Developer directory on your hard disc or if not somewhere on your installation CD. Failing that you can download the developer tools from the Apple site. The reason I'm suggesting this is so you can be sure that you will have the correct Java installation for the Mac. If you do this you can then fire up X-Code (which will be installed as part of the developer tools), select New Project… Java tool, hit the build and run button and if all is well you should have the infamous 'Hello World' program running.

If you are serious about learning to program in Java then I think it is important to learn to compile and run programs from the command line for the reasons other posters have given. However I'm not entirely convinced that doing it that way right from the start is essential. Using an IDE will have some advantages, eg being able to single step through your program. Depending on you existing programming abilities etc, using the command line might be a bit of an information overload or way to simple and boring!

good luck

b e n
 

toddburch

macrumors 6502a
Dec 4, 2006
748
0
Katy, Texas
Freddy, he means that he is hoping that the new release of Java, "JDK 6", will be available to run on Tiger.

When you "cross your fingers", you are showing a sign that you wish something to happen.

Todd
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.