aidan_walsh wrote: Guys, stop telling him to run off and download Eclipse or any other IDE. The man wants to learn the language, and the best way he is going to do that is not by having a program hold his hand along the way. Using a simple tect editor and a command line installer will teach him far more in the first few weeks than any IDE will allow.
class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); //Display the string. } }
aidan_walsh wrote: Guys, stop telling him to run off and download Eclipse or any other IDE. The man wants to learn the language, and the best way he is going to do that is not by having a program hold his hand along the way. Using a simple text editor and a command line compiler will teach him far more in the first few weeks than any IDE will allow.
kyote00 wrote: Note if you ever want to learn a new language (say C++) then you can also use Eclipse so the effort is reusable.
seamus wrote: When I was in first year in college, our lecturer informed us that JBuilder (what we'd been using in college) was free on the cover a PC mag that month. So we all promptly went out and got it and used nothing but JBuilder for Java. It was great, you just write the code, hit "Run" and everything works. Two years later, we were all struggling to submit projects because we hadn't a clue how to use the command-line compiler. Now, we were sufficiently savvy to figure it out (though a couple of people never managed to), but I do think it makes more sense to start at the bottom. A "Run" button on a program isn't helping you learn, unless you already know what the run button is doing for you. Incidentally, the year that came behind us were forced to use textpad to write their Java.
jester77 wrote: It's probably a little daunting starting out. A good place to start is Sun's (creator's of Java) Java Tutorial.http://java.sun.com/docs/books/tutorial/index.html Use notepad at the start for writing your Java code, otherwise an IDE (Integrated Development Environment) will be doing alot of the work in the background for you and you won't understand what is happening. Once you understand how everything is working then use an IDE. NetBeans and Eclipse are probably the 2 most popular free IDE's at the moment. The last 2 companies I've worked for use Eclipse, that would be my favourite but try them all out. Download the J2SE 5.0 and install it. That's all you need to get going. The tutorial will explain all of this for you with links to what you need and will help you on your way. There is plenty of good info and sites on the web, no need to pay for a course or purchase books. Once you get through the tutorial have a read of Thinking in Java, 3rd Edition by Bruce Eckel. You can download it here:http://www.mindview.net/Books/TIJ/ Here are a few good Java resources but I would stick with the tutorial to begin with:http://wdvl.com/Authoring/Java/http://www.javalobby.org/http://www.javaranch.com/http://javaboutique.internet.com/http://www.javaworld.com/http://java.oreilly.com/
py2006 wrote: Jaysus, thats mad! Where did you go to college?
kyote00 wrote: BTW: How do all you textpad users debug your Java programs ?
kyote00 wrote: The defense rests....:p
kyote00 wrote: Using textpad or the like will not make you a better programmer.
kyote00 wrote: You will spend more of your time trying to make the code look nice (indents,tabs etc) and less time understanding the main constructs.
kyote00 wrote: Eclipse takes away the mundane formatting/typing of a program and setting up of the environment and lets you focus on the program you are trying to write, or the language you are trying to learn.
kyote00 wrote: Most companies now will already have an IDE in use. They will also have coding guidelines/standards to ensure that the basic layout and syntax is similiar. They will not be using a command line compiler, this will be wrapped in a build environment, probably linked with the config mgt/source code control system. Most people I know use Ant as the builder for Java for personal projects.
kyote00 wrote: You still need to know the command line options (i.e what things are and how they work) (just as you need to know classpath,jar files etc with Eclipse) but it makes the management/changing of these items much easier.
kyote00 wrote: I know I shouldnt but there so much bad advice given, I cant help myself...... 1) textpad issue. Explain to me how textpad will use make him a better programmers ? 2) Eclipse introduces another environment........ We are trying to have him focus on learning the language. Eclipse removes one of the biggest headaches newbies have:
kyote00 wrote: Eclipse removes one of the biggest headaches newbies have such as setting the classpath,
kyote00 wrote: Colour coded editor so that you can see whats a reserved word, whats a variable. Tabbed windows so that you dont have the 'window blitz' problem if browsing several files.
kyote00 wrote: helping with solutions to common compiler errors, and helping understand how the program executes using the debugger.
kyote00 wrote: We are trying to have him focus on learning the language.
kyote00 wrote: You appear to have missed the point of Eclipse. It hides the environment and focuses on the application under development -- that one of the main tenets of the eclipse project.
kyote00 wrote: It hides the environment and focuses on the application under development
kyote00 wrote: You can also move projects to Mac or Linux
py206 wrote: What exactly is eclipse?
kyote00 wrote: Imagine been able to run your program line by line, check whats variables are set and are not... Colour coded editor so that you can see whats a reserved word, whats a variable. Tabbed windows so that you dont have the 'window blitz' problem if browsing several files.
kyote00 wrote: some free Java books here.http://teaching.gent.ie/bruceeckel/