Results 1 to 3 of 3
Thread: Create .jar file
- 09-06-2009, 01:52 AM #1
Member
- Join Date
- Sep 2009
- Posts
- 1
- Rep Power
- 0
Create .jar file
First of all, I'd like to apologize if my question is too silly or something like that =P I'm new in the Java World
Now, I've created a .java file using JCreator (yes, and the .class file appeared in the same folder), and I'm able to run it. However, I have to open JCreator in order to execute the file. My program does not use a GUI. I was wondering how could I execute it just by double clicking on it (and of course, I expect the "new" file to be readable in any computer that has java). Is a .jar file appropiate for this purpose? Does the program need to have a GUI? (you may think I'm silly, but I'd be happy if only a black screen appears and displays my code. Do I have to create a GUI for that? =S) I've tried to create the .jar file using MSDOS, but it says that jar is not recognized as an executable command.
Is there a program for what I need? Any help would be REALLY appreciated.
Cheers,
- 09-06-2009, 02:35 AM #2
- 09-06-2009, 08:16 AM #3
Member
- Join Date
- Sep 2008
- Posts
- 36
- Rep Power
- 0
When you're done with that article, download JarBuilder.
Jar Builder - download tag - page 1 - Softpediawww.talkbinary.com - for anyone that wants to get a new C++ forum on its feet.;)
Similar Threads
-
How to create a file
By Alpha in forum New To JavaReplies: 7Last Post: 01-06-2012, 07:10 PM -
How to create .exe file using .class file
By pradnya in forum New To JavaReplies: 8Last Post: 04-18-2009, 12:50 AM -
how to create jar file ???
By doha786 in forum New To JavaReplies: 2Last Post: 04-13-2009, 07:50 PM -
How to create .war file in NetBeans 6.1
By shuklajayb in forum NetBeansReplies: 0Last Post: 12-21-2008, 03:58 PM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks