My JAVA class starts tommrow...what compilers are used for JAVA?

chiwawa626

Lifer
Aug 15, 2000
12,013
0
0
My JAVA class starts tommrow...I plan to prepare by reading the first chap of the java book, but i was wondering what compiler do most colleges use for JAVA? (that way i can get it before class begins)??
 

Martin

Lifer
Jan 15, 2000
29,178
1
81
if they run linux, they'll use Kaffe

but it doesn't matter. The Sun SDK+Jcreator will be fine for you.
 

lukatmyshu

Senior member
Aug 22, 2001
483
1
0
Jikes is pretty impressive ... remember you're using a compiler (javac) as well as a Virtual Machine (java)
 

kalster

Diamond Member
Jul 23, 2002
7,355
6
81
actually java is interpeted lol at the machine level ne way lol

but the java sdk is essentially all u need
 

Ryan

Lifer
Oct 31, 2000
27,519
2
81
JBuilder by Borlan. It's the only thing my college uses (although, I'm a few weeks into the class and I'm COMPLETELY lost)
 

wfbberzerker

Lifer
Apr 12, 2001
10,423
0
0
i hate how slow it compiles tho....

a 10 line program takes a good 20 seconds to compile (first time around), even on a 1ghz+ computer.
 

mugs

Lifer
Apr 29, 2003
48,920
46
91
Originally posted by: kalster
actually java is interpeted lol at the machine level ne way lol

but the java sdk is essentially all u need

... It's compiled into a .class file which is then interpreted by the VIRTUAL machine on whatever platform you're on.

Sun's Java SDK will give you what you want chiwawa626. If you want an IDE for doing GUI stuff easier, Sun has a program called Forte.
 

mugs

Lifer
Apr 29, 2003
48,920
46
91
Originally posted by: wfbberzerker
i hate how slow it compiles tho....

a 10 line program takes a good 20 seconds to compile (first time around), even on a 1ghz+ computer.

wtf?! That would take less than a second on my computer.
 

kalster

Diamond Member
Jul 23, 2002
7,355
6
81
Originally posted by: mugsywwiii
Originally posted by: kalster
actually java is interpeted lol at the machine level ne way lol

but the java sdk is essentially all u need

... It's compiled into a .class file which is then interpreted by the VIRTUAL machine on whatever platform you're on.

Sun's Java SDK will give you what you want chiwawa626. If you want an IDE for doing GUI stuff easier, Sun has a program called Forte.

uh huh, thaz wat i meant (at the machine level)

if u want gui, forte is good but its a pure java implementation so it can be slow

i personally use eclipse (its by IBM) its an open source IDE, which can be used with diff stuff (java, c++, watever) and its not that heavy either


u might have to setup the pathsand stuff tho , for jdk and help files and stuff

if you dont wanna mess with that you can just use forte or jbuilder or ne other java specific IDE
 

mugs

Lifer
Apr 29, 2003
48,920
46
91
Originally posted by: kalster
Originally posted by: mugsywwiii
Originally posted by: kalster
actually java is interpeted lol at the machine level ne way lol

but the java sdk is essentially all u need

... It's compiled into a .class file which is then interpreted by the VIRTUAL machine on whatever platform you're on.

Sun's Java SDK will give you what you want chiwawa626. If you want an IDE for doing GUI stuff easier, Sun has a program called Forte.

uh huh, thaz wat i meant (at the machine level)

Right, but he was asking for a compiler... he still needs the compiler even though it's just compiled into bytecodes that are interpreted by the JVM. :)

if u want gui, forte is good but its a pure java implementation so it can be slow

That is true. But it's free, and it runs well if you have a decently fast computer. :)

i personally use eclipse (its by IBM) its an open source IDE, which can be used with diff stuff (java, c++, watever) and its not that heavy either

Interesting, I'll look into that. I never particularly LIKED Forte. Never really liked doing GUI stuff in Java though.

u might have to setup the pathsand stuff tho , for jdk and help files and stuff

if you dont wanna mess with that you can just use forte or jbuilder or ne other java specific IDE

Good point, that should be in the documentation. But yeah Chiwawa626, do you know how to set up environment variables in Windows?
 

wfbberzerker

Lifer
Apr 12, 2001
10,423
0
0
Originally posted by: mugsywwiii
Originally posted by: wfbberzerker
i hate how slow it compiles tho....

a 10 line program takes a good 20 seconds to compile (first time around), even on a 1ghz+ computer.

wtf?! That would take less than a second on my computer.

i think its just java.... its like that on all the computers we've used (c++ compiles fine)
 

mugs

Lifer
Apr 29, 2003
48,920
46
91
Originally posted by: wfbberzerker
Originally posted by: mugsywwiii
Originally posted by: wfbberzerker
i hate how slow it compiles tho....

a 10 line program takes a good 20 seconds to compile (first time around), even on a 1ghz+ computer.

wtf?! That would take less than a second on my computer.

i think its just java.... its like that on all the computers we've used (c++ compiles fine)

Well, I can't argue with your personal experience, but it's very fast for me... I think I would have noticed long compile times, I recompiled a lot when I was working on class assignments (which were usually in the range of 500-1000 lines).
 

wfbberzerker

Lifer
Apr 12, 2001
10,423
0
0
Originally posted by: mugsywwiii
Originally posted by: wfbberzerker
Originally posted by: mugsywwiii
Originally posted by: wfbberzerker
i hate how slow it compiles tho....

a 10 line program takes a good 20 seconds to compile (first time around), even on a 1ghz+ computer.

wtf?! That would take less than a second on my computer.

i think its just java.... its like that on all the computers we've used (c++ compiles fine)

Well, I can't argue with your personal experience, but it's very fast for me... I think I would have noticed long compile times, I recompiled a lot when I was working on class assignments (which were usually in the range of 500-1000 lines).
what do you use to write/compile your programs?
 

mattlear

Senior member
Jun 2, 2000
349
0
76
I use this tool "ultraedit" to write my programs (similar to notepad, but it recognizes java keywords)

Since I'm a wintel whore, I just use the command prompt and javac the program.

At work, I use JBuilder.

One of the BAD things about using an IDE when learning java is that the IDE tends to do stuff for you. (Like dragging a JFrame into a workspace, putting buttons on it, etc). While it tends to make life easier, IMO it's not such a great thing to use when learning. I think it really is much better to use your favorite text editor and code the GUI using that. This way you will at least understand how the stuff really works.

This way, later on when you are using an IDE and it does something stupid, you'll know how to fix it. :)

Just my $0.02,

-Matt

P.S. I can relate to the person who was completely lost using JBuilder at college. When we got it at my office, there are just WAY too many options to go through. Do people really use all the extra stuff they put in the IDE?