Java: What tools/software/IDE to use ?

Status
Not open for further replies.

orestis

Ars Tribunus Militum
1,598
Ok, I chose a language and a pet project to practice Java.

Now what tools do you advise me to use to get the best of it ?

I haven't used an IDE before (well, that's a lie, I actually use JBuilder but I really just hack code thus missing all the "power" an IDE gives) but I'd like features like syntax highlighting and the neat thing that JBuilder has that auto-completes object names etc etc.

I've downloaded the Java SDK and Forte CE, but I don't like Forte: seems too slow and too, well, outlandish for a Windows user. I wouldn't mind a command line compiler ( I grew up with DOS) but I find it rather a hassle.

Any suggestions ?

PS. Only freeware please, I have no money right now to buy stuff.
 

wb

Ars Legatus Legionis
25,208
Subscriptor
A long time ago I bought Visual Studio academic version that came with Visual C++, Visual Fortran, and Visual J++. I like the Visual Studio IDE, but I don't like using MS's "embrace and extend" compiler and VM, which has a tendency to generate code that's incompatible with real JVMs. So, I found a hack to replace the MS VM with JDK (or whatever else you want) and used that for a long time.

Nowadays I don't have visual J++ on my laptop, and when I write Java code I just write it in vim. I lose a bit of the automation (I can't double click on a compiler error message and go to that line in the code, nor do I get a pretty tree structure to view my classes, etc.) but it works great for me.
 

vanguard

