• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Best way to learn java - commandline or IDE?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

i want to beginn learning programming in java, and want ask you what is the best way?

when i was searching the internet for basic-tutorials, all people use IDE like eclipse or netbeans, i found openbooks where people only explain the language using the commandline, most people i ask say its better for me to use an IDE for best learning und understanding ... now im a bit confused.

Thanks for answers

Greetings from germany

Stefan

 
Ranch Hand
Posts: 924
1
Netbeans IDE Fedora Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
well using commandline and using IDE has its own pros and cons. if you use commandline you will be able to learn more , since there wont be any help from IDE. you will get many errors and in the process of resolving them you will be reaching new heights. but commandline has its own downsides. the default javac compiler error are note that detailed as IDE ones. so some error/exception will confuse you. on the contrary IDE messages are detailed. also using IDE you have at your disposal good debugging support , you can set breakpoints and check the flow of the program. the downside to IDE is that they spoonfeed you. they have autocompletion feature and they compile in realtime. so your gray matter will be less used. one thing you can do is to go the middle way. learn java using mix of IDE and commandline. or in my opinion the best thing would be to turn off the auto complete features of IDE. this way you will have good mix of both the commandline aspects and the IDE.
 
Bartender
Posts: 3225
34
IntelliJ IDE Oracle Spring Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Agree with Gurpeet, Command line to start with. Please search in this forum for lot of advices on using commandline over IDE and on best way to start learning Java.
 
Marshal
Posts: 74054
332
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Command line. A lot of people get confused by the advanced and complicated features of an IDE and spend more time learning the IDE than learning Java.

And welcome to the Ranch
 
Campbell Ritchie
Marshal
Posts: 74054
332
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are some suggestions about running your first program here, and in our FAQ.
 
Rancher
Posts: 1043
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:Command line.



Yet another vote for the:

( Command line ) ++
 
Ranch Hand
Posts: 36
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think in the start one should go with the command line so as to learn basic things about java such as syntax, package structures etc. and once you are confident enough about the basics then go for the IDE.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic