Results 1 to 2 of 2
Thread: Developing in Java...
- 05-02-2011, 04:15 AM #1Member
- Join Date
- May 2011
- Rep Power
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/system.in 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 basically...how does this work? lol...
- 05-02-2011, 04:28 AM #2
- 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.
- By DeadlyAK in forum Jobs OfferedReplies: 2Last Post: 03-27-2012, 12:40 PM
- By steven.ye in forum NetworkingReplies: 1Last Post: 04-28-2011, 11:27 PM
- By MrDave in forum Java AppletsReplies: 2Last Post: 03-20-2010, 11:31 PM
- By shinojkk in forum Advanced JavaReplies: 1Last Post: 01-18-2008, 09:07 PM
- By JavaEmpires in forum New To JavaReplies: 0Last Post: 01-16-2008, 11:22 AM