开发者

Choosing Java tools (IDE and compiler) for beginners [closed]

开发者 https://www.devze.com 2022-12-14 13:53 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

I stumbled across this:

http://en.literatepr开发者_Go百科ograms.org/Vending_Machine_%28java%29

It is a java vending machine, I want to read it and also follow along, write the same code.

What's the fastest way to get java setup such that I can just start coding the java vending machine as I read along?

I was in the process of downloading the Java SE Development Kit 6u17 for Windows, Multi-language, when I looked to the right hand side of the same page and just realized that I can also download Netbeans.

Again, the question is what's the best java IDE or compiler that a newb like me can use to do the java vending machine linked to above.

Or

What are the java programmers using to code java with?

I am new to java, C++ is easy to install and start coding, likewise so is PHP, but java just seems like an interesting new beast to me, thank you for not flaming.


There's the 3 big ones:
Eclipse
NetBeans and
IntelliJ

All are nice. I'm a big Java noob, but I like NetBeans the best. Can't really tell you why, though :) It's all personal preference.

NetBeans is probably the most RAM-hungry of the three..


Just for the record. If all you want to do is actually just do some minor editing, compile and run, you can do nicely with your favorite editor along with javac from the Java Development Kit (as opposed to the Java Runtime).

Have a look at the Java Tutorial which tells you all you need to know. http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html


Eclipse also has great support for C++ and PHP development, so given your experience with these languages, you may find Eclipse attractive.


I think the simplest and fastest way for a newbe to really learn java is to use only the tools contained in the SDK and a simple text editor. This way you can concentrate on the language and its ecosystem. You are not distracted by IDE issues like project management or launch configurations etc.

With this approach you are forced to learn also what is normally hidden by the IDE. Priceless knowledge when something goes really bad.


Though for learning Java, I'm tempted to suggest that you start with the SDK and no IDE but a decent programming editor and compile and run by hand for the first program. There are also some very light-weight IDE/editor hybrids for Java - though I can't produce a name right now.

I think the big Java IDE have too many features and stuff going on for a newbie. On the other hand they correct many errors on their own. Can't make up my mind if this is a good or a bad thing for a newb.


You should also take a look at BlueJ. This is a small but powerful Java IDE, designed with a strong focus on education. BlueJ is part of an approach to learn OO programming in general and java in particular. BluJ fills the gap between bare bones JDK tools and advanced professional IDE's like Eclipse and NetBeans. It may be exactly what you want and and need for your purpose.


Two obvious suggestions are NetBeans and Eclipse.

Both are free and great for Java Development.

Which you use is a matter of choice. For Java Development I personally probably prefer NetBeans. As NetBeans is produced is usually very up to date with latest developments in Java. I also like how the project build is all done via Ant but again this is down to personal taste.

Although I'm currently using Eclipse as the Google Plug-in for Android development is only for Eclipse. I would say this usually the case with a lot of Plug-ins.


When I first learnt Java back in 2001, I used TextPad for java programming, for me it was very good, I had write code to develop GUI, no drag and drop option, simple pure code. Then I used JBuilder, Now I am using Netbeans. My suggestion is start with something which will concentrate on pure coding rather than depending on IDE's drag on drop features. When you will comfortable with coding then you can move on to more sophisticated IDE which I mentioned above. Good luck!


Dr. Java is brilliant for newbies. It doesn't have code completion/project tools that scare you. Instead it's simple to use and also has an interactive shell I use to check my syntax


As a beginner, it's good to use the basic notepad or notepad++ to write the Java code and compile & execute it using the command prompt. It will help to understand the fundamentals such as how the compiler works and how code is built etc. For professional development, I'd prefer IntelliJ IDEA.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号