How do you make a jar file for your program?

Title says it all - I don't have software that automatically does it for me.
Using text pad :O

Everything you always wanted to know about JAR files, but were afraid to ask:
http://java.sun.com/docs/books/tutorial/deployment/jar/index.html

Similar Messages

  • How do you create a jar file in JDeveloper 11.1.2.0.0

    How do you create a jar file in JDeveloper 11.1.2.0.0

    1) Select the project for which you would like to generate the jar.
    2) Right Click the selected right and select 'Project Properties'
    3) Select the 'Deployment' in the left tab.
    4) Click on 'New' to create a new deployment profile and in the popup dialog, select 'Jar File' profile type and provide the name.
    5) Press 'ok' to save the changes.
    6) Select the project and right click and select 'Deploy to' and select the jar profile name you have specified.
    The Jar library is generated and the full path to the library jar is shown in the log window.
    Thanks,
    Navaneeth

  • How do I make a plot file for AutoCad to produce a PDF

    How do i make a plot file for AutoCad to produce a PDF

    Moving this discussion to the Creating, Editing, & Exporting PDFs forum.

  • How do you convert a jar file into a java file,  ?

    how do you convert a jar file into a java file ?
    I am new to Java ,but have a little experience in C++ and Visual Basic.
    I want to edit and maybe create my own mobile games that are written or converted into jar files.
    At the moment I am using Java NetBeans , and Easy Java( the java pad).
    However the only solution I tried was to open the JAR file in winrar and see that its made up of png picture files,
    midi music files and class files. Unfortunately when I uncompressed the JAR file , there was NO java file to be seen and the JAVA editors Do not show the class file like a Java file. So why is there no extension Java file in the mobile JAR game ?

    801283 wrote:
    how do you convert a jar file into a java file ?You generally don't. There exist decompilers, but if you're meant to have the source, you should either have it because you are the author, or you should be able to get it from the author.
    I am new to Java ,but have a little experience in C++ and Visual Basic.Does that experience include turning .exe files into C++ code? Because that's the equivalent of what you're asking
    I want to edit and maybe create my own mobile games that are written or converted into jar files.Eh?
    Are you saying you want to take existing games and modify them? If the creators allow you to modify their source, then they'll provide you with that source (the .java files). If you're allowed to add things but not modify, you don't need .java files. Just documentation, which, again, the creators should be providing.
    Or are you saying you want to create your own games and distribute them in jar files? If so, there's no need to turn jars into .java.
    However the only solution I tried was to open the JAR file in winrar and see that its made up of png picture files,
    midi music files and class files. Unfortunately when I uncompressed the JAR file , there was NO java file to be seen and the JAVA editors Do not show the class file like a Java file. So why is there no extension Java file in the mobile JAR game ?Why would you expect there to be one?

  • How do you make suggestions to apple for product improvement?

    how do you make suggestions to apple for product improvement?

    http://www.apple.com/feedback/
    They read all feedback but won't reply.

  • How do you prepare a PDF file for 4 signatures & dates?

    How do you prepare a PDF file for 4 signatures & dates?

    Hi,
    You can achieve this by using text tags. EchoSign Text Tags are specially formatted text that can be placed anywhere within the content of your
    document specifying the location, size, type of fields such as signature and initial fields, check boxes, radio buttons and form fields, and advanced optional field processing rules. Text Tags can also be used as names of PDF Form fields.
    Text Tags are converted into EchoSign form fields when the document is sent for signature or uploaded to the EchoSign Document Library. EchoSign Text Tags can be placed in any document type such as PDF, Microsoft Word, PowerPoint, Excel and text files (.txt, .rtf)
    Please refer to page 5 ( date) and 10 (signature) of the Creating Adobe Echosign Forms With Text Tags.The document can be found here
    Thanks,
    Jat

  • How do you make Motion templates availabe for all users for FCPX?

    How do you make Motion templates availabe for all users for FCPX?

    Copy your Motion Templates folder that is in your Movies folder to the movies folder of your other users.

  • In digital editions how to you access the pdf file on your computer - I want to read in acrobat

    in digital editions how to you access the pdf file on your computer - I want to read in acrobat as digital editions too hard to read.@@

    On Mac, try looking in:
    /Users/dug.geo/Documents/Digital Editions
    On Windows, look for "Digital Editions" in "My Documents". If it's not there, look one level above "My Documents".
    If you know the filename of the PDF, you could also try doing a file system search for it.

  • How do you save a stereo file of your 8- track mix, to obtain more tracks. ( jayco62)

    How do you save a stereo file of your GarageBand mix, to increase the # of tracks you can record?

    In the Bounce Window, choose "Split" instead of "interleaved" from the File Type menu to bounce your mix as separate mono files
    Regarding the gain correction, use Automation
    Hope that helps
    Edgar Rothermich
    http://DingDingMusic.com/Manuals/
    'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

  • How do you load a pdf file to your computer once its been created

    how do you load a pdf file to your computer once its been created

    Hello there,
    Once you have created a PDF file with Acrobat.com, this file will live in your file organizer; if you select the file, you will have the option to download it. You can do this either while viewing the document (by clicking the "Download" button in the top menu bar) or from your organizer (hovering over the file name, you will see a little arrow; click it, and in the resulting menu choose "Download"). In both cases, you will be prompted to choose the location on your computer to which to save the file. Once you have chosen a spot, the file will be saved there.
    Please let me know if you need any more information on this process.
    Best,
    Rebecca

  • Cannot make executable jar file for swt application

    hi to all!!! i have started learning swt library and it seems nice to me, but i have one problem, i cannot run my application. The problem is that i cannot make executable jar for it.
    i'm using ecilpse_3.1.2 and have pluggined the visual editor for swt! yesterday i found one topic where was described the process of making the swt executable jar, i followed the instructions in the topic, but didn't resolve my problem, so if anybody knows how to achieve this , please help!!!!!!
    the instructions in the mentioned topic are :
    1. Make sure the SWT jar file is included in the Eclipse project build path
    a. Download the standalone SWT jar file from eclipse.org even if you already have the ones that come with Eclipse. It is called ?swt.jar? and you will package it with the executable JAR. Make sure it is the same version of SWT that you used to make your program.
    b. In Eclipse, import swt.jar via Project Properties::Java Build Path::Libraries::Add External JARs. (Make sure to include the source .zip file). Also make sure to select the swt package in the ?Order and Export? tab.
    c. At this point, you should be able to compile and run your SWT application in the Eclipse SDK.
    2. Do a standard Eclipse jar file export
    a. Right click on the main .java project file and select ?Export??.
    b. Choose ?JAR File? from the list.
    c. Select the relevant packages and .classpath and .project resource files
    d. Make sure ?Export generated class files and resources? is selected and browse to the location where you want the JAR file to be created.
    e. Specify ?Generate the manifest file? and don?t seal the JAR or any packages. Choose the class containing the main method as the ?Main class?.
    3. Change the manifest file
    a. Navigate to the JAR file you created and open it with WinZip.
    b. Open the MANIFEST.MF file inside and copy the contents.
    c. Create a new file called ?MANIFEST.MF? and paste in the contents of the old manifest file.
    d. Add the line ?Class-Path: <swt jar file path>?. For simplicity, you can just keep a copy of the swt.jar file in the same folder as the executable jar, in which case, the line is ?Class-Path: swt.jar?. Make sure there is a carriage return after the last line in the manifest file, or that line will not be parsed.
    4. Replace the manifest file
    a. Make sure the manifest file and the executable jar are in the same folder.
    b. Open the command prompt and navigate to the containing folder.
    c. Enter the command ?jar umf MANIFEST.MF <executable jar name>? to update the manifest file with the class path information.
    5. Package the JAR with SWT files
    a. Put the updated executable JAR file, swt.jar, and the associate DLL in the same folder. The DLL can be pulled out of swt.jar and should have a name like ?swt-win32-####.dll? on Windows.
    b. The JAR file should now successfully execute. On Windows, you can usually just double click the JAR file in explorer and it will open. If that does not work, the command ?java ?jar <executable jar name>? on the command line has the same effect.
    but a few steps aren't exact for me , for example : first, which jar i have to include in build path : downloaded or from plugins folder, second
    i have to incude source.zip too??? but it is only in downloaded zip file which includes both swt.jar and src.zip, and finally can anyone clarify next :
    "5. Package the JAR with SWT files
    a. Put the updated executable JAR file, swt.jar, and the associate DLL in the same folder. The DLL can be pulled out of swt.jar and should have a name like ?swt-win32-####.dll? on Windows."
    what does this mean, put these in folder or make jar from them????

    wolve634 wrote:
    but a few steps aren't exact for me , for example : first, which jar i have to include in build path : downloaded or from plugins folder, secondTry it both ways. If neither works, then ask again. In a suitable forum, though. An Eclipse forum or an SWT forum or something related to where you got those instructions would make a lot more sense than asking here.
    i have to incude source.zip too???No, of course you don't have to distribute the source code.
    a. Put the updated executable JAR file, swt.jar, and the associate DLL in the same folder. The DLL can be pulled out of swt.jar and should have a name like ?swt-win32-####.dll? on Windows."
    what does this mean, put these in folder or make jar from them????It says "Put (them) in the same folder". You're asking whether that means to put them in a folder? Yes, it does.

  • How do you execute a JAR file?

    I'm sorry this is so basic, but I honestly do not know how to do this nor can I find anything online here or anywhere via Google to help me with this one.
    I have a JAR file that I created on another machine using JDK 1.6.0 and NetBeans 5.5 on WinXP.
    I copied and pasted that JAR file over to my machine at home also using JDK 1.6.0 and NetBeans 5.5 on WinXP
    I put the exact directory name where the JAR file resides, "C:\Program Files\Java\jdk1.6.0\classes", in CLASSPATH and rebooted my machine.
    However, upon CD'ing to that directory and doing "java -classpath . GUI.jar", I get a "NoClassDefFoundError" when trying to do so.
    Furthermore, I was not sure how to use NetBeans to run the JAR file to execute the classes within.
    What did I do wrong? I'm so sorry this is so basic.
    Thanx
    Phil

    You are using netbeans to build your jar. Go to your project properties (right click on the project name and choose properties). Then select "Run" from the tree. You will find a text box "Main Class" there, put the name of the class in there that has your main() method, including full package if you have one. That is WITHOUT the .class extension.
    Build your jar, it will be placed in the dist directory of your netbeans project. You can now run it from netbeans itself if you want. If ever you want to run the jar from the command line on your home machine, just navigate to the directory with the jar file and execute this:
    java -jar yourjar.jarand you're off. If your runtime environment is propertly setup you can even execute the jar by simply double clicking on it from the windows explorer. No need to change the CLASSPATH variable at all, in fact it is ignored when executing a jarred application.
    Also a note: you do not need to reboot your machine when you change an environment property. Simply change them using my computer -> properties -> advanced tab -> environmental variables. If you have any command prompts open, close and reopen them so the properties are updated properly.

  • How do you make a PDF file fillable?

    How do you make a pdf fillable?

    Hi,
    Please visit this pdf document it shows you steps, how to make a document a fillable form :http://www.adobe.com/content/dam/Adobe/en/products/acrobat/pdfs/adobe-acrobat-xi-convert-f orms-into-fillable-pdf-tutorial_ue.pdf
    Also you may watch this video: http://www.youtube.com/watch?v=O0PPzFq3X00
    Regards,
    Ajlan Huda.

  • How to use 3rd party jar files for xml transform

    Hi all,
    Am using OAS9.0.4 and I deployed my .ear successfully.
    In my application am using 4 jar files for xml transformation. (xerces.jar, xalan.jar, xml-apis.jar,xercesImpl.jar)
    OAS has its own xmlparserv2.jar file. Its using this jar file for transforming xml data and not even looking for above mentioned 4 jar files.
    In opmn.xml, I provided these 4 jar files in to class path. Then also it didn't effect my output.
    I also tried as put these 4 jar files into j2ee\home\applib directory, but o result.
    Can anybody tell me where should I keep these 4 jar files in OAS and OAS should use these 4 jar files instead of its own xmlparserv2.jar for transforming data.
    Thanks in Anticipation,
    Regards,
    RK

    Add the Xbootclasspath variable in the java-options field. It will somewhat look like the following in your opmn.xml file
    <process-type id="<OC4J Instance Name>" module-id="OC4J">
    <module-data>
    <category id="start-parameters">
    <data id="java-options value="........... -Xbootclasspath^/a:<location of your jar files>" />
    Ensure to use th ^/a (append) signature
    Regards,
    Chirag

  • How do you make a startup disk for Mac Pro with mountain lion

    My Mac Pro did not come with a disk how do you make one or get one??
    If you ever need to repair or reformat your hard drive you need one!

    If you still have - or can download - the Lion Installer app from the Mac App Store, you'll find an app titled "Install Mac OS Mountain Lion.app" in your Applications folder. If it's not there, and you've already purchased it, just go to the MAS, look under your Purchases tab and download it from there. If you haven't already purchased it, you'll need to do so using your Apple ID.
    Once you have the installation app, get a 8GB+ USB flash drive and download DiskMaker X - just plug in the flash drive, start up DiskMaker X and follow the instructions. You'll now have a bootable installation disk.
    Good luck,
    Clinton

