• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Understanding Java setup and Is it necessary to use an IDE for writing Java programs?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I have not ever written a Java program and am just trying to see if I can install all of what is required to do so. I just have a few questions starting off.
Am I right in thinking that the "Java SDK" is actually the implementation that contains the core language? Is the compiler built into this? I also keep seeing references to the "Java Runtime Environment". Is this something completely different?

Another question is can anyone say if it is necessary to use an IDE for writing Java programs or can I simply use a text editor & compile from the command line? If it is not required, is there anything useful to be gained from not using an IDE? (I'm thinking about understanding paths, learning compile commands etc) What is the recommended set up for a beginner?

Thanks
 
Bartender
Posts: 1845
10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
>Am I right in thinking that the "Java SDK" is actually the implementation that contains the core language?

SDK --> Software Development Kit
All that you need to develop in java (and perhaps more than you need, depending upon what you are doing)
Runtime Environment --> Exactly what it says. For running java programs other people have written.

For starting off you will probably want to get Java SE (Standard Edition)

>Another question is can anyone say if it is necessary to use an IDE for writing Java programs or can I simply use a text editor & compile from the command line?
Text editor and command line compiler will work fine.

> If it is not required, is there anything useful to be gained from not using an IDE?
Some people mandate it for learners. You will get a better understanding of classpath/compilation steps.

Personally I like using an IDE for the quick feedback on syntax errors, and the ability to run/debug.

Its up to you :-)
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch

We have an FAQ which will probably answer most of your questions. What you want is usually called JDK=Java Development Kit.
I think it is a bad idea to start by using an IDE because you have to learn too much all at once.
 
Bartender
Posts: 1810
28
jQuery Netbeans IDE Eclipse IDE Firefox Browser MySQL Database Chrome Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Our IDE Faq explains why you should not use an IDE when first starting with programming. The Editor FAQ provides a list of editors that you can use instead, until you are comfortable with compiling from the command line.

And welcome to the Ranch!
reply
    Bookmark Topic Watch Topic
  • New Topic