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

Shahrum

macrumors newbie
Original poster
Dec 29, 2005
25
0
Northern Virginia
Hey there,

This coming up Spring semester (starting Jan 23) I'm taking Computer Science 310 which is basically a Java programminig class. This is also the first semester of college in which I'll be using my powerbook. I used to have a Dell 700m and used Visual Studio to do C++ programming/compiling in prior classes.

What do you all recommend for me to use as either a free or pay solution for developing, compiling, etc. Java applications for my CS course? Thanks!

Shahrum
 

portent

macrumors 6502a
Feb 17, 2004
623
2
Eclipse (eclipse.org)
Free, extensible, and probably as close to an "industry standard" Java IDE as you'll get.

Dog slow, though.
 
If your class doesn't require a lot of programming, you might find it easier just to stick with Subethaedit and do the compiling on your own. I find IDEs excessively overkill for most first year Computer Science classes. The only real use for IDEs, as far as I'm concerned, is for projects, though. But aside from projects, if you're going to dabble with some new test code of something you learned in class, it's probably easier to just have a template Java class with the main method already stubbed and fire away.

However, I second the recommendation for Eclipse. Too bad it's a bit of a resoruce hog, but oh well. It's an excellent IDE. It can even do other languages if configured.

Just my thoughts.
 

bousozoku

Moderator emeritus
Jun 25, 2002
16,120
2,397
Lard
I like jGrasp a lot because it supports Java and Objective-C along with C and C++. It's also light so it doesn't take long to get it going and you don't wait forever for things to happen.
 

nutmac

macrumors 603
Mar 30, 2004
6,171
7,748
If you are going with Eclipse, which is pretty used by most Java developers I know (and I am one of the users), be sure to load up RAM. I recommend minimum of 1 GB, ideally 1.5 or 2 GB.

You could also use xCode, but it's pretty lame as far as Java is concerned.
 

slooksterPSV

macrumors 68040
Apr 17, 2004
3,544
306
Nowheresville
If you are going to be developing applications based on JNI, AWT, Ant or SWING I'd say use XCode. Here's a pic of what apps XCode can do via Java.
That's just my suggestion. I'm going to try a SWING app and see if I can create my own Interface using Interface Builder... Nope no luck yet. I'd say XCode
 

Attachments

  • Picture 1.png
    Picture 1.png
    13.9 KB · Views: 2,242

nokq

macrumors member
Aug 17, 2003
47
0
Shahrum said:
Hey there,

This coming up Spring semester (starting Jan 23) I'm taking Computer Science 310 which is basically a Java programminig class. This is also the first semester of college in which I'll be using my powerbook. I used to have a Dell 700m and used Visual Studio to do C++ programming/compiling in prior classes.

What do you all recommend for me to use as either a free or pay solution for developing, compiling, etc. Java applications for my CS course? Thanks!

Shahrum

Shahrum,

I just finished my CS degree and have been working for about 6 months. In college I used Emacs. Alot of my programming assignments were straightforward and simple. Thats a good time to learn a good editor and Emacs has been around forever.

Now that I'm working, we use JBuilder (Enterprise). I find that it helps alot with refactoring your code. Emacs just doesnt have that kind of functionality. I prefer it with Emacs style key bindings for moving around and searching.

Pragmatic programmers recommend Emacs. The choice is yours though.

Since your still in school, I'd pick up Emacs.

Cesar
 

savar

macrumors 68000
Jun 6, 2003
1,950
0
District of Columbia
The best IDE is called Terminal, and you'll find it in Applications/Utilities.

Use a text-editor with syntax coloring (like XCode, e.g.) if you want, but do all of your compiling and running from a command line. Keep in mind that's how your profs and TAs will run your assignments, so make sure to do it the same way.
 

reikon