Wise, Aged Ars Veteran
194
JBuilder is the most popular java ide. I use it and I like it a lot. On Linux, (where JBuilder is not available) I use Idea ( http://www.intellij.com/idea/ ). It's another very good editor that popular at my local jug ( http://www.rtpjug.org/ ).

I'm pretty sure that they are both free. IDEA used to expire but I don't think that's true anymore.

As for using the full power of the IDE, my opinion is that is a poor practice for a starting programmer. Years ago when I first started in Java I bought a copy of Visual Cafe. Five minutes later I had a GUI app with about boxes and 250 lines of code that I didn't understand at all. That's when I decided that if I was serious about learning I needed to drop down to vi (or emacs or whatever). Using a good edditor is cool but using code generation tools robs new programmers of learning oppritunities (and saves experienced programmers time).

Anyway, that's my $0.02.
 
I coded a lot in Java at work, and by the end of the project, all of the programmers were using EditPlus 2 exclusively. Our interface was built mostly on-the-fly from layouts in a database, and all the components were highly modular, so an IDE didn't do us much good for GUI related tasks. After all that, I found coding the interface was actually more efficient than building it visually once we had a good set of tools to inherit from.
 
I'm taking a java class, and we're using a teaching tool called BlueJ. It's cool, and probably perfect for starting out. So far, all I know is that it least you easily edit one class source file and run the methods in it using a right-mouse click.

The interface might confuse you at first, but it's really only a few clicks from editing to running your class methods.

http://www.bluej.org/

I've only programmed java for a few hours, and bluej is cool for learning. Tonight I installed forte, which I'm eager to try out as soon as I know what the hell I'm doing!

gecko
 

vanguard

Wise, Aged Ars Veteran
194
Originally posted by Revenge of Doh:
Quote: "Originally posted by vanguard:
On Linux, (where JBuilder is not available)"

Huh?

JBuilder is available on Linux. The fonts are almost unreadable but it works.

Hmm, I stand corrected. It looks like my information is out of date. Given the fact that JBuilder is available on Linux that would probably be my first choice there too.

I still stand by my advice not to have too much code written for you by your ide.
 

MikeApp

Ars Centurion
257
Subscriptor
Forte 3 is acceptably fast on my home PC (Celeron 400 :( ) and fine on my work PC (P500) and Blade 100. It seems faster to me than the earliest Forte releases (might be that I have added more memory over time...), and I haven't experienced any odd behavior (crashes, freezes) with F3.

If you have an .edu affiliation, you can pick up the enterprise level for $100 or less, depending on the program you qualify for.
 

orestis

Ars Tribunus Militum
1,598
(hasn't this been discussed before?)

Sorry, should've searched before.

But I'm talking Windows here, and only free stuff. Forte on my machine (Athlon 800 256MB) IS quite slow, not only starting up, but using, too. Jbuilder is good, but slow, too. Thanks, anyway. Probably Jbuilder is the best, after all. As for the SDK, I'm little scared of using betas, as I'm a newbie to java: I couldn't tell the difference between a broken program and a broken SDK. When it's ready I'll use it, though.
 

reboot

Ars Legatus Legionis
10,818
Forte on my machine (Athlon 800 256MB) IS quite slow, not only starting up, but using, too. Jbuilder is good, but slow, too.

Forte is slow on any machine (or at least as a sluggish feel). JBuilder (the free version) while not as slow isn't exactly spiffy either.

That's because the interface is all java. Although usable, for something this size, it is still quite slow, unfortunatly.

As ridiculous as it sounds , stay away from java interface for IDEs.

Try the personal edition of visual age. It is much more of an IDE than Forte and yet feels ligther.
It is still a memory hog but it is also a complete (I mean it!!) IDE, and has the best debugger you've ever seen.
At least if it feels heavy, you'll forgive it :) ;)

I'm surprised nobody else has voted VA. it usually gets quite a bit of recognition. :confused:

Try it, thank me later. :D
 

Midlands

Ars Praetorian
535
Subscriptor
Now, given, I hack almost exclusively on Linux.

However, I think you'll find that as software increases in complexity, people almost uniformly revert back to using a Makefile to build it -- just because there are inevitably steps (compile and deploy JSPs, run unit tests, munge SQL into a database, etc.) that are difficult or impossible to do with an IDE.

Once you've gone that route, there's a lot to be said for just getting really, really friendly with emacs and using that. We have developed a set of keybindings that do things like check in/out from Perforce (source control), import new classes you use automatically (this is a *killer* feature :D ), and so on. Toss in jikes' "emacs-mode" compilation (for error checking/tracking), font-lock-mode (syntax highlighting), etags (cross referencing), and judicious use of find/grep/etc., and you can do virtually anything.

I started out on IDEs (CodeWarrior particularly -- I loved the "simple, no extra BS, but compile insanely fast" feel of it), but, eventually, every significant software project I've done has migrated to emacs and a Makefile.

It depends on what you want to do, but it is seriously worth considering as an alternative. Available on Linux and on Windows (emacs for Win32 plus cygwin).
 
Originally posted by reboot:
At least if it feels heavy, you'll forgive it :) ;)
Sure you'll have to forgive it, that's because IBM is phasing that product out and replacing it with a new Java based product - WSAD (darn! another Java based GUI - what are those folks thinking? :rolleyes: </sarcasm> )

No further development will be done on VAJ by IBM which is now focused on the eclipse-based WSAD, which is Java based and a) has more complete features that VAJ b) uses platform native hardware-accelerated GUI widgets and controls (so it's plenty fast) c) you can also download it for free.

--- MWNH ---
 

reboot

Ars Legatus Legionis
10,818
Sure you'll have to forgive it, that's because IBM is phasing that product out and replacing it with a new Java based product - WSAD (darn! another Java based GUI - what are those folks thinking? :rolleyes: </sarcasm> )

I am very much aware of that and also notice that the very first reply at the top (mine) mentions eclipse.

I don't care if they're phasing it out, because as of right now it is still the best product available IMHO, and you can also get it for free.
I'll move to something else when VAJ is outdated.

JBuilder is great, but the full version, not the free one.
 

gumbo

Ars Tribunus Angusticlavius
6,107
Oh yeah, I use Jext w/ JDK1.3.1 Some JDK's seem to have probs with it though, so get the latest JRE and install it later.

Kinda OT, but does anyone wish Sun would release the JRE with the bin devel tools? I hate having to dl 10-15mb of sources I never use. The rare occasion I do use it, it could be up on the web for later, optional dl.

gubmo
 
Originally posted by reboot:
Oh and don't get me wrong, I am very much pro-java and I'm not saying java based IDEs aren't usable, it's just that none of them feels exactly spiffy yet and it is one of the things the original poster mentionned.
OK :)

I hope you are using jFactor, because JBuilder 6 (at least the Enterprise version I'm using now) has refactoring along with other things which really float my boat.

But I never really liked the Smalltalk-like interface of VAJ anyway.

--- MWNH ---
 
Originally posted by Midlands:
Now, given, I hack almost exclusively on Linux.

However, I think you'll find that as software increases in complexity, people almost uniformly revert back to using a Makefile to build it -- just because there are inevitably steps (compile and deploy JSPs, run unit tests, munge SQL into a database, etc.) that are difficult or impossible to do with an IDE.
If you're doing java, then i think Jakarta Ant is a better solution than using a makefile.

Once you've gone that route, there's a lot to be said for just getting really, really friendly with emacs and using that. We have developed a set of keybindings that do things like check in/out from Perforce (source control), import new classes you use automatically (this is a *killer* feature :D ), and so on. Toss in jikes' "emacs-mode" compilation (for error checking/tracking), font-lock-mode (syntax highlighting), etags (cross referencing), and judicious use of find/grep/etc., and you can do virtually anything.

I prefer using vi(m) personally ;)
But hey, each to their own.

I started out on IDEs (CodeWarrior particularly -- I loved the "simple, no extra BS, but compile insanely fast" feel of it), but, eventually, every significant software project I've done has migrated to emacs and a Makefile.

It depends on what you want to do, but it is seriously worth considering as an alternative. Available on Linux and on Windows (emacs for Win32 plus cygwin).

In the end though. ... I think for a beginner, its better to just use a simple editor which has text highlighting, and using the jdk on the command line, just to get a feel for the language. Eventually, you'll be able to judge for yourself what kind of "Extras" you need, rather than having an IDE impose various extraneous concepts on you.
 
Status
Not open for further replies.