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:
and got several useful links.
Better search terms might yield even better results.

Similar Messages

  • How to create the exe files for java application

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

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

  • How to create the ini file for java programms

    hi all,
    I have one problem that is ...
    In my project I am using the JDBC connection ...
    in this I am connecting different connections (means differenet usernames and passwords)...
    for this evrey time I have to change the username and password in the
    hardcode ...
    I think that some ini file are there in java ...
    So if anyone knows about use of ini files in java please
    send me..

    In java they are called properties files.
    Look at java.util.Properties which provides methods for reading, writing, etc.

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

    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.

  • How to create a Batch file for java application  ?

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

    Assuming you want to develop a batch application rather than actually just create a .bat file ..

  • How to create a .exe file for a java application

    Hi, I want to create a .exe file for a java application I am developing so that I can schedule it to run at a particular time using Windows Scheduler on WinNT. Is there any way to accomplish this? Or is there any other way in which a Java application can be scheduled to run at a particular time on Windows everyday?

    Create a .bat file and run that. Just have, in the .bat file:
    java YourClassName Alternatively, you can use javaw YourClassName (without *.bat, just put it into Windows Scheduler like suggested above).
    using javaw won't pop up any window...

  • Creating an exe file for java

    Hi all,
    any way to create the exe file using JBuilder 3?
    if possible how to do that?
    how about creating installation file for the application?
    thanks alot

    I think you might need a byte code compiler that converts the .class files to .exe
    I believe there are some products out there that do this. I don't think there is a java utility that performs this type of operation.

  • How to create an exe file for single class

    Hi all,
    l have one some program with only one class and want to create one exe file for
    easily execute for the user.
    I've use exe4j and another tool to do but all failure, the error message always shown me that main class not found.
    Any idea??
    Thanks a lot!

    I suspect your class has somewhat invalid thing.
    Have you verified:
    - The class you wish to be executed contains public static void main(String args[])- The package declaration on your executable-wannabe class is valid
    - In case you need to import another class, make sure the import statement(s) is valid
    No matter what kinda program you use to create .exe from java class, the above things must be valid. AFAIK.
    Farid Herman

  • How to create search index files for Java Pet Store

    Hi All,
    As you may know, the java pet store application uses for the search function a search index object, which itself uses the following files '_36.cfs', 'deletable', 'segments'.
    Now as I want to change the data of the database (delete some pets, and names, etc.), it does not have an effect on the search results. This is because the application uses the search index files and does not use the database for the search query.
    So can anybody help me and tell me how I can create this three files from my *.sql file, so I can search in my own data?
    Thank you very much for your help.

    gonso777 wrote:
    I had the same problem. It seems that the installer does not unzip three files where it should.
    With NetBeans (Using File Perspective) or just editing build.xml
    Netbeans: select build.xml/Run Target/Other Targets/unzipindexes: Tough it should work it fails in resolving $javaee.domaindir$ at least in my system, but it does suscessfully create a new directory named ${jee.domaindir} that includes lib/petstore/searchindex and three files: _36.cfs , deletable, segments.
    Copy those three files to your_glasshfish_path/domains/domain1/petstore/searchindex.
    Now you are done. I hope that you had a nice time while waiting two years for it to be answered. How is it that it is not answered anywhere else?
    Ramon Talavera
    www.sciencetechworks.comThanks. I didn't wait 2 years for this, but I just replied on a 2 year old post. I only recently tried the petstore app. I thought I needed to study lucene first to figure things out, it turns out there was an 'internal target' on the build file for this. Thanks a bunch!

  • How to create an exe file in java

    hi all,
    i am trying to create exe file for myapplication plz helpme out in this

    The answer is there in Last Post of this Thread
    Hope it will help you
    Thank you

  • Want to create and exe file for .java files

    Hello all :)
    I am making a multi-threaded console application.
    It also takes command line parameters from user.
    I want to create .exe files out of .java files.
    Note:- One class contains main method (in default package) and all other classes are in some specific package
    I want to create an exe for the whole application.
    The solutions which i get on net is exe4j but i was unable to use it.
    Please suggest me to create an windows executable file out of java files.
    Thanx in advance

    by definition, if you double click on the .exe , you won't pass it parameters
    you have to launch a shell, reach the directory where the .exe (or .jar) is stored, and launch the exe directly with parameters, e.g:
    myApplication.exe -u user -p password
    you can't double click on the exe and say "ok, i give you -u -p!" ; everything has to be done simultaneously if your app is using the "String [] args" arguments of main
    if you want to specify parameters after launching the app, you have to grab user input in your main

  • How to create the setup file in java

    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

  • How to create the patch file for Printer installation?

    Recently I bought a network printer and really want to install printer via the batch file, but I don't know how and what command needs to be typed in Notepad.
    Could you please give me some templates for this?

    Hello avocado0227,
    Please take a look at the following thread about Batch File to install printer.
    As you want to use the batch file to install printer, to receive better support, it is recommended to post in the TechNet script forum.
    The professionals there will be glad to help you.
    Thanks for your understanding.
    Best regards,
    Fangzhou CHEN
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to download the exe file, rather then installing

        hi, as my working pc has very low internet connectivity, how can i download and take this installable file to my pc? because when ever i click on download flash builder 4.7 trail it starts installing rather then downloading and getting saved in some location.. please help me

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

  • How to create a exe file of a .class file

    how to create a .exe file for windows .class file of java
    please answer this so that i can complete the project to be submited to collage

    There is a program called JET. Is enables you to create .exe files of .class files.
    This is the URL:

Maybe you are looking for

  • Safe to delete content from the Temp folder under AppData?

    Hi everyone, Is it safe to delete the contents from the Temp folder (C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp) in the SharePoint 2013 web front end servers? For some reason I see around 30 GB of temp files. Came across this blog pos

  • How Can I Create a new Role in an PCD address?

    Hello EveryBody, I need to develop a new class that it can manage SAP Portal roles. I got how to recover all the roles of a user or how to recover all the roles in a PCD path. Now I have the problem when I try to create a new role in a PCD path. The

  • Just downloaded yosemite and now cannot connect with wi-fi and can no longer scan from my HP all in one

    after download a message said that " Flip for Mac " is not compatible and was moved to " Incompatible software folder ". Same for my Belkin Router monitor. And then today I tried to scan a photograph to iPhoto and it would not scan even though I was

  • Adobe Bridge CC will not launch

    Hi - I was doing a little cleanup on my Windows 7 machine and noticed that I still had Photoshop CC and Photoshop CC(2014). I uninstalled Photoshop CC. (Note that I also have Photoshop and Bridge CS6 installed.) When I then went in to Photoshop CC(20

  • What are the list of .stock by storage location

    hi, iwant to devlop the report to stock by storage location.give me description about a report to list of .stock by storage location. what are the functional spects for this report, what are the tables and fields we have to used for this report plz g