Maybe you are looking for

  • How can I grant Application access to a user via API ) programattically

    how do I grant access to a portal user from API I want to grant access to a user from an API, ie I need a command to grant "SCOTT" access to "EXAMPLE_APP" APPLICATION as an end user?

  • For 2 iPods on one PC, one iTunes or two?

    My wife is getting an iPod for xmas, and we'll use the same PC (WinXP). Should we share the same iTunes, perhaps with separate playlists, or should we each have our own iTunes? We do not have separate user accounts for our PC/WinXP. thanks, ron

  • HOW DO I GET ALL MY DRIVERS TO ACTUALLY INSTALL!!!!!!!

    IBM T60P-2623DDU Upgraded Ram to 4GB Now have New HD--Previous failed completely. My system had a bad HD, it went, I lost the boot partition completely, but my important data was saved. I've installed XP SP1, updated to SP2. I am having the hardest t

  • HT201279 Cannot change font size

    Am having trouble changing my font size when printing some emails and attachments . So small i cannot read .When I do change the size it changes back when I start to print . Anyone have the same problem .

  • Make sizes more accurate?

    This script should make a rectangle the same size as the artboard. However if the artboard is 210mm wide the rectangle ends up being 210.002mm, is there any way to make this more precise? #target illustrator var docRef = app.activeDocument; var artbo