How to turn a Java Application an .exe file?

Hello, I'am just above new commer in Java world. I was wondering if anyone could help me. I just developed an application in java, how can I turn it into exe file? is there a way I can run this application without the "Command" promt (window) running?
Pls. help my email address is "[email protected]"
Any assistance will be largely appreciated.

you can try the J++ compiler provided with the JBuilder from Microsoft but this is just compiling the java to C++. to create a standalone exe is as far as I know impossible. U can try to use a jar-archive (create with the sdk) and if a Java Virtual Machine is installed (normally with every popular web-browser) it will run with a doubleclick

Similar Messages

  • Change java application to exe file

    I want to change the java application(*.class)to the exe file in WIN OS in order to update its speed, can anyone tell me some useful infomation? thanx in advance.
    Holly

    I have been using VAJ for several months now and I have not found the option to compile a native executable. Its help system is the worst I can recall ever seeing. So can you tell me exactly how to do that with VAJ?

  • What tools can change Java application to .exe file(for Windows)?

    Thanks.

    would appreciate if u try searching the forum first
    this is one of the most frequently asked questions here
    i have used the suggestions here and found that it works
    regards

  • How to schedule a java application via Windows Scheduler

    I can't figure out how to schedule a java application using the Windows Scheduler. Do I schedule the java application with the .class file as a parameter? How do I pass arguments to it?
    To execute FileCopy.class, my best guess was:
    Start | Control Panel | Performance and Maintenance | Scheduled
    Tasks | Add Scheduled Task | Browse | Program Files | Java |
    jre1.5.0_06 | ... Advanced Properties
    Under the Task tab:
    Run: "C:\Program Files\Java\jre1.5.0_06\bin\java.exe"
    Start In: "MyDocuments\Eclipse_Workspace\Java_File_Copy
    FileCopy"
    This does not work. How do I schedule the FileCopy.class java application, and how can I pass arguments to it? Can this be done without specifying a password?
    TIA,
    John

    Suppose that your class is FileCopy (has no package name) and is located under MyDocuments\Eclipse_Workspace\Java_File_Copy folder, then you should have:
    Run: "C:\Program Files\Java\jre1.5.0_06\bin\java.exe" FileCopy
    Start In: "MyDocuments\Eclipse_Workspace\Java_File_Copy"
    And yes you must provide a user password to execute the task.
    Best way to do this is to create a special user (with password) for executing this task.
    Regards

  • How can i run java application at system startup just liks as services

    How we can run java application at the time of system
    starts up just like as services.

    Hi,
    At first you have to create an exe of the class file.
    for that go to the site www.duckware.com/java2exe.html
    Click on the j2exe23c.exe(75k) download it and install in ur system. convert the class file to windows exe.
    The put the exe in the startup folder in windows.
    If ur not able to find that folder search for it and put that exe in that folder.

  • How to make a Java application that will change the client box's IP address

    HI how to make a Java application( that application would be run on the client ) that will change the client box's IP address ( IP address of itself )

    If you can do that through the command line, then use Runtime.getRuntime().exec(...) to execute your command.

  • Turn a script into an .exe file?

    Hi,
    How can I turn a JavaScript into an .exe file (on Windows)? The
    advantage is that if the script uses only ScriptUI features, it will
    never need to launch InDesign. Additionally, it is possible to package
    it that way with a special icon that appears if it is placed on the
    desktop, and when it runs the icon appears in the taskbar.
    An example of what I'd look to achieve is the hyphenchecker script,
    written by the late Teus de Jong. There is one Windows-only version
    available on his website (which is still being maintained, probably by
    his son) which is an .exe file -- precisely what I'm trying to do.
    Thanks,
    Ariel

    straight form javascript i don't think there is a way.
    however you can use, i think, Visual Basic (not vbScript!!) as a wrapper for js (using doScript)?

  • How to download IMExample java application??

    Hi all,
    I need to research Multimedia database in Oracle. I tried to find and to download IMExample Java application. but I don't know where I can find the IMExample in Oracle database.
    Please, any one can help me where I can download IMExample Java application ???
    Thanks alot !!

    Hi
    I have such problem
    I must make database which store monkey's audio audio file (*.ape)
    but Intermedia support only such file:
    # This file controls what MIME types are sent to the client for the
    # given file extensions. Sending the correct MIME type to the client
    # is important so they know how to handle the content of the file.
    # Extra types can either be added here or by using an AddType directive
    # in your config files. For more information about MIME types
    # please read RFC 2045, 2046, 2047, 2048, and 2077.
    # MIME type               Extension
    application/activemessage
    application/andrew-inset
    application/applefile
    application/atomicmail
    application/dca-rft
    application/dec-dx
    application/mac-binhex40     hqx
    application/mac-compactpro     cpt
    application/macwriteii
    application/msword          doc
    application/news-message-id
    application/news-transmission
    application/octet-stream     bin dms lha lzh exe class
    application/oda               oda
    application/pdf               pdf
    application/postscript          ai eps ps
    application/powerpoint          ppt
    application/remote-printing
    application/rtf               rtf
    application/slate
    application/smil          smi smil sml
    application/wita
    application/wordperfect5.1
    application/x-bcpio          bcpio
    application/x-cdlink          vcd
    application/x-compress
    application/x-cpio          cpio
    application/x-csh          csh
    application/x-director          dcr dir dxr
    application/x-dvi          dvi
    application/x-gtar          gtar
    application/x-gzip
    application/x-hdf          hdf
    application/x-javascript     js
    application/x-koan          skp skd skt skm
    application/x-latex          latex
    application/x-mif          mif
    application/x-netcdf          nc cdf
    application/x-sh          sh
    application/x-shar          shar
    application/x-stuffit          sit
    application/x-sv4cpio          sv4cpio
    application/x-sv4crc          sv4crc
    application/x-tar          tar
    application/x-tcl          tcl
    application/x-tex          tex
    application/x-texinfo          texinfo texi
    application/x-troff          t tr roff
    application/x-troff-man          man
    application/x-troff-me          me
    application/x-troff-ms          ms
    application/x-ustar          ustar
    application/x-vnd.realmedia rm
    application/x-vnd.realtext rt
    application/x-wais-source     src
    application/zip               zip
    audio/basic               au snd
    audio/midi               mid midi kar
    audio/x-mpeg               mpga mp2 mp3
    audio/x-aiff               aif aiff aifc
    audio/x-pn-realaudio          ram
    audio/x-pn-realaudio-plugin     rpm
    audio/x-realaudio          ra
    audio/x-wav               wav
    audio/x-ms-wma               wma
    audio/x-ms-wax               wax
    chemical/x-pdb               pdb xyz
    image/bmp bmp
    image/gif               gif
    image/ief               ief
    image/jpeg               jpeg jpg jpe
    image/pict pict pct
    image/png               png
    image/tiff               tiff tif
    image/x-cmu-raster          ras
    image/x-portable-anymap          pnm
    image/x-portable-bitmap          pbm
    image/x-portable-graymap     pgm
    image/x-portable-pixmap          ppm
    image/x-rgb               rgb
    image/x-xbitmap               xbm
    image/x-xpixmap               xpm
    image/x-xwindowdump          xwd
    message/external-body
    message/news
    message/partial
    message/rfc822
    model/iges               igs iges
    model/vrml               wrl vrml
    model/mesh               msh mesh silo
    multipart/alternative
    multipart/appledouble
    multipart/digest
    multipart/mixed
    multipart/parallel
    text/css               css
    text/html               html htm
    text/plain               txt
    text/richtext               rtx
    text/tab-separated-values     tsv
    text/x-setext               etx
    text/x-sgml               sgml sgm
    text/xml               xml dtd
    video/mp4 mp4
    video/3gpp 3gp
    video/mpeg               mpeg mpg mpe
    video/quicktime               qt mov
    video/x-msvideo               avi
    video/x-ms-asf               asf asx
    video/x-ms-wmv               wmv
    video/x-ms-wvx               wvx
    video/x-sgi-movie          movie
    x-conference/x-cooltalk          ice
    There is no ape file, how can I add the new format *.ape
    "Extra types can either be added here or by using an AddType directive" ??? how can I do it ?
    Thanks

  • How to start a java application by double clicking just like windows gui?

    Hi,
    I want to open the user-defined file in my java application. The way is like the notepad in windows:1.double click the file name 2.the file is opened in the java application 3.if this file has opened at the same time ,then the last opened will be read-only.
    Could you tell me how to carry it out ? Thank you
    from Maria

    !!! Please give me a help! i am thirsty for itSo, to get this straight, you have a Java application in a jar. For some reason, you do not execute this directly. Are you aware that you can execute a jar directly without the need to write a C++ exe to do it?
    Anyway, for some reason, instead you have a C++ application which launches the JVM with your jar main class.
    Well, you want to do two things. First of all, on Windows level, you need to associate the file type of your user file with your application. Note that they have to have a specific file extension that you choose. To associate the file type with an executable, you open a windows explorer, go to View, Folder Options, File Types and add an entry for your file type and specify it to open with your application. If you do not know how to do this, google for "windows associate file type with program executable" or something alike.
    Now, if you double-click one of your user files, the associated exe will open, and it will receive the file name as a command line argument. In your C++ application, you will need to pass this argument, a file name, to the Java application where you launch it.

  • How to launch a Java application by clicking an icon for the windows system

    Hi Deal All,
    I am new in this forum, I am used to be at Cryptography. Currently I have completed a Java project and I am intending to launch it from Windows.
    I will design an icon but how I can launch the java application by clicking the icon in Windows system.
    Great thanks for your guidence!
    Best,
    Your friend.

    Hi Deal All,
    I am new in this forum, I am used to be at
    Cryptography. Currently I have completed a Java
    project and I am intending to launch it from Windows.
    I will design an icon but how I can launch the java
    application by clicking the icon in Windows system.
    Great thanks for your guidence!
    Best,
    Your friend.Make the icon a shortcut with a target of something like "javaw.exe YouClass.class"

  • How do i run java application on IIS

    Hi,
    Can I run java application on IIS(Internet information Server)?
    If yes, How do i do that?
    My java application contains JSP,Servlets and EJB.
    To run java application on IIS which plug in should i use.
    Can anybody help me This is urgent...........
    Thanx

    You can try using Macromedia JRUN version 4. Any of the version will have an ISAPI filter which you can add to the IIS site of your JSP/Servlet.
    The JRUN ISAPI filter will establish connection to the JRUN proxy listener on a port. This port is called proxy listener port. Basically once you install the ISAPI, it will have config file called jrun.ini
    Check for the ProxyPort entry in jrun.ini (or something like this - sorry, I can't remember the exact entry). It should match to the proxy listener port where of the server where your JSP/Servlet is intalled.
    Good luck !

  • How do I run java application on IIS server

    Hi,
    Can I run java application on IIS(Internet information Server)?
    If yes, How do i do that?
    My java application contains JSP,Servlets and EJB.
    To run java application on IIS which plug in should i use.
    Can anybody help me This is urgent...........
    Thanx

    Hi
    Check this article on JGuru. It explains how to use Tomcat together with IIS.
    http://www.jguru.com/faq/view.jsp?EID=776546
    If you also need to use EJB's you probably also want to have a JBoss installed - check www.jboss.org
    /Peter

  • How do i run java application in IIS

    Hi,
    Can I run java application on IIS(Internet information Server)?
    If yes, How do i do that?
    My java application contains JSP,Servlets and EJB.
    To run java application on IIS which plug in should i use.
    Can anybody help me This is urgent...........
    Thanx

    Can i use EJB components in it?Yes, you can use EJB components. IIS uses Tomcat as a plugin and Tomcats feeds IIS with HTML code. Tomcat performes all the JAVA work including EJB. This links shows you how to install it:
    http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html
    Shoud be the same for version 4.1

  • How to call a java application in a jar which is in a war file of a ear ?

    So sorry to cross post, but no response in other topics.....
    Please help!
    I have a Ear file which contains a war file.
    xx.ear/META-INF
    xx.ear/YY.war
    and the YY.war has the following structure:
    YY.war/META-INF
    YY.war/WEB-INF
    YY.war/WEB-INF/classes
    YY.war/WEB-INF/classes/com/
    YY.war/WEB-INF/classes/com/mycompany/
    YY.war/WEB-INF/classes/com/mycompany/MyClass.class
    MyClass.class is a java application which has a main method.
    how can I call this MyClass applicaiton from the xx.ear??
    java -???? com.mycompany.MyClass ??
    Please help because I have a Unix cron job need to access this class externally outside AppServer. Thx!!

    an ear file is a standard jar with a different extension. You may
    be able to get away with just adding a manifest file to it that
    specifies the main class (make it an executable jar with a different
    extension).
    I don't know if this will handle the nested war file though. It may.
    matfud

  • How to launch my java application in a web browser?

    Hi. I try to launch my java application, e.g. "HellowWorld.java", using web browser.
    1. How can I change my java application program to java applet in general way?
    I read "Java: An Introduction to Computer Science and Programming, Third Edition"
    by Walter Savitch and found page 803 - "Converting a Swing application to an applet".
    My question is how I can know which class should be removed or not such as using JApplet instead of JFrame. Are there general rules about this?
    2. I found "AWT only" tutorial had some example lauching application using "AppletButton".
    How can I use this method to launch "HelloWorld.class"?
    http://java.sun.com/docs/books/tutorial/information/download.html#OLDui
    (after extracting zip file) -> ../OLDui/layout/card.html
    3. (continued 2) Can I use above method to embed applet into web browser?
    For example, java Swing application -> applet using "AppletButton" -> web browser using "<applet></applet>" tag.
    I'd appreciate any partial anwers of these questions or other suggestions.
    Thanks.

    Thanks! Here is what I got from your help.
    * HelloWorldSwing.java is a 1.4 example that
    * requires no other files.
    import javax.swing.*;  
    import java.awt.*;                //for Container class    
    //  public class HelloWorldSwing {
       public class HelloWorldSwingToApplet extends JApplet {
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
    //    private static void createAndShowGUI() {
          private void createAndShowGUI() {
            //Make sure we have nice window decorations.
    //        JFrame.setDefaultLookAndFeelDecorated(true);
            //Create and set up the window.
    //        JFrame frame = new JFrame("HelloWorldSwing");
    //        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         Container frameApplet = getContentPane();
            //Add the ubiquitous "Hello World" label.
            JLabel label = new JLabel("Hello World");
    //        frame.getContentPane().add(label);
         frameApplet.add(label);
            //Display the window.
    //        frame.pack();
    //        frame.setVisible(true);
          public void init() {
           createAndShowGUI();
    /*    public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }

Maybe you are looking for