Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2016
    Posts
    47
    Rep Power
    0

    Default Some questions to get started with Java

    Hello,

    I am absolutely new to Java. I have read some articles about classes, methods, etc. But I'm still unsure about many things. So I thought it might be a good idea to download some Java programs so I can see many screens at once.


    1. What is the difference between a Java project and a Java program? How are these related?
    2. I have done web searches for sample Java programs, and came across websites which supposedly have Java programs to download. When I come across these links, I can't tell if it is written in Java or not, and even if it is, which Java version it is written in. Sometimes the title of these programs seems to indicate that it was created not with Java but something similar such as "J" this or "J" that. Some of these programs are labeled as "scripts" so I don't know if that is JavaScript (which is not Java) or if it is still Java. In some cases, I click a link and then the next page shows multiple files that are involved. So I really don't know what to download. My question is, can anybody refer me to a website where I click just one like and download a Java project/program?

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    14

    Default Re: Some questions to get started with Java

    Check the tutorials site in my signature at the end of this post. It has numerous java programs for you to see.

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  3. #3
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    1,995
    Rep Power
    9

    Default Re: Some questions to get started with Java

    Just adding my 2c: A project is a concept in an editor (aka IDE) to keep related files together, like source code, images, language files, libraries etc. Most of the times, you will run a process in that editor called a build process that "builds" the program to its final form.

    Sample code is useless if you don't know what you're looking at. Try following a Java tutorial to gradually build (no pun intended) your Java knowledge. See Jim's signature above for links.

    Oh, and I like dogs too (*has Belgian shepherd*) :)
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2 2013

  4. #4
    Join Date
    Oct 2016
    Posts
    47
    Rep Power
    0

    Default Re: Some questions to get started with Java

    Quote Originally Posted by SurfMan View Post
    Just adding my 2c: A project is a concept in an editor (aka IDE) to keep related files together, like source code, images, language files, libraries etc. Most of the times, you will run a process in that editor called a build process that "builds" the program to its final form.

    Sample code is useless if you don't know what you're looking at. Try following a Java tutorial to gradually build (no pun intended) your Java knowledge. See Jim's signature above for links.

    Oh, and I like dogs too (*has Belgian shepherd*) :)
    Can a project hold only one Java program or more than one Java program?

  5. #5
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    1,995
    Rep Power
    9

    Default Re: Some questions to get started with Java

    Quote Originally Posted by allDogsAreGood View Post
    Can a project hold only one Java program or more than one Java program?
    What defines a "Java program"? Technically spoken, it's a class that contains a public static void main(String[] args). So in that case yes.

    You could also make one project for your 24 websites that run with JavaEE, but I don't think that's smart. It's not logical.

    Don't approach the definition of the word "project" too technical. It's more a logical grouping of "stuff". For example, I have a directory of artwork for our application, but I don't include the .psd files in the final build. But since I need it to extract the images, it's still in the project directory. Bonus: the files are automatically in version control.
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2 2013

Similar Threads

  1. newbie: Getting started with java, need help on this
    By umairrockx in forum New To Java
    Replies: 4
    Last Post: 07-21-2011, 01:51 AM
  2. New to JAVA and need some help getting a started
    By SMHouston in forum New To Java
    Replies: 45
    Last Post: 09-05-2009, 09:55 AM
  3. How Does One Get Started Learning Java?
    By Wataru in forum New To Java
    Replies: 29
    Last Post: 08-08-2009, 10:45 AM
  4. Just started with Java
    By javades in forum New To Java
    Replies: 2
    Last Post: 07-24-2008, 06:39 AM
  5. Just getting started with java
    By DuceDuceExplorer in forum Introductions
    Replies: 4
    Last Post: 06-29-2008, 06:13 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •