Results 1 to 2 of 2
  1. #1
    Artel is offline Member
    Join Date
    May 2011
    Rep Power

    Default Developing in Java...

    My knowledge of programming is very very little, so try to look at this from my perspective if you can.

    I've been learning Java inside an IDE called Jcreator. I've written, compiled, and ran several simple programs.

    They're all very newby programs that use system.out.println for output and scanner/ for input. Some of them use joptionpane however, but that's all I know.

    So anyway, I have no idea how "real" Java programs are written. I've googled this way too many times, but I can't find an answer that I understand, so I thought I would ask it here.

    I know how to create a jar file through the command prompt, set the manifest file, and execute it using the "java jar" command.

    Even then, nothing will happen, since there is no command prompt. What happens to all the "System.out" messages?
    Only popups from joptionpane show up, which is good. But what exactly is going on here?

    And also, say that I created a program that is very useful and I would like to distribute it to other people. How do I do that? Do I just give them the jar file and say, "Just go to the command prompt, set the environment variables, cd to the right directory, and run this command?" Of course not!

    So does this work? lol...

  2. #2
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Richmond, Virginia
    Blog Entries
    Rep Power


    You can make your program a gui program and send all the pertinent information there. You can also tell the people how to run a jar file from cmd. The problem is, you want your program to be simple for end-users, the easier it is for them, the better. So having a gui display results will definitely be helpful. I suggest you read some more books to learn more about programming in java.

Similar Threads

  1. Developing a new game - looking for Java programmers
    By DeadlyAK in forum Jobs Offered
    Replies: 2
    Last Post: 03-27-2012, 11:40 AM
  2. Is there java library for developing a mail server?
    By in forum Networking
    Replies: 1
    Last Post: 04-28-2011, 10:27 PM
  3. Developing Java Applet
    By MrDave in forum Java Applets
    Replies: 2
    Last Post: 03-20-2010, 10:31 PM
  4. Developing HTML Parser in JAVA
    By shinojkk in forum Advanced Java
    Replies: 1
    Last Post: 01-18-2008, 08:07 PM
  5. Developing simple MP3 player in Java....
    By JavaEmpires in forum New To Java
    Replies: 0
    Last Post: 01-16-2008, 10:22 AM

Posting Permissions

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