Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2013
    Rep Power

    Default Create a Working Java Archive

    So I have my code written and know it runs in the IDE. Can any one give me tips on creating the project with a IDE even though I can not make a jar in CMD. I would like to do it in Eclipse but I had trouble finding my JDK and I have NetBeans Installed now. So any handy tips for creating a copy of my project from my IDE at the current state as my code is stable. I was looking at the online Eclipse and thought wow if I could use that to make my Jar file I would be really happy any one see this online IDE does it have the save features as the other Eclipse where it will create a working jar better then NetBeans?

    Thanks for your time just want to get a good IDE that has some error fixing so I can make the jar that works. I have had bad luck with the CMD and NetBeans CMD is to picky and NetBeans has less features then I remember. Please Help


  2. #2
    zFollette is offline ▼ dafuq did I do?
    Join Date
    Dec 2013
    Rep Power

    Default Re: Create a Working Java Archive

    In Netbeans, go to File>New Project, then select the Java category and click on Java Application. Type in a name and location for this project and deselect 'Create Main Class', then click 'Finish'. From there, you will have to drag your .java files into the project you have just made. After you do that, hit 'Shift+11', this will Clean and Build your project. To find the .jar, go to "/path/to/project/dist/". Be aware, if the program has no GUI (a.k.a command line), you will have to run the JAR from the command prompt anyway.
    1000011 1100001 1101110 100000 1111001 1101111 1110101 100000 1110010 1100101 1100001 1100100 100000 1000010 1101001 1101110 1100001 1110010 1111001 111111

Similar Threads

  1. Delete this. Now using xamarin.
    By EarthModder1 in forum NetBeans
    Replies: 0
    Last Post: 01-18-2014, 05:35 AM
  2. How to include a zip archive in a Java Executable
    By drdexter33 in forum New To Java
    Replies: 4
    Last Post: 03-18-2013, 01:52 AM
  3. Unable to create working JAR
    By orbutbul in forum New To Java
    Replies: 3
    Last Post: 02-23-2013, 06:45 PM
  4. How to read a text file from a Java Archive File
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 02-08-2008, 10:13 AM
  5. Create a new directory in existing Zip archive
    By satishbejgum in forum Advanced Java
    Replies: 1
    Last Post: 12-23-2007, 07:05 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