.class file into the .exe file - simplest possiblity ???

Dear All,
I have a java program....and the compiled ".class" file for this....basically, it is a Frame..i will run this said program from my command prompt like,
C:\java megalaunch
...the frame will appear now....
what i want to know is .............Is it possible to change this said class file, in to an .exe file...so that, (instead of going for a command prompt for running the said program) i can just double click the said .exe file and start that said Frame....
pl. post a reply,
Sakthivel S.
P.S: I dont want to use the batch file option for the above...

Easier (and more reliable, smaller. etc) than creating an executable .exe file is to create a Windows (desktop) shortcut to the GUI program, or create an executable .jar that packages your GUI. Both are executable/clickable solutions.
Use a desktop shortcut or an executable jar file:
http://developer.java.sun.com/developer/qow/archive/21/index.html

Similar Messages

  • Embedding swt-win32-3054.dll into the exe

    Hi
    I manged to create an exe for a SWT application using GCJ. Is there anyway that I embed the the SWT dll inside the exe so that i can simply distribute the application as a single exe rather than a exe + SWT dll

    Hi Allen,
    I guess <b>swt-win32-2135.dll</b> is corrupted.
    Do register swt-win32-2135.dll from other machine on which the NWDS is working fine.
    register it by putting the new dll in the same folder then in the windows <b>start -> run -> regsvr32 C:\Program Files (x86)\SAP\IDE\IDE70\eclipse\plugins\org.eclipse.swt.win32_2.1.2\os\win32\x86\swt-win32-2135.dll</b>
    Also can be done using CMD or COMMAND
    Try it , Problem should go!! This dll is only being used by eclipse.
    Thanks,
    Raags
    Message was edited by:
            Raghavendra Pothula

  • Importing an email more than once from notes into the webclient...Possible?

    Hi!
    Is it possible to import an email more than once from a lotus notes account into my webclient?
    I don't have a working sample so:
    Is there a lock to prevent it... in notes... in my webclient?
    Are there optical signs in my webclient that an email is already imported?
    Thanks in advance for your hints in this case.
    Cheers, Ingo

    The Member Feedback forum is for suggestions and feedback for OTN Developer Services. This forum is not monitored by Oracle support or product teams and so Oracle product and technology related questions will not be answered. We recommend that you post this thread to the appropriate Database forum.
    The main URL is:
    http://forums.oracle.com/forums/index.jsp?cat=18

  • How to access or create a stage in a class file

    Hello Flash Actionscript writers,
    I have recently discovered that I cannot use the "stage" in a
    class file. I had a regular fla file that had actionscript
    in my "actions" layer. Of course, the fla has a stage object.
    I decided it might be nice to use the actionscript
    I wrote (copied, stole, etc) in as a class, so I could use it
    in different places, etc. I am still a neophyte in this area.
    My new class file consists of a button and a textfield. I
    created small classes for each of these items as an exercise for
    myself on creating a simple class, etc.
    I also have a URLLoader, and use an xmllist to do a sort of
    mini-slide show. The idea is to show a button and the textfield.
    When the user clicks the button the slide show starts. I would like
    to be able to center the images loaded on the stage, along with the
    buttons, etc. Right now I am cheating - since I decided the stage
    is 500 px wide, etc. I can use 500 - myButton.width, etc to center
    items. The fla where the class is called has a stage that wide,
    etc. The swf created from the class file WeeklySlideShow.swf is
    created from a fla with the DocumentClass set to my class
    WeeklySlideShow.as.
    I then have yet another fla file, and load my
    WeeklySlideShow.swf into that file, and play it, etc. But my
    buttons and images are not centered. Or should I just put my
    actionscript class back into the calling fla as an actions layer,
    thus having a stage where I can center everything. I probably have
    a flaw in the items in my class file and am really miss-using the
    class concept, etc.
    Any tips will help.
    Thanks,
    eholz1

    A little more text explaining where you get stuck might help (tell us which wires you can figure out, and which ones you can't).
    Anyway, if you never want this VI to give you a dialog, simply wire a FALSE constant to 'Advisory dialog?'.
    If you wire TRUE to it, or leave it unwired, LV will give you a dialog if you want to open a file (specified by 'file path') and it does NOT exist, or if you want to create/replace a file and it DOES exist.
    The file you actually want to open/create/replace is specified by the 'file path' input. If this is empty, LV will also show a dialog.
    I am not sure what happens if you leave the 'file path' empty, and wire FALSE to 'Advisory dialog?', but that's easy to test.
    In your case, to avoid a dialog always, make sure the 'file path' is
    never empty and the 'Advisory dialog?' is wired to a FALSE constant.

  • Edit a class file in Eclipse

    I am new to Java and Eclipse and Weblogic.
    I was give a .war file and told to simply edit a parameter that they thought was in one of the .jsp pages in the war file.
    the only occurance of the parameter name "SearchProvider" is in the Search.class file located deep in folders under the WEB-INF folder.
    the only way i could even find the parameter "SearchProvider" was with the use of an Effective File Search trial software.
    I opened (barely) the Search.class file with windows notepad and its mostly jibberish but I can find the reference to "SearchProvider" in the class file.
    I need to change this parameter.
    When I import this into eclipse, I get the message there is no source file attached to the class file Search.class.
    I added the entire class folder into the library. I tried to change the class source but all I have are just the files in the .war package.
    I have tried changing the extension to .jar and this will let me add these files as a project, but I cannot edit this Search.class file no matter what I try.
    My basic question is, Am I missing files from the client? Do I need more than just a war file?

    Most likely you are searching the wrong place, on an web application the first place to start searching is the web.xml, it is the core configuration file it will tell everything about your application including which other tecnologies are being used, like struts, it is very likely that the answer to your question lies in the web.xml file.

  • Referencing external classes in the classes loaded into ORACLE8i

    Hi
    If I have to load a .class file into oracle8i and if it references another class XYZ.class file in the path /export/home/user what should I do to resolve during the loading. What happens if XYZ.class imports from a test.jar.
    Thanx

    Any external class references from classes loaded in ORACLE 8i must also be loaded into the database. The classes loaded into the db must be transitively closed. All external class reference must be either in the CORE Java api's (provided by Oracle) or must be loaded with the class in question.

  • How to run the exe in system tray?

    dear ni,
                    Interestingly i want to do something with labview with different task... now, after creating the exe is it possible to run on "system tray"
    when exe window close that will come to system tray.... how to do this?,..
    Regards,
    Balaji DP

    This Inventeering toolkit allows you to create a LabVIEW program that can access the Window's System Tray. Now you can make your LabVIEW program show up with your custom icon, pop up tool tip, and pop up menu in the system tray. Comes with a Royalty Free built application distribution license.
    Product Features:
    PROGRAMMABLE loading of icons, tool tips and menus to the system tray that will allow your program to poll for system tray events; and then respond in accordance to your design needs. An example LabVIEW Program demonstrating use is also provided.
    http://www.inventeering.com/_public/INVtray/INVtray.zip

  • Conversion of a .jar OR a .class file into a .exe  file

    Can anyone tell me as how to convert a .jar OR a .class file into a .exe file
    I need to know as soon as possible.

    Okay I will tell you the steps:
    Look in the top right hand corner of the page.
    There should be a box with a red title line. Inside the
    title should be the letters 'S E A R C and H'.
    In the white part of th box should be a smaller line, in which you can type.
    type in "conversion .jar .class .exe" or some similar string.
    Then click on the button next to the text box.
    Read the page of results you get.
    Click on the first link and read what is said on the connecting page.
    If that doesn't help, use your browser's back button and click on the next link, and repeat util your question is answered.

  • Can we make the .class file into executable one? Urgent

    I just made some java programs, which consist of some GUI and robot, and I need to make them into executable file, mean .exe file. From this forum, there was a suggestion to use Excelsior JET that can make .class files into .exe files.
    and when I tried to use the program, it did the job well, but when I try to put the .exe file into another PC, it can not run as if I run it on the system that I made the .exe file.
    Is there anyone experience this before? is there other solution? and is the the .exe file that has just been generated already include all .class file that are needed by the main .class file that has been converted into .exe?
    Thnks for the helps...

    It is sort of possible.
    A good way of doing this is to use an application called Install Anywhere. With this, you can create an installation file for your application, and it does create an executable. Ive used this a few times myself, and it is really easy to use.
    I think another app to do this is one called JToExe (i think), and this basically creates an executable.
    I hope this helps,
    Osh

  • Turn my .class files into .exe file

    Does anyone know a good install shield program for Java? I'm currently using a program called Install4J. But the problem is that after I installed the program all my .class files are basically copied into the destination folder. Is there a program that can combine all the .class files into an .exe file or maybe a library file? Thanks
    Bohua

    gee, that's never been asked before... good thing you didn't waste precious time searching the forums first.

  • Error in downloading itunes, all the .exe files turn into the itunes icon. I had to removed itunes.

    Error in downloading itunes in windows, all the .exe files turn into the itunes icon

    Download the lnk registry fix from www.sevenforums.com/tutorials/19449-default-file-type-associations-restore.html. Reinstall iTunes. Should you find that all of your desktop shortcuts have again turned into links to the iTunes application apply the patch.
    For further advice see Troubleshooting issues with iTunes for Windows updates.
    tt2

  • Is it possible to retrieve a deleted file that wasn't placed into the Trash can?

    I created a new Word document and was going to submit it to a Subversion repository using the Versions application.
    However I accidentally deleted it from within Versions. Versions did not place it into the Trash Can after deleting it, and as it was a new document it is not yet under version control and so cannot be retrieved from the repository.
    Is there anyway I might be able to retrive it?
    (I've asked the same question within the Versions Google support group but posting here while/if I get a response from there. Wondering if there are any OS X specific techniques/tools I can use if Versions doesn't provide the ability).

    Did you try to open this file in Word for editing and saved the modified file under the same name?
    If that is the case then you should always use Save as to save the file under a different name and in another folder.
    If that wasn't the case then you should have kept the file unless other (cleanup or anti-virus) software has removed the file because Firefox wouldn't remove files that weren't saved to temp folder.
    There are other things that need your attention.
    Note that your System Details List shows a very old Flash plugins 9.0 r45 version.
    *Shockwave Flash 14.0 r0
    *Shockwave Flash 9.0 r45
    Such an old Shockwave Flash plugin may not be installed in the default location.
    You can find the installation path of all plugins on the <b>about:plugins</b> page.
    *http://kb.mozillazine.org/Issues_related_to_plugins#Identifying_installed_plugins
    You can check the Flash player installation folder for multiple Flash player plugins and remove older version(s) of the plugin (NPSWF32) and possibly (re)install the latest Flash player.
    *(32 bit Windows) C:\Windows\System32\Macromed\Flash\
    *(64 bit Windows) C:\Windows\SysWOW64\Macromed\Flash\

  • Is it possible to get a count of all the class files in a Flash Builder project?

    Is it possible to get a count of all the class files in a Flash Builder project?
    Thanks!

    Resultsets are one per connection unless you have copied them. Do you have lots of connections are you properly reusing them or at least closing and discarding all references?
    See tutorial and Javadoc of API too

  • Windows Vista home addition want let Icloud execute. I went into the DEP program but I can not find the Apple exe file to add as ok. What is the file name?

    Windows Vista home additon want let Iclud execute. I went into the DEP program but I can not find the Apple exe file to add as ok. What is the file name?

    Hey,
    if you know the name(s) of the root folder(s) you want to access (eg. by making a note on the Windows side) then you can make them appear by just doing Shift-Command-G in Finder ("Go to Folder…"), and entering the full path to the required folders.  You can then navigate all the contents as normal.
    HTH,
    S.

  • Is it possible to import your own wave files into the EXS-24?

    I have been wondering if it is possible to create your own samples and import them into the EXS-24.
    I just created some short wave files of a voice and want to recall them whenever I need them. Is that possible? And if yes? How exactly?
    Thanks!

    Sure, open an empty patch in EXS, hit the edit button and drag the wavs from your finder into the sample zone, a menue will show up asking you what samples to map to which keys. Read the manual about the EXS, it sure helps...

Maybe you are looking for

  • WSUS and SQL login failures

    We're having problems with the WSUS configuration. In the wcm.log: System.Data.SqlClient.SqlException (0x80131904): Login failed for user 'domain\localmachine$'.~~   at Microsoft.UpdateServices.Internal.BaseApi.SoapExceptionProcessor.DeserializeAndTh

  • Hey everyone i have an iphone 3gs it was running on 4.0.1 and i updated to 6.0.2 but now it says your phone could not be activated?

    hi everyone i have an iphone 3gs it was running on 4.0.1 and i updated to 6.0.1. then its said i needed to restore my phone to factory settings and i did but now it says; "your phone could not be activated because the activation server is temporarily

  • Batch match merge pdf documents from different sources

    Hello, I'm using Acrobat 9 Pro and I'm new to Acrobat in general. I have 500 clients who I want to send hard copy reports.  There are 500 pdf files with graphs/data, and 500 pdf files that are customized business letters.  They could be printed out a

  • How can I move my iPhone photo library to my MacBook?

    How can I move my iPhone photo library to my MacBook? My MacBook had to have a new hard drive installed and I have my wedding pictures on my iPhone library, but not anywhere else. I tried selecting them and sharing or moving them. There are 465 pictu

  • How to apply for Corp Discount

    May smart phone account is setup and I want to now get a Corp discount added. Can I do this over the web or must I bring proof on employment with approved firm to a retail Verizon store?