How to pack .class or .jar with jvm into an exe file?

In fact, .class or .jar files are middle layer files who need JVM to explain and run them. Sometimes it's unconvenient. Why not provide some tools to pack .class or .jar with jvm into exe file?

because java should be able to run on any OS. That is why SUN doesn't provide such tool. There are other company's who does provide such tool. Like JBuilder enterprise

Similar Messages

  • How can I incorporate an overlay with fields into a PDF file?

    Once a week, I produce a timesheet. It's a PDF document generated by a third-party time-recording app, and it has room for hand-filling in signatures/dates/names, etc - 7 fields all told.
    What I want to do is build a separate document containing an equivalent block of 7 PDF-fillable fields such that:
    I can overlay the PDF-fillable fields on the space for hand-filling fields on the timesheet;
    I can send the combined PDF file to another person in order to collect their name and (ink) signature.
    I can then fill in my own (ink) signature, etc.
    I can do the same thing week in, week out with no fiddling of fields, etc.
    I got tantalizingly close (I have Windows Acrobat X Pro). I built the PDF-fillable form as a separate PDF, and merged it into a sample timesheet as a Background (and I also tried using a Watermark). However:
    some of the seven PDF-fillable fields simply vanish;
    one of the remaining fields seems to have picked up a name and formatting from another deleted field (is there some kind of uncleared cache in play?);
    all the remaining fields were marked as Read-Only.
    Update:
    FWIW, I got it to work by reversing the files - i.e. by using the timesheet itself as the background.
    When I add the Background (regardless of which is the main document), I get a series of warnings indicating that fields in the Background bearing the same name as those in the main document will get lost, but from what I can tell, fields in the same location as those on the main document also get lost.
    When I use the template as the main document, things fall into place and the scheme works.
    However, the situation seems like a fairly routine one that should be easier to solve. Ideally, I'd like to build a layer on top of the timesheet form and save that layer as an overlay.
    TIA
    Josh

    Did you ever figure out how to overlay something on a PDF form? I've created buttons to allow a user to change out the background, but I want to have an image and possibly other elements on that.

  • How to compile and creat JAR with native function

    Hi there,
    I wrote some native function for J2ME. But it seems like using J2ME wireless Toolkits, we can not compile native function. Is it right?
    Is anyone knowing how to compile and make JAR with J2MEWTK or command line?
    Thanks,
    Merry Christmas!!

    [zack327],
    JNI like or native interfaces APIs is not supported in the CLDC/MID Profile 1.0 specification. If you have J2ME code that includes JNI code, the J2MEWTK tool will not compile successfully for you.
    To package the compiled code to a MIDlet suite .jar file, use the 'Package' command in the J2MEWTK toolkit. It is found on the top menu bar 'Project' option as item on the dropdown list.
    To package the MIDlets into a MIDlet suite .jar file from the command line, you can execute the usual jar file command:
    jar cf MyMIDletSuite.jar Midlet.class
    You will also need to create a MIDlet .jad Application Descriptor file as well.
    HTH.
    Allen Lai
    Developer Technical Support
    SUN Microsystems
    http://www.sun.com/developers/support/

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

  • How can i create  excel sheet with multiple tabs using utl file?

    how can i create excel sheet with multiple tabs using utl file?
    any one help me?

    Jaggy,
    I gave you the most suitable answer on your own thread yesterday
    Re: How to Generating Excel workbook with multiple worksheets

  • How many files that JAR can bundle into a single file?

    How many files that JAR can bundle into a single file?

    The are no limitations inherent in the ZIP file format (jar files are basically just zip files).
    The only limitations I can think of are;
    available disk space
    maximum file size (for some filesystems)

  • My auto install for Premiere Elements failed and told me i needed to do a restart and try installing again. Having restarted my laptop, how do I install the software? There are two .exe files in the folder - oem and start-up. Which should i run?

    My auto install for Premiere Elements failed and told me i needed to do a restart and try installing again. Having restarted my laptop, how do I install the software? There are two .exe files in the folder - oem and start-up. Which should i run?
    thanks

    for windows you should have an exe and a 7z file.  put both in the same directory and double click the exe.
    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5.5, 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • How can I deploy a jar with directory entries using deploy profiles?

    Hi,
    I'm trying to deploy a jar file using deloy profiles, but the jar file deployed contains no directory entry. Why?
    Is it possible to do that using deploy profiles?

    my project looks like this:
    src +
     - test
         +- Main.java
         +- Test.java
    when I create a jar with 'jar -cf‘, I get something like this (with flat folders view):
    META-INF
    test
    Main.class
    MANIFEST.MF
    Test.class
    but when I use deploy profile to deploy a jar, I get this:
    Main.class
    MANIFEST.MF
    Test.class
    The directory entries are missing in the jar file.
    How can I fix this?
    Edited by: zeta on 2013-3-29 上午11:15
    Edited by: zeta on 2013-3-29 上午11:24
    Edited by: zeta on 2013-3-29 上午11:24
    Edited by: zeta on 2013-3-29 上午11:25
    Edited by: zeta on 2013-3-29 上午11:26

  • How to update a table AUTOMATICALY with data from a .txt file??

    HI ,
    I want to upload data which is in a notepad file and Create a table. This notepad file stores a string of datas. Here, the data comes in to the .txt file every second.
    (The data is actually stored into the notepad file when a program is executed in Processing.js software)
    Is it possible to do the following using APEX ? ?
    1. This table has to be updated automatically once in 2 minutes (I want this completely automatic, no human intervention -- no update buttons)
    2. A report is to be created in a apex application with this table, it should reflect the updates in the table every 2 minutes.
    Is it possible?? give your ideas.. I want to do this soon for my engineering project :) Any help from you is appreciated. :)
    Edited by: user13301695 on 28-Mar-2011 10:09

    And how do you expect your database server to access a local file in your machine ?
    Is the file accessible from outside your machine say inside a webserver folder so that some DB process can poll on the file ?
    Or, is your DB server in the same machine where you have the text file ?
    You will have to figure out the file acess part before automating user interaction or even auto-refreshing.

  • How to place an indesign page with hyperlinks in another indesign file, such that the links work?

    I have a page of text with hyperlinks in a master indesign file.
    I place that file into another indesign file.
    (It is like an html include file for a webpage.In this way i only have to update the file in one place.)
    But when i export the indesign file to pdf, the hyperlinks fail to work.
    They work in the original but not in the second.
    Does anyone have any suggestions?
    Abby Eagle

    My apologies. My tests were done using URLs. They function in Acrobat regardless of their state in InDesign.
    Aside to Bob: Since I had just made a PDF that worked, I mistook your "Since when" to mean since when won't a placed ID file work? I guess I was blind sided by the fact that the only hyperlinks I ever come into contact with are full URLs.
    If Abbey's situation is as I envisioned -- that the placed files are more akin to smaller graphics within the layout of a page rather than discreet pages at all -- then is this not a insolvable problem given how InDesign works now?

  • How to save the content of a JTextArea into a txt file?

    Hi, I want to save the content of a JTextArea into a txt file line by line. Here is part of my code(catch IOException part is omitted):
    String s = textArea.getText();
    File file = new File("file.txt");
    BufferedWriter bw = new BufferedWriter(new FileWriter(file));
    bw.write(s);
    bw.close();
    But I found in the file all is binary code instead of text, any people can help me?
    Thanks in advance

    I can see text in the file now, but the problem is
    when I write three lines in textarea, for example
    111
    222
    333
    then I open the txt file with notepad, it is
    111222333
    How to save them line by line? Use a PrintWriter. It lets you write lines (it's the same class as System.out).
    http://java.sun.com/j2se/1.4/docs/api/java/io/PrintWriter.html

  • How to save the value in Cedit control into a text file bu using measurement studio c++?

    Im using measurement studio c++ to create a application. How to save a randomly generated value which display in the CNumberEdit Control to a text file? how to do the coding part?

    You can use the CNiFile class to write the value out to a file. For example, create a new Measurement Studio C++ project and follow these steps:
    Add a CNiNumEdit to the dialog.
    Add a member variable for the CNiNumEdit called m_numEdit.
    Add a button to the dialog.
    Double-click the button to add a message handler for the button's BN_CLICKED message.
    Add the following code to the button's BN_CLICKED message handler:
    CNiFile file("C:\\Values.log", CFile::modeCreate | CFile::modeWrite | CFile::typeText);
    file << m_numEdit.Value << endl;
    file.Close();
    Run the application, edit the CNiNumEdit's value, and click the button. The value should be written to the Values.log
    file as specified in the code above.
    Hope this helps.
    - Elton

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

  • How to download values in an internal table into an excel file

    is there any fn module to download the values in an internal table into an excel file..

    hi
    the function module "GUI_DOWNLOAD"  downloads the data from
    an internal table into a file (can be xl, dat ,doc etc) .
    Plz follow the usage below ;
    Parameters : pa_pfile LIKE rlgrap-filename OBLIGATORY.
    Data : lv_filename TYPE STRING.
    lv_filename = pa_pfile.
    CALL FUNCTION 'GUI_DOWNLOAD'
       EXPORTING
       BIN_FILESIZE                  =
         FILENAME                      = lv_filename
         FILETYPE                      = 'ASC'
       APPEND                        = ' '
        WRITE_FIELD_SEPARATOR         = 'X'
       HEADER                        = '00'
       TRUNC_TRAILING_BLANKS         = ' '
       WRITE_LF                      = 'X'
       COL_SELECT                    = ' '
       COL_SELECT_MASK               = ' '
       DAT_MODE                      = ' '
       CONFIRM_OVERWRITE             = ' '
       NO_AUTH_CHECK                 = ' '
    IMPORTING
       FILELENGTH                    =
       TABLES
         DATA_TAB                      = tb_download         " table data to b downlaoded
      EXCEPTIONS
        FILE_WRITE_ERROR              = 1
        NO_BATCH                      = 2
        GUI_REFUSE_FILETRANSFER       = 3
        INVALID_TYPE                  = 4
        NO_AUTHORITY                  = 5
        UNKNOWN_ERROR                 = 6
        HEADER_NOT_ALLOWED            = 7
        SEPARATOR_NOT_ALLOWED         = 8
        FILESIZE_NOT_ALLOWED          = 9
        HEADER_TOO_LONG               = 10
        DP_ERROR_CREATE               = 11
        DP_ERROR_SEND                 = 12
        DP_ERROR_WRITE                = 13
        UNKNOWN_DP_ERROR              = 14
        ACCESS_DENIED                 = 15
        DP_OUT_OF_MEMORY              = 16
        DISK_FULL                     = 17
        DP_TIMEOUT                    = 18
        FILE_NOT_FOUND                = 19
        DATAPROVIDER_EXCEPTION        = 20
        CONTROL_FLUSH_ERROR           = 21
        OTHERS                        = 22
    IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards
    Pankaj

  • How do I instal Windows 7 in bootcamp from an .exe file?

    I have to instal Windows 7 on my mac for school. Since I'm a student Microsoft has given me a free download of Windows, but is was an .exe file.
    I guess I will have to find a way to make an image file of it, but I have no idea how.... Can anyone help?

    Sounds like you have a Volume License of Windows that was downloaded from Microsoft.
    You should be able to unzip the .exe (yes, I know it sounds incorrect, but the .exe is a self-extracting archive) using unzip command in terminal or you could try renaming the .exe to .zip, then unzipping it. Never tried it using your specific file, but it is worth a shot.
    Try Googling "Extract .exe on Mac" if you need clarification.
    Hope that helps!

Maybe you are looking for

  • Deactivate creation of new next inspection date on re-GR

    Our user created GR (MIGO) against a PO and subsequently a new batch with a next inspection date was created based on inspection interval set to 730 days. The user agin after a few days did GR against the same PO and the next inspection date was agai

  • Tables for sales & purchase order data relating to delivery

    hi all, i am writing a report to download all the delivery data after the delivery is created.i have to download the sales order data & purchase order data relating to this delivery also. i am using likp & lips table for delivery.which tables i shoul

  • Hi i need to review my current phone activities how do i do this

    how do i look up my current phone activities for this billing cycle

  • Deleting files migrated during initial setup??

    Hello everyone. I'm hoping someone could help me out on this so please bear with me. I recently purchased a new 15", 2.3 GHz Intel Core i7, 500GB MBP and during the computer's initial set up, I was asked if I wanted to migrate all my files from a dif

  • I can't open final cut pro

    I can't open final cut pro. I tried many times but always same message. During reading audio filter "GSP-1101" then stop and error message shows. GSP-1101 is digitech guitar multi effect for.  I erase that app but still same. It says Process: