Writing a setup file for Java project

Hello friends,
I am Kiran , very new to this Forum and also for java programming, my SE programmed a java project.
now I got to do two things --
1.I have to create a jar file with those class files and also an exe file which can execute that jar file.
2. I have to write a "setup file" for automatic instalation of my Java project.
so I request my friends to help in these two issues by providing some suggestions to do them.
Thank you in advance.
Kiran Karnati.

1.I have to create a jar file with those class filesI suggest you use ant to build the jar file. Thee are many tutorials available if you use google.
and also an exe file which can execute that jar file.Java will execute the jar file e.g.
java -jar myjar.jar
Of from windows just double click on the jar file.
2. I have to write a "setup file" for automatic instalation of my Java project. You can do this with ant for remote deployment or use a batch file or use another jar which when run unpacks the application.
BTW Is Kiran a girl's name or a boy's name or both?

Similar Messages

  • Creating setup file for java project

    hi
    My project has java files, properties files,batch files as well as two jar files,mail.jar & activation.jar(for importing packages).
    I have to include these jar files while setting environment variables.
    Now i want to make setup file for myproject to provide quick launch from desktop ,can anyone pls help me how to include these all files into a single jar file. and how to make setup file
    Pls Help
    Thanks a lot !!!

    JAR files can contain any type of file that you want so you could use the following command:
    jar cf jar-file input-file(s)
    (the c tells jar to create the jar file; the f says the next item is the name of the jar file; the jar-file should be replaced with the name of the jar file; and the input-file(s) should be replaced with the name of the files you want jarred).
    In general, batch files don't do much good bundled inside a jar file. If you really want a way to bundle all of your files and have them installed, then you might want to look into JExpress or one of its competitors. Full disclosure, I work for DeNova (the mfg of JExpress).
    The advantage of an installer over a jar file is that you can distribute your files plus create a native executable to launch your java app, set up an uninstaller, etc.

  • How to create the exe file for java project.

    How to create the exe file for java project.
    am done the project in java swing , i like to create the project in exe format, so any one help for me,
    send the procedure for that.
    thanking u.

    How to create the exe file for java project.Have you ever heard of google? I pasted your exact "question" into a google search:
    http://www.google.com/search?q=How+to+create+the+exe+file+for+java+project.
    and got several useful links.
    Better search terms might yield even better results.
    Sheesh.

  • How many softwares are there to create a setup file for java programs

    Hi, i am new to java
    I want to know how many softwares are there to create a setup file for java programs.
    I know one software i.e java launcher to create a setup file.
    I want to know about any other softwares are available to create a setup file for java programs.
    I created a setup file for swings program in JCreator.
    And don't think that i am wastiing ur time with this question .
    Help me regarding this topic.
    Thanks in Advance

    superstar wrote:
    I want to know how many softwares are there to create a setup file for java programs.13, no wait, 42.
    I know one software i.e java launcher to create a setup file.You should clearly identify what you think you already know.
    I want to know about any other softwares are available to create a setup file for java programs.
    I created a setup file for swings program in JCreator.Is this the one you talked before, or is this different?
    And don't think that i am wasting ur time with this question .Why should I not think that?

  • Creating setup file for java

    Somebody tell me how to create setup file for the software which is made by using java programming. We can create jar file for that purpose but I want to create setup file or exe file.

    open source
    - izpack (windows, linux, macos) www.izforge.com or org
    - nsis.sf.net (winblows only)
    commercial
    - www.zerog.com 's InstallAnywhere

  • Single setup file for BPM Suite 11g or later

    Hi
    Please tell me where to find a single setup file for Latest Oracle BPM Suite.
    I could not install all required software with multiple setup files.

    Hi
    1. Sorry. There is Nothing single setup file for Oracle BPM Suite like you are expecting for any typical software application.
    2. Option 1: Yes. If you are familiar with VM Ware and virtual machine, then you are ok to some extent. Oracle do have like a single vm image that takes care of all you want. Provided you have VM installed. Means we do have an image that contains all pre-requisites and full oracle bpm software like Oracle XE, RCU, WLS, SOA/BPM on top of WLS, BPM/SOA Domain. But this is for advanced and not for beginners unless you know VM Ware and virtual images.
    3. If you are a java/j2ee developer/architect, then here are the steps for installation:
    a) Good machine with atleast 8 GB RAM.
    b) Install WLS Latest Version. Install SOA/BPM matching version on top of this WLS.
    c) Install Oracle XE Database or have access to already installed regular Oracle 11g Database.
    d) Download RCU same version as above of soa version and unzip and install in the above Database. I am not giving all steps. Just an overview.
    e) Now run config wizard, create a bpm/soa domain and refer above rcu details (soa_infra, mds etc). You will have a soa/bpm domain.
    f) Download and install JDeveloper IDE same matching version. Here you will create any soa / bpm / bpel applications. Once all done. Deploy on the above created domain.
    So unfortunately, there is nothing like a single .exe or setup file to install oracle bpm/soa. The closest is a vm image which is kind of advanced. But for a normal typical software developer, you had to follow above step 3 (a to f).
    Unfortunately if you do not have Virtual Machine, you should and must install all the software(s) and configuration(s). There is no other alternative. Its very simple either way.
    Thanks
    Ravi Jegga

  • How to create a Batch file for java application  ?

    HI,
    How to create a Batch file for java application ?
    And whats the use of creating batch file ?
    Thanks in advance

    [http://static.springsource.org/spring-batch/]
    Assuming you want to develop a batch application rather than actually just create a .bat file ..

  • HOw to create a Batch file for java application and whats the use of this ?

    HI,
    How to create a Batch file for java application ?
    And whats the use of creating batch file ?
    Thanks in advance

    First of all, you're OT.
    Second, you can find this everywhere in the net.
    If you got a manifest declaring main class (an classpath if needed), just create a file named whatever.bat, within same directory of jar file, containing:
    javaw -jar ./WhateverTheNameOfYourJarIs.jar %*By the way, assuming a Windows OS, you can just double click the jar file (no batch is needed).
    Otherwise use:
    javaw -cp listOfJarsAndDirectoriesSeparedBySemiColon country/company/application/package/className %*Where 'country/company/application/package/' just stands for a package path using '/' as separator instead of '.'
    Don't specify the .class extension.
    Javaw only works on Windows (you asked for batch, I assumed .BAT, no .sh), in Linux please use java.exe (path may be needed, Windows doesn't need it 'cause java's executables are copied to system32 folder in order to be always available, see PATH environment variable if you don't know what I'm talking about) and use ':' as classpath (cp) separator.
    The '%***' tail is there in order to pass all parameters, it only works on Windows, refer to your shell docs for other OSs (something like $* may work).
    This way you have a command you can call to launch your code (instead of opening NetBeans just to see your app working). You could schedule tasks on it or just call it in any command prompt (hope you know what it is 'cause there have been people in this very same forum with no clue about it, if not just hold the 'Windows button' and press 'R', then type 'cmd' and run it).
    Finally add dukes and give 'hem away.
    Bye.

  • How to create the setup file in java

    hi
    am new to java...
    is it possible to create setup file in java like in .net..
    if yes how?

    i mean our application can be installed in to any other system..
    using .net we can easily generate setup fileThe other people understood what you meant.
    And they suggested that you use one of the free
    installer generator, such as
    http://www.java-source.net/open-source/installer-generators

  • How can i import dll files in java project in eclipse?

    Hi All,
    How can i import or link dll files in java project in eclipse?....
    dll files contains
    import com.ms.com.ComLib;
    import com.ms.com.Variant;
    import com.ms.com.ComFailException;
    import com.ms.wfc.data.AdoException;
    import com.ms.wfc.data.AdoEnums;
    Any idea of this please tell me.....
    I am using eclipse 3.4 and JRE 1.4
    Is this possible?
    Please tell me!!!!!!!!!!!!!
    Voddapally

    iMovie cannot edit mpg files, unles they come directly from a supported camera.
    I would suggest that you use a free third party app to convert it.
    Get MPEG Streamclip from Squared 5, which is free.
    Drag you mpg clip into MPEG Streamclip.
    Then, FILE/EXPORT USING QUICKTIME
    Choose Apple Intermediate Codec, and save it where you can find it. You should be able to import this file into iMovie, using the FILE/IMPORT/MOVIE command.
    Note: If your file is an MPEG2 clip, you may need to purchase the Apple QuickTime MPEG2 Playback Component from Apple. MPEG Streamclip will tell you if you need this. Don't buy it unless you have to. It costs about $20. You just have to install the component. MPEG Streamclip will use it in the background.

  • How to import an image icon into Web Dynpro for Java project

    Dear Experts,
    I would like to have a "select all" button which has an image of a standard "Select ALL" icon in SAP R/3. Where do I store the icon in my Web Dynpro for Java Project? 
    Any help would be very appreciated.
    regards,
    Shoira

    Hi Shoira!<br>
    <br>
    You have to use the following path:<br>
    <your workspace>\LocalDevelopment\DCs\demo.sap.com\<your UI component>\_comp\src\mimes\Components\<your component><br>
    <br>
    Best regards,<br>
    <br>
    Christoph

  • How to create the exe files for java application

    How to create the exe file for java application?
    got any software to do that?
    Thanks

    In terms of converting java applications into exe files, there are 3 schools of thought:
    1) Instead of converting it to an exe, convert it to a jar file. Jar files are more portable than exe files because they can be double-clicked on any operating system. The caveat is that a Java interpreter must be installed on the target computer for the double-clicking to work.
    http://developer.java.sun.com/developer/Books/javaprogramming/JAR/
    2) Create an exe launcher that, when double-clicked, attempts to find a Java interpreter on the local computer and launches the Java application. The exe file is still double-clickable but whether your java application runs depends on whether a Java interpretor is installed on the target computer.
    http://www.sureshotsoftware.com/exej/
    http://www.objects.com.au/products/jstart/index.jsp
    http://www.duckware.com/products/javatools.html
    http://www.ucware.com/jexec/
    http://www.rolemaker.dk/nonRoleMaker/javalauncher/
    http://www.jelude.cjb.net/
    http://thor.prohosting.com/~dfolly/java/index.html
    3) Create an exe launcher that bundles a Java interpretor. Same as above but when the exe file is double-clicked, it searches for a Java interpreter and if one is not found, it installs one on the target computer. The caveat is that the exe file would have an overhead of 10 MB in size for the interpreter.
    http://www.excelsior-usa.com/jet.html (evaluation version available)
    4) Convert the Java application into a native exe file. The caveat is that if you use Swing for your GUI, it won't be converted. Also this option is still somewhat experimental.
    Can't think of any free options right now.

  • [svn:osmf:] 13633: Add build config file for SMILPlugin project

    Revision: 13633
    Revision: 13633
    Author:   [email protected]
    Date:     2010-01-19 14:23:44 -0800 (Tue, 19 Jan 2010)
    Log Message:
    Add build config file for SMILPlugin project
    Added Paths:
        osmf/trunk/plugins/SMILPlugin/SMILPlugin-build-config.xml

    Hi mg30,
    There is no way to overwrite the XML configurations file just through modifying the SQL Server Agent job steps.  The Dtexec utility will apply the default package configurations for the second time after applying the options specified in the command
    lines or other package configurations configured in the job step.
    If the package is not deployed/installed, the Dtexec utility looks for the XML configurations file according to the file path defined in the Package Configurations Organizer window. In this situation, you need to either disable the package configurations
    or modify the XML file path in the BIDS.
    If the package is already deployed/installed, you need to modify the package as above or re-specify the install folder for the package configurations file. 
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Java: Where are JCE Unlimited Strength Jurisdiction Policy Files for Java for Mac OS X 10.7?

    I need to install the JCE Unlimited Strength Jurisdiction Policy Files for Java 1.6 under Mac OS X 10.7.  I know where to get then from the Sun/Oracle Java download site, but want to make sure that these will work on the Mac.  Or, are there Mac specific versions somewhere?

    There's a  jce.jar file in /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/, so it appears that they're already in place, but that's just a WAG.

  • JAR file for java.sql.Timestamp?

    What is the JAR file for java.sql.Timestamp?
    It would be nice to have a directory file or .sh script to find these.
    -- Ewin

    rt.jar has it. Pretty much anything java.* is in rt.jar
    Rob

Maybe you are looking for