File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 149

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: 10916
    
  12

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: 36508
    
  16
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: 149

Thanks for the help Fred and Richie
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36508
    
  16
You're welcome
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36508
    
  16
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
 
Similar Threads
what design Pattern to use for this problem
Maven 2 Surefire 2.4.3 tests always fail for forkmode pertest
Pattern to replace switch case with different funtionality in the case block
FrontMan Commands ?
noob needs help with path