I'm getting on cool with learning Java (only started a week ago) and so far only used notepad and the command prompt to compile.
(yes..still at command line apps, taking my time, trying to learn things properly.....System Error suggested that, and I agree).
Installed NetBeans and JCreator on my machine, but for later. OK..used JCreator a bit, but never got it to work..nevermind that...looks like just a fancy text editor, numbering your lines and do syntax hightlighting
Just want to know when on start using NetBeans, can one step through your code, line by line, checking variable values as with visual studio (vb.net)?
Know you will say,check for yourself, but it's installed on my home machine, and busy on a notebook at my friends work. So either no, and I stay here, having a free dinner (still no job .. lol) or go home, and use Netbeans .
Cheers
Stranger
Last edited by StrangerInBeijing; Apr 6th, 2005 at 09:22 PM.
Reason: RESOLVED
Not want to start a debate about what is the best IDE to use, but just trying to figure out the ide that comes closes to MS VS IDE.....expecially for stepping and debugging your code...
You can set break points by clicking on the "left margin" of the line you want to stop at.
There is also a Step Into/over and so on command too. I never use it in VS nor NetBeans. But if you go to the Run menu, you can see all the options, and there is also HotKeys for doing this kind of stuff.
In the lower right corner, you can see what the differnent variables values are, and you can also set watches there as in VB.
This pictures showes the values of some variables and objects, and I have used 2 break points:
That's in .... NetBeans? Cuz look a bit different that JCreator.
I want to start with NetBeans the week-end (cuz from what I read it sound good). What does "professionals" use, I mean when you work at a company?
Actually I want to get familiar with a couple of IDE's, but first priority now is learning the syntax without "help"...like intellisense.... hope I'm on the right path though....any advice?
Ohhh...I read from your reply that you had NetBeans installed. I don't have JCreator installed anymore. I only use NetBeans these days. For me JCreator is just a fancy Notpad version too, with a compile button. As long as it doesn't have intely-sense I won't install it either. So I have no idea if it has a step command at all. But I am think I remember that it had the same break option as NetBeans, but I can't remember since it has been a year or two since I last used it.
No that's cool, you gave me just the answer I wanted...there is an IDE that you can put in break points, check variable values, etc like VisualStudio, so that's great.
Yes, Jcreator is a fancy text editor, but I thought it good to move on slowly (plain old Notepad > JCreator > NetBeans (Seems the next good choice) as I really want to get Java under the knee the right way...after 3 years of vb, I still wanted to kick myself for not learning language first.
No problem. Just ask again if there is any other IDE or anything that we can help with. I am sitting at college now, and we have JCreator here. I can't see any step over and into and so on buttons at all. So I guess it is just NetBeans then.
Btw...after I send that reply this morning, I looked at Sun Java site, and see they got some IDE you can download (30 days for free...me aint' paying for sh$t). Ever used that?
Btw...after I send that reply this morning, I looked at Sun Java site, and see they got some IDE you can download (30 days for free...me aint' paying for sh$t). Ever used that?
Do you have a link for that one? NetBeans is suns open projects IDE AFAIK. It does much more then you need, so if there is an other one you can pay for there, then I think it will be more then too much over head for any new persons to use. But I havn't tested it though. So I am not sure.
Originally Posted by StrangerInBeijing
Still would like to know...what does pro's use?
Cheers!
Stranger
I guess there is no real answer to this, as there is no real answer to this for other languages like C++ either. Even if most users use VC++ there is a lot of alternatives as some of the big games (think it was quake) was actualy compiled on a free compiler. And other game vendours (SP?) is paying $25k just for a compiler that they can all plug into an all ready over prized VS IDE, and still buy expensive profilers and Intely-Sense plug ins as "Green Tomatos" - Visual Assistance or what it was called again.