No you don’t. You only need the JDK.
gurpeet singh wrote:you have downloaded jdk . . . you need to download jre also . . .
Campbell Ritchie wrote:That is poor advice. You should create your own folder for your own work. Otherwise you can lose all your work when you upgrade Java.
Komal Arora wrote: . . . save it as a .java file in the bin folder of jdk. . . .
… and still posted misleading and confusing advice.
Komal Arora wrote: . . . Yes i know. . . .
Komal Arora wrote:you know what he is a beginner in java, and when i was a beginner i learned the same way and hence i told him to do so. this is not misleading advice.
Komal Arora wrote: but i feel that people here are more concerned about what others are saying rather than giving their own opinions!
Komal Arora wrote: It does not look nice when you point out somebody telling that he/she is giving misleading advice.
Komal Arora wrote: Really no offence