code:And save it in a file called what you put as the class name plus .java as the extension. (MyJavaProgram.java in my example). Depending on if your class-paths are setup correctly, you should be able to compile the program by typing: "javac MyJavaProgram.java" from the command line in the directory your file is in. Then run the program by typing: "java MyJavaProgram".public class MyJavaProgram{
public static void main(String[] args){
System.out.println("Hello World!");
}
}
quote:Or Vi
Originally posted by King of Men:
IDEs are for sissies. Real Programmers use emacs.
quote:Real unemployed programmers perhaps. Try and get a software engineering job and then don't use an IDE. Then explain why your productivity is half what your coworkers produce .
IDEs are for sissies. Real Programmers use emacs.
quote:Well, as a matter of fact, I have a programming job. And I use emacs, as do all my colleagues, except the Stone-Age types who stick to that survival of the electro-mechanical era, vi.
Originally posted by Xavier:
quote:Real unemployed programmers perhaps. Try and get a software engineering job and then don't use an IDE. Then explain why your productivity is half what your coworkers produce .
IDEs are for sissies. Real Programmers use emacs.
quote:When I was in college, this was true of me and my coworkers on my research grant. It was a relatively small program, so the lack of an IDE did not hurt us too badly. Plus it wasn't a web-based application.
Well, as a matter of fact, I have a programming job. And I use emacs, as do all my colleagues
quote:Seriously? Do you do MUCH coding? Because you're the first programmer I've spoken with in years who doesn't use an IDE. It just doesn't make SENSE to code by hand anymore; it's not worth the time.
Well, as a matter of fact, I have a programming job. And I use emacs, as do all my colleagues, except the Stone-Age types who stick to that survival of the electro-mechanical era, vi.