≡ Menu

Podcast Episode 6 – Java Hello World

Show Notes

Step 1

– Get the Java SDK and SpringSource Tool Suite
  – Follow steps here: https://howtoprogramwithjava.com/the-5-basic-concepts-of-any-programming-language-concept-5/

Step 2

– Set your JAVA_HOME environment variable
  – On a MAC, follow steps here: http://www.mehtanirav.com/2008/09/02/setting-java_home-on-mac-os-x-105/
  – On a PC, follow steps here: http://stackoverflow.com/questions/2619584/how-to-set-java-home-on-windows-7

Step 3

When using STS you’ll need to setup a workspace, this is where you will organize all your projects into one folder.
  – Follow these written instructions to get your first program up and running:

  1. https://howtoprogramwithjava.com/java-hello-world/
  2. https://howtoprogramwithjava.com/java-tutorial-java-hello-world-part-ii/

Important things to remember:
– Workspace contains projects
– Projects contain Class files
– a Class file is the blueprint for a Java Object
– Java is Object oriented, everything is an Object
– A Class file’s name is important
  – (note: the filename should start with a capital letter by convention)

{ 4 comments… add one }
  • ikram November 27, 2012, 2:47 am

    i am a student …
    and java is very new language for me.
    your every post on this site is amazing ….
    and sir sorry for my english

    • Trevor Page November 27, 2012, 9:24 pm

      My pleasure Ikram, and your English is very good, no need to apologize! Good luck with your studies, I hope this site can help answer all your Java related questions 🙂

  • Kumaar January 3, 2013, 6:57 am

    Hi sir, i am very happy to see the way u r teaching and ur teaching is very easy and very user friendly to me i’m also new to java programming language. but really i want to learn java but when coding its becoming very difficult to me sir, so i request u 2 plz help me ……..and my english also very bad sir…..thanks and regards Kumaar.

    • Trevor Page January 5, 2013, 6:40 pm

      Hi Kumaar,

      I just realized I never responded to this comment. I’d be happy to help you out, do you have a specific question about Java programming?

Cancel reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.