macrumors newbie
Jan 15, 2006
20
0
I second/third/whatever Eclipse. It's awesome. Best free Java IDE i've ever used. (and I've only used free ones)
 

Mitthrawnuruodo

Moderator emeritus
Mar 10, 2004
14,665
1,480
Bergen, Norway
For a beginner's course in JAVA just using a simple text editor like TextWrangler and compile/run the apps using Terminal is your best choice.

If you really want (or are required to use) an IDE, then BlueJ is the absoulte best for a beginner. That's made to be educational and is very easy to start using. (Once you out-grow that, then go for Eclipse.)
 

reikon

macrumors newbie
Jan 15, 2006
20
0
Mitthrawnuruodo said:
For a beginner's course in JAVA just using a simple text editor like TextWrangler and compile/run the apps using Terminal is your best choice.

If you really want (or are required to use) an IDE, then BlueJ is the absoulte best for a beginner. That's made to be educational and is very easy to start using. (Once you out-grow that, then go for Eclipse.)

I disagree. I don't like using vi, or text editors with syntax highlighting. I prefer either Eclipse or Xcode, because they offer auto-complete, and in Eclipse at least checks your code as you type it. It'll smash you in the face with a frying pan and a nice note that says "YOU FORGOT A SEMI-COLON HERE STUPID!". You can also install C/C++ plugins and use it to write in those languages, which is also very neat.

there are GUI visual editor plugins, but I couldn't get them to run on mac. Eclipse it's self is very slow on my iBook, which is why I use Xcode, but on an Athlon 64, eclipse = teh win.
 

Jedi128

macrumors 6502
Jul 7, 2005
274
0
New York, NY
I am currently taking AP Computer Science at my high school and I use BlueJ. Its good for beginners and I would recomend it. The rest of my class uses JBuilder though. There are a lot of free solutions out there, you just have to try them and see how you like them....
 

Mitthrawnuruodo

Moderator emeritus
Mar 10, 2004
14,665
1,480
Bergen, Norway
reikon said:
I disagree. I don't like using vi, or text editors with syntax highlighting. I prefer either Eclipse or Xcode, because they offer auto-complete, and in Eclipse at least checks your code as you type it. It'll smash you in the face with a frying pan and a nice note that says "YOU FORGOT A SEMI-COLON HERE STUPID!".
And that's excactly why it's not a good idea (pun intended) for a beginner, you will not learn as well by using an IDE that generate half the code and then nurses you through the rest. You learn a lot more by starting with small "hand coded" example apps that you debug yourself when the compiler screams at you.

This is how I (as the only one at my college) got 100% (grade 1.0) on my final exam in JAVA 101 (that year, out of about 100 students), without any prior programming experience... ;)
 

odedia

macrumors 65816
Nov 24, 2005
1,047
157
Eclipse

I give two additional thumbs up for eclipse.org

It's a very professional tool. I work for a third-tier java development company, and they use eclipse as the main programming platform. It is also supported by IBM, so you have a good "dad" too. It's very intuitive.

Oded S.
 

mixedcontent

macrumors newbie
If you are going to be developing applications based on JNI, AWT, Ant or SWING I'd say use XCode. Here's a pic of what apps XCode can do via Java.

Of the Java project types I see in XCode 2.5, most will build as soon as they are created by XCode. The "Java JNI Application" fails, complaining of "reference to undefined _printf". Anyone have a clue as to why that happens or (more to the point) what to do about it?
 

Cromulent

macrumors 604
Oct 2, 2006
6,810
1,100
The Land of Hope and Glory
I disagree. I don't like using vi, or text editors with syntax highlighting. I prefer either Eclipse or Xcode, because they offer auto-complete, and in Eclipse at least checks your code as you type it. It'll smash you in the face with a frying pan and a nice note that says "YOU FORGOT A SEMI-COLON HERE STUPID!". You can also install C/C++ plugins and use it to write in those languages, which is also very neat.

That is really bad for someone learning to program as they end up relying on the program to point out their mistakes rather than being able to debug their own code. What happens when you go and work for a company that does not allow the use of these types of IDEs? You'd be up the proverbial creek.
 

Osarkon

macrumors 68020
Aug 30, 2006
2,161
4
Wales
For a beginner's course in JAVA just using a simple text editor like TextWrangler and compile/run the apps using Terminal is your best choice.

If you really want (or are required to use) an IDE, then BlueJ is the absoulte best for a beginner. That's made to be educational and is very easy to start using. (Once you out-grow that, then go for Eclipse.)

Having completed the first year of Computer Science this is precisely how we were taught, and it works well.

TextWrangler > BlueJ > Eclipse.

Eclipse is rather daunting when you first open it, but proves invaluable later on, after you've got the general gist.
 

Littleodie914

macrumors 68000
Jun 9, 2004
1,813
8
Rochester, NY
I agree with many of the other posters in that you should start with a simple text editor like TextWrangler and compile your code from the command line, and then move your way up to Eclipse.

I'm a 2nd year CS student, and Eclipse is absolutely the way to go for a great IDE. Bloated though it may be, with built in compilers, syntax coloring, compiling on save, SVN support, etc. It's the only IDE I've used for the past year or so. :)

Edit: Wow I just realized this thread is from 2 years ago. :rolleyes:
 

rsm5068

macrumors regular
Jan 21, 2008
196
0
Eclipse. That's what we use in class and is the standard IDE of the College Board.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.