How to make exe files from java files

Ohhh, so you thought you were going to answer that question? Well I already know the answer, i.e. all the tricks with the jar files or the programs which convert java programs into executable programs.
The reason why I asked this question was to start a discussion concerning question which are frequently asked in the forums. Wouldn�t it be nice to have like statistics over the most faq here, and of course one or several pages with the answers to these questions? This would solve 2 problems:
1) The person who wants to ask the question can find the answer and the solution quickly.
2) The forums would not be packed with the same questions all the time.
I mean, you must admit that the questions regarding �exe files� are asked a lot of times.
Happy coding to ya all!
/TM

Yeah thats my point! these questions should be moved
to a special page, where the answer to theam areDid you the whole message? I said there are FAQs.

Similar Messages

  • How to make .exe file in java swing

    dear friends;
    i am working on a project. I want to create a setup file so that we can install our software any where on the system and for that I have to make .exe file. pls gide me for making .exe file
    thanks and regards
    shashi_vns007

    prigas wrote:
    Make a .jar which is javas equivalent to .exe.Then for the "..setup file.." offer the end user a JWS *(<- link)* based launch that will offer desktop integration (desktop shortcut and menu item) as well as access to automatic updates and much more. JWS will, of course, also work for Mac and Linux OS's.

  • How to make Exe file of java program

    how we can make the exe file of java programs. that can run independently of particuler JVM. like in VB we can create exe files.
    - early thanks

    Check this out:
    http://search.java.sun.com/search/java/index.jsp?qp=%2B
    orum%3A31&nh=10&qt=create+exe+file+program&col=javaforu
    s

  • How to make  jar with from java code for the filenames containing spaces

    I tried to make jar file using Runtime.exec method . The filenames have spaces in it .So i gave the filenames in double quotes.It works fine with windows and also from the command prompt.But when i run the same code in unix box , it creates a jar file with no content.Pls give some solution. I used the jdk1.2.2

    Pls give some solution. Pls post your code

  • How to make gif-animations from java-midlets?

    I have produced a collection of Java animations as midlets.
    I am planning to make gif-animations of some of them.
    I suppose I can make a gif-picture of every frame of the applet
    through coding that myself in the code. Then I could take
    those gif-pictures and make an animation of them
    with some animation software. Is this a good approach?
    If so, what is the best software for doing this?

    What I need to do is to make color wallpapers. Do you know any better approach for doing this?

  • How to disable .EXE files to be run from Group Policy

    I would like to know how to disable .exe files from GP?
    Thanks in advance

    All exe files icluding calc.exe, notepad.exe and explorer.exe or just some exe files?
    There are different approaches to this.
    If you're trying to block a single executable that you're familiar with you can disable it from a GPO using the setting:
    User Configuration/Administrative Templates/System/Don't run specified Windows applications
    Another option is to specify only the applications you want to allow Using:
    User Configuration/Administrative Templates/System/Run only specified Windows applications
    This one would probably take a lot of work to populate for a system with many applications installed or for a corporate environment.
    None of the two mentioned settings takes into account that a user can name their exe file what they want so renaming mydangerousapp.exe to explorer.exe would make it a perfectly legitimate executable.
    A more robust and managable way of securing your systems by controlling which applications that can be launched is Software Restriction Policies.
    Check this article for an introduction to Software Restriction Policies: http://technet.microsoft.com/en-us/magazine/2008.06.srp.aspx

  • How to make html file from a text field data

    hi!
    I want to know how to make a file with .html extension and the data in this file should be from a text field. like i want to enter some thing in a text area and have to place it in a file on server side in html formate.

    so you told us what you want, but what is your question?

  • How to make html file on server side from the data entered in text area

    Hi!
    I want to know how to make .html file on server side. Like if i enter the data in text area ( or like we normaly see when we write mail that editor) and we can use html tages in it and when user submit form all the data in that field will be saved on server side as an html formate. Is it possible to do so??? or any ruff idea how to design it???

    Erm ...
    Whats the problem with that?!
    Ok, here the code ...
    String myparameter = request.getParameter("paramname");
    String htmltemplate = "<html>\n"
                         +"<head><title>demo</title></head>\n";
                         +"<body>@parametertag@</body>\n";
                         +"<html>";
    String htmlpage = htmltemplate.replaceAll("@parametertag@",myparameter);
    File yourHTMLfile = new File("wheredoyouwannagotoday.html");
    FileOutputStream fos = new FileOutputStream(yourHTMLfile);
    fos.write(htmlpage.getBytes());
    fos.close();You're done.
    Happy Coding! :-) &copy;

  • How to run .exe files with Virtual PC for Mac

    Hey Guys, I'm new around here and with mac technology as well. Anyway, I have an iMac OS X 10.5.1 Leopard and I've recently purchased the Virtual PC for Mac 7.0.2 software. So I'd like to know how to use this program properly, because I need to run some executable files in my computer. It is confusing for me because I don't know how to get started, and I only get to the part when it says "OS not found, Install an OS on this hard drive".
    Honestly I've no idea of what an OS is or where do I get that. So I'd really appreciate if one of you guys could tell me, step by step, what to do to use Virtual PC properly, and finally learn how to run .exe files on mac.
    Thanks in advance!
    Have a nice day!

    Always nice to see new faces
    Honestly I've no idea of what an OS is or where do I get that.
    This brings up the second part of your problem. The first part is setting up either a proper Virtual Machine program like Parallels or VMfusion, or setting up a Boot Camp partition on your drive.
    http://www.parallels.com/
    http://www.vmware.com/products/fusion/
    OS stands for Operating System. You are running Leopard 10.5.7 as an operating system on your Mac (MacOS X).
    The second part of your problem - You will need a copy of Windows XP or Vista if you want to run Windows on your Mac.
    There is at least one other solution for running Windows programs on a Mac. It's called "CrossOver" by a company named 'Codeweavers'. It's based on a project for "Wine" to be able to run PC programs on a Mac or Linux, without having to buy or install Windows. It works with a narrow subset of Windows programs so you would want to make sure the program you want to run is compatible with CrossOver before you buy it.
    http://www.codeweavers.com/products/cxmac/
    In addition to all the above information, you need to upgrade your Mac to the latest 10.5.7 from 10.5.1. "Software Update" is located under the black Apple icon in the Menu Bar at the top left corner of your monitor. After you are updated you will want to update your Profile here so that it shows the proper OS version.
    With your level of experience with MacOS X and the Windows OS's you should probably get some help from a local Apple store. They have an appointment system and do offer many types of help and training, and they can offer assistance with choosing the proper programs for you to purchase for your machine.
    You are also welcome to continue to ask questions here, of course. You will want to ask your questions with different issues that come up in different threads so that the answers stay focused on the title of the thread.
    Message was edited by: dechamp to try to be more accurate with a fairly complicated issue...

  • How to make Jar files in JBuilder

    I would like to know how to make jar files using JBulider. I have a problem with a project that I am working with in Swing. I have made the project on JBuilder and when I make a jar file it will not run upon clicking.
    Any body with an answer, please help
    Abhi

    It sounds like your Main-Class is not set properly in your manifest. To set your Main-Class, please follow these directions:
    http://java.sun.com/docs/books/tutorial/jar/basics/run.html

  • How to make pdf file auto open with adobe reader after downloaded

    how to make pdf file auto open with adobe reader after downloaded

    I note from your system details that you have the plugin for adobe pdf s so I would have expected the files should open in firefox '''without''' you needing to explicitly download them.
    Once the files are open in firefox, you will also get the option to save them permanently to a location on your computer. If you wish I suppose you could set the file type pdf to be associated with and be opened by firefox instead of with the Adobe Acrobat Reader, but that would just seem to be an additional complexity.

  • Plz help? how to make exe of java prg.

    how can i make exe file of .class files. so that it may run automatically. Do i need jdk at the system at which it running ?

    how can i make exe file of .class files. so that it
    may run automatically. Do a search for for this. It is discussed here every day. It has beeen answered often. Try using a search. While you are at it, look up JARs too 'cause they may be an easier/better way to go.
    Do i need jdk at the system at
    which it running ?No. You may need the JRE(JVM) though, if you use JARs or the .class files directly.

  • How to make audio file to use as ringtone on iPhone 5

    Does anyone know how to make a file and then make it a ringtone?

    Make sure iTunes prefs > Import settings is set to AAC.
    In iTunes, find the song you want and note the start/stop time you want the ring tone.
    Right click - get info, click the Options tab and set the start/stop times as above. (Note a 30 second max for ringtones)
    Right click - Create AAC version. This creates a new file.
    Drag this new file from the iTunes window to the desktop.
    Delete the new file from iTunes and also select Delete from hard drive.
    On the desktop, rename the file to what_ever_you_want.m4r (first part you can change to whatever you want & change the extension to .m4r).
    Drag the file back to the iTunes library at top left.
    Make sure iTunes prefs > General has Tones ticked.

  • How to make jar file for this compilation method ?

    can any one tell me how to make jar file for this compilation
    D:\java\browser\IEInJava>javac -classpath jdic.jar;. IEInJava.java
    D:\java\browser\IEInJava>java -cp jdic.jar;. IEInJava
    *this is a compile code:-*
    D:\java\browser\IEInJava>javac -classpath jdic.jar;. IEInJava.java
    *and this is a run code:-*
    D:\java\browser\IEInJava>java -cp jdic.jar;. IEInJavanow how make JAR file ?

    Assuming IEInJava only uses classes inside the jdic jar, this is one way. D:\java\browser\IEInJava> jar cf yourjar.jar IEInJava.classThen to run it you would use D:\java\browser\IEInJava> java -cp jdic.jar;yourjar.jar IEInJavaAnother way would use the jar manifest file to specify the Main-Class and Class-Path.

  • How to run .exe files in mac pro?

    how to run .exe files in mac pro?
    i am looking for this to play games in my mac pro.
    if someone got a answer, just let me know
    cheers.

    mailking wrote:
    And I fail to see why you are attacking me...
    My comment is Valid...  " .exe files will not run natively on Mac OS X..."
    I am sorry. I had the false impression that it was commonly known that .exe files did not run on Mac OSX natively and failed to see any constructive critique you were bringing. Maybe I am wrong. Again deepest apologies.
    Unfortunately... these days... not every one is aware of this .exe  fact..
    Apology accepted.. and Thank You..

Maybe you are looking for

  • Abap dump

    Hi, We are getting the following error in the  PRD system . Runtime Errors         COMPUTE_BCD_OVERFLOW Exception              CX_SY_ARITHMETIC_OVERFLOW Short text      Overflow during the arithmetical operation (type P) in program What happened?    

  • Problem adding Payments /w DI-API

    Hello, I am trying to update a payment through the DI-API. I am using the oIncomingPayments busness object. I am also using PL:9 and the problem I am having is: it is asking for the LineID but the LineID is write only. So it seems that there is no wa

  • Document distribution CV01n

    im unable to distribute document with attachments , doc status 10 released, having distribn type INT, email is triggered and reaches recipient, but with no attachments arrived at recipient.

  • Problem in recovering database

    I Have Oracle Database 10g (10.2.0.1.0) on Windows Server 2003 I have taken full hot RMAN backup of database. I have copied the backup files from flash recovery area. I have one other Machine having windows server 2003 And Oracle 10g Same version. I

  • How to enhance standard locator on comlaint?

    I want to add my tab to the standard locator or add my own fields to some tab of standard locator . Any ideas will be helpful.