Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By mrmatt1111

Thread: Create .jar file

  1. #1
    cestmoiwikies is offline Member
    Join Date
    Sep 2009
    Rep Power

    Default 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.


  2. #2
    mrmatt1111's Avatar
    mrmatt1111 is offline Senior Member
    Join Date
    Aug 2009
    San Jose, CA, USA
    Rep Power


    I would try this tutorial out first:

    How to create a jar.
    ganesh_khatmode likes this.
    My Hobby Project: LegacyClone

  3. #3
    Loop is offline Member
    Join Date
    Sep 2008
    Rep Power


    When you're done with that article, download JarBuilder.

    Jar Builder - download tag - page 1 - Softpedia - for anyone that wants to get a new C++ forum on its feet.;)

Similar Threads

  1. How to create a file
    By Alpha in forum New To Java
    Replies: 7
    Last Post: 01-06-2012, 07:10 PM
  2. How to create .exe file using .class file
    By pradnya in forum New To Java
    Replies: 8
    Last Post: 04-18-2009, 12:50 AM
  3. how to create jar file ???
    By doha786 in forum New To Java
    Replies: 2
    Last Post: 04-13-2009, 07:50 PM
  4. How to create .war file in NetBeans 6.1
    By shuklajayb in forum NetBeans
    Replies: 0
    Last Post: 12-21-2008, 03:58 PM

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