aspose file tools
The moose likes Beginning Java and the fly likes Command line vs IDE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Command line vs IDE" Watch "Command line vs IDE" New topic
Author

Command line vs IDE

Pranit Sonawane
Ranch Hand

Joined: Jul 29, 2011
Posts: 168

Need help...have recently started learning java....please let me know the basic difference between using command prompt and netbeans for coding....which is beneficial???
Many Thanks!!
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11736
    
  18

When you are starting, you should use the command line for compiling/running. You'll learn a heck of a lot more.

Using an IDE hides much of the details, and you'll get in trouble later. Further, you spend time learning the IDE and not java.

I use a text editor that does syntax highlight, indentation, bracket matching, etc., but you can do everything in vi if you want.

wordpad can be used, but you need to be sure you save your files without the '.txt' it like to stick on the filename, and save them as plaintext.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 42550
    
  31
Welcome to the Ranch

I agree with Fred. I would suggest you try Notepad2, Notepad++ and jEdit as editors. Set up their automatic indentation, bracket and syntax highlighting, and automatic conversion of tab to 4 spaces options, and that will make well-formatted code easier to achieve.
Pranit Sonawane
Ranch Hand

Joined: Jul 29, 2011
Posts: 168

Thanks for the help Fred and Richie
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 42550
    
  31
You're welcome
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 42550
    
  31
Pranit Sonawane,
Your post was moved to a new topic.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Command line vs IDE