Results 1 to 6 of 6
  1. #1
    Tony Stark is offline Member
    Join Date
    Aug 2016
    Posts
    26
    Rep Power
    0

    Default Goal of JAVA , very important question

    Hi guys , how are you !! :)
    i've been into Java since last week i think , and most time i have the same question ; what is the goal of java , i do my program i export it to .jar file then ? what is next ? there is no official way i can make it an .EXE file or something ? am i going just to throw .jar files everywhere ? .
    SORRY I KNOW ITS A SILLY QUESTION , But im an amateur in the end wanna know how things are going here .

    Thanks all of you .
    Tony.
    Last edited by Tony Stark; 08-25-2016 at 10:33 PM.

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

    Default Re: Goal of JAVA , very important question

    The "goal" of Java is the same as any other programming language. It's a language for writing software. Why worry about creating a .exe? You simply
    package your class files in a jar with a defined entry point and it should be executable anywhere there is a compatible JRE. The main difference between
    Java and other compiled languages is that it is more portable.

    This is the type of question that is best left to a search engine. Searching on history of java, purpose of java, etc. should yield some detailed
    information.

    Regards,
    Jim
    Last edited by jim829; 08-25-2016 at 11:14 PM.
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  3. #3
    Tony Stark is offline Member
    Join Date
    Aug 2016
    Posts
    26
    Rep Power
    0

    Default Re: Goal of JAVA , very important question

    Ok , but i read that most of programmes and eclipse it self , based on Java , so how can i with java move from jar files level to programmes like eclipse or something having files and folders with .exe files , how can they do that games , apps etc. .
    thanks for your patience :)
    Tony.

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

    Default Re: Goal of JAVA , very important question

    As I said before, you do not need to generate .exe files. You can write games and do some pretty neat graphics with Java.

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

  5. #5
    theunlockeRRR is offline Code Child
    Join Date
    Aug 2016
    Location
    Serbia
    Posts
    45
    Rep Power
    0

    Default Re: Goal of JAVA , very important question

    Try googling for java games. You will find lots of them... Also, most of android games are based on java...
    I have a dream, that one day, I will not rage quit every time I encounter an error I can't fix!

  6. #6
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    13,541
    Rep Power
    27

    Default Re: Goal of JAVA , very important question

    Take Minecraft.
    That's mostly jar files.
    These days, since Microsoft bought it, they do produce a version that has the JRE bundled into it as an EXE, but I've not used that one. The original was just jars.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Is it important to remember the java codes?
    By Fantasticpow in forum New To Java
    Replies: 2
    Last Post: 01-11-2016, 02:20 AM
  2. Hi my java project is very important
    By ozgurkicirdar in forum Eclipse
    Replies: 4
    Last Post: 05-23-2012, 06:31 AM
  3. C++ is my goal... How to get there?
    By JoshNerd557 in forum New To Java
    Replies: 10
    Last Post: 04-23-2011, 02:07 AM
  4. Replies: 3
    Last Post: 03-28-2010, 01:29 PM

Posting Permissions

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