How do I put my jar executables into a cab file to create a setup/install?

I want to create a setup program for installing my jar executable. I've seen ones that create cab files with a setup.exe program and would like to do the same. Any suggestions?

Well, JARs generally don't have support files. That's the whole idea. A JAR is designed to be a stand alone application. You don't really need to install it, for that matter. I just thought you might be wanted shortcuts or something.
Actually, there is some way to install Java programs through Java Web Start, if you want to check that out. I don't know anything about it, though.

Similar Messages

  • How do you put safari web pages into icloud with the safari iCloud button?

    how do you put safari web pages into icloud with the safari iCloud button?

    What that button does is sync your tabs between your devices. So if you have multiple macs with Mountain Lion and/or devices with iOS 6 (once it comes out this fall) you can pick up where you left off. For example, let's say I have apple.com, nytimes.com, and facebook.com open on my mac, but I need to run. Later, if I need to use another computer in my household, I can just restore the tabs that I was using before on this other mac.

  • HT201263 how do you put an iphone 4 into recovery mode

    how do you put an iphone 4 into recovery mode

    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device
    1. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    2. iOS- Forgotten passcode or device disabled after entering wrong passcode
    3. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    4. iOS- Understanding passcodes
    5. What to Do If You've Forgotten Your iPhone's Passcode
    6. How to Recover Forgotten iPhone Restrictions Passcode | The iPhone and iPad
    7. Restoring iPod touch after forgotten passcode
    8. RecBoot: Easy Way to Put iPhone into Recovery Mode - if all else fails.
    Forgotten Restrictions Passcode Help
    1. How to Recover Forgotten iPhone, iPad Restrictions Passcode
        If this method does not work, then you will need to fully Restore your
        device as New
    Also, see iTunes- Restoring iOS software.
    If none of the above do what you need, then do the following:
    Placing your device into recovery (DFU) mode:
    Follow these steps to place your iOS device into recovery mode. If your iOS device is already in recovery mode, you can proceed immediately to step 6.
       1. Disconnect the USB cable from the iPhone, iPad, or iPod touch, but leave the
           other end of the cable connected to your computer's USB port.
       2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds
           until the red slider appears, then slide the slider. Wait for the device to turn off.
                  * If you cannot turn off the device using the slider, press and hold the
                    Sleep/Wake and Home buttons at the same time. When the device turns off,
                    release the Sleep/Wake and Home buttons.
      3. While pressing and holding the Home button, reconnect the USB cable to the
           device. The device should turn on. Note: If you see the battery charge warning,
           let the device charge for at least ten minutes to ensure that the battery has some
           charge, and then start with step 2 again.
      4. Continue holding the Home button until you see the "Connect to iTunes" screen.
           When this screen appears you can release the Home button:
      5. If necessary, open iTunes. You should see the following "recovery mode" alert:
      6. Use iTunes to restore the device.
    If you don't see the "Connect to iTunes" screen, try these steps again. If you see the "Connect to iTunes" screen but the device does not appear in iTunes, see this article and its related links.
    Additional Information:
    If you have a problem getting into recovery mode then try: RecBoot: Easy Way to Put iPhone into Recovery Mode.
    Note: When using recovery mode, you can only restore the device. All user content on the device will be erased, but if you had previously synced with iTunes on this computer, you can restore from a previous backup. See this article for more information.

  • How do I convert an audio link into a wav file?

    how do I convert an audio link into a wav file with my Imac?
    A PC user showed me to right click an audio link where it asked if it wanted to save the link as a Wav file?
    I saw this done in front of me. How do I do it with my Mac ?

    This is how to do it in itunes http://support.apple.com/kb/ht1550
    If I view the song in finder, all that i have to do is press command-i and it opens a window. In the section where you view the name and extension I took off the extension (.mp3 in my case) and replaced it with .wav

  • How can I convert the volume directory into a single file installer?

    How can I convert the volume directory into a single file installer? I would like to hide all the miscillaneous files that I don't care for and be able to have the installer double click a single file and have it automatically install.

    On the second prompt screen when prompted 'What kind of self-extracting Zip file file do you want to make?'
    Are you choosing the second option (self-extracting Zip file for software installation)?
    I have a word file that I created to help me remember - is there anyway to email it to you?

  • How to read and write a string into a txt.file

    Hi, I am now using BEA Workshop for Weblogic Platform version10. I am using J2EE is my programming language. The problem I encounter is as the above title; how to read and write a string into a txt.file with a specific root directory? Do you have any sample codes to reference?
    I hope someone can answer my question as soon as possible
    Thank you very much.

    Accessing the file system directly from a web app is a bad idea for several reasons. See http://weblogs.java.net/blog/simongbrown/archive/2003/10/file_access_in.html for a great discussion of the topic.
    On Weblogic there seems to be two ways to access files. First, use a File T3 connector from the console. Second, use java.net.URL with the file: protocol. The T3File object has been deprecated and suggests:
    Deprecated in WebLogic Server 6.1. Use java.net.URL.openConnection() instead.
    Edited by: m0smith on Mar 12, 2008 5:18 PM

  • Perfmon splits results up into mutiple cab files

    Running 2008R2 domain with 2008R2 servers.  Sometimes I run perfmon and choose to get either a blg or csv file and everything works as intended.  Sometimes I come back and my results are broken up into multiple cab files.  I usually want to
    put the results through the PAL tools to analyze the differences over a few days, so I typically only gather results every 15 minutes. I understand that perfmon log files can really grow and cause problems and that there are options for the
    number of samples and log file size to control that growth.  I also understand that I can use relog to combine blg files together, but does anyone know what default threshold it has to hit before it starts splitting those files up and having multiple
    cab files? If I manually set a higher maximum log file size, can I keep it from splitting those results up and putting them in cab files?
    Thanks,
    Dan Heim

    Hi,
    Whether cab file will be created depends on the configuration of the Data Manager.
    Folder actions allow you to choose how data is archived before it is permanently deleted. You may decide to disable the
    Data Manager limits in favor of managing all data according to these folder action rules.
    To configure data management for a Data Collector Set
    In Windows Performance Monitor, expand Data Collector Sets and click
    User Defined .
    In the console pane, right-click the name of the Data Collector Set that you want to configure and click
    Data Manager .
    On the Data Manager tab, you can accept the default values or make changes according to your data retention policy. See the table below for details on each option.
            When Minimum free disk or
    Maximum folders is selected, previous data will be deleted according to the
    Resource policy you choose (Delete largest or Delete oldest) when the limit is reached.
            When Apply policy before the data collector set starts is selected, previous data will be deleted according to your selections before the data collector set creates its next log
    file.
            When Maximum root path size is selected, previous data will be deleted according to your selections when the root log folder size limit is reached.
    Click the Actions tab. You can accept the default values or make changes.
    For detailed information, please refer to the article below,
    Manage Data in Windows Performance Monitor
    http://technet.microsoft.com/en-us/library/cc765998.aspx
    Hope this helps.
    Steven Lee
    TechNet Community Support

  • How to change the default save encoding of the dvm files when create dvm???

    When I creating a DVM(domain-value mapping) in Chinese on the ESB control and confirm it, then restarted the SOA service, the DVM that I created in Chinese disappeared from ESB control. All the maps(both English and Chinese ) are in DVM Repository.
    After I updated the encoding from ‘UTF-8’ to ‘GB2312’ in the three files below, and restarted the SOA service, the DVM in Chinese appeared on ESB control.
    But when I adding the second row in Chinese and save it, then restart the SOA service, the DVM in Chinese disappeared from ESB Control once again. Because the encoding in the three files below is updated from ‘GB2312’ to ‘UTF-8’ .
    Files:
    C:\product\10.1.3.1\OracleAS_1\integration\esb\oraesb\artifacts\store\metadata\files\dvm.def.xml
    C:\product\10.1.3.1\OracleAS_1\integration\esb\oraesb\artifacts\store\metadata\files\dvm\Chinese.xml.def.xml
    C:\product\10.1.3.1\OracleAS_1\integration\esb\oraesb\artifacts\store\content\files\dvm\Chinese.xml_1.0
    How to change the default save encoding of the dvm files when create dvm in ESB control ???

    I have the same problem.  When I updated to Mavericks now the bookmarks bar font is huge.  I liked it the way it was before.  I liked the smaller font.  Also wish I could change the color of the sidebar and font/folders too.
    I tried to see in preferences if there was anyway to change it, but I don't see anything there.

  • How can I put Locale.loadString("IDS_001") into button.label

    I am retrieving the Locale from the system, and need to place the fields of the Array into their respective places.
    One of these being for example,
    IDS_001
    This works, and returns what I'd probably expect. Although why it returns multiple instances I can't yet figure.
              public var vIDS_001:String;
              Locale.autoReplace = true;
                     var localeName:String = LocaleID.DEFAULT;
                     var nf:StringTools = new StringTools(localeName);
                                   trace("Actual local ID: " + nf.actualLocaleIDName);
               var defLang:String = nf.actualLocaleIDName;          
                                              trace( "Last Operation Status: " + nf.lastOperationStatus ); 
               Locale.setDefaultLang(defLang);
               Locale.setLoadCallback(localeCallback);
               //Locale.addXMLPath("defLang", "../en/PinPointPremium_en.xml");
                          Locale.addXMLPath("defLang", "../" + defLang + "/PinPointPremium_" + defLang + ".xml");
               function localeCallback(success:Boolean) {
                if (success) {
                    // trace(Locale.stringIDArray); // IDS_GREETING
                     trace(Locale.loadString("IDS_001"));
                     var vIDS_001 = (Locale.loadString("IDS_001"));
                     trace("+++" + vIDS_001);
                } else {
                     trace("unable to load XML");
    Actual local ID: en-GB
    Last Operation Status: noError
    PinPoint the Entered Address
    +++PinPoint the Entered Address
    PinPoint the Entered Address
    +++PinPoint the Entered Address
    Test Movie terminated.
    This is the button code, and I'm trying to figure out how to get that IDS_001 information into the btnGPS.label. No matter what I try, it errors out
                 btnGPS = new Button();
              btnGPS.width = stage.stageWidth - 20;
              btnGPS.height = 25;
              btnGPS.x = 10;
              btnGPS.alpha = 0.9;
                    // btnGPS.label = "PinPoint My Current Location";
              btnGPS.setStyle("textFormat", btnFormat);
              btnGPS.y = stage.stageHeight - 46;
              btnGPS.addEventListener(MouseEvent.CLICK, btnGPSMouseClickHandler);
              addChild(btnGPS);
    None of these following work in place of the original
                    //btnGPS.label = Locale.loadString("IDS_001");
              //btnGPS.label = IDS_001;
                    //btnGPS.label = vIDS_001;
    Theoretically, loading the Locale XML file should populate the occurences of IDS_001 - but I'm totally lost now. Been looking at this for a few days and now can't see the real picture. Does anyone have any idea how I solve this please ... I know this is so simple, but I can't get it.
    thanks

    ok, I need to get back on track.
    The app works and is fine. No problem with buttons etc. It's localization.
    .... and this works - finally
    private static var loc:String = null;
    private static var my_txt:String = null;
    // Checking for LocaleID for globalization.
    // Localization stuff. AS3 2013. (using latest CS6 Flash Pro, AIR and Flex SDK libraries)
    // This example is based on the iPhone/iPad, iOS Template in CS6
                                  // get the system language. That's al lwe need. What language is the user using
                                  loc = Capabilities.language;
                                  // if it's en-GB for example, make en_GB
                                  // loc = loc.replace("-","_");
                                  trace("The default system: " + loc);
                                  loc = "de";
                                  trace("The new system: " + loc);
                                  // you can add individual paths for each language like this
                                  Locale.addXMLPath("en", "en/PinPointPremium_en.xml");
                                  Locale.addXMLPath("de", "de/PinPointPremium_de.xml");
                                  // or set your language to the system default and use that
                   // I put the system language into 'loc'
                                  Locale.addXMLPath(loc, loc + "/PinPointPremium_" + loc + ".xml");
                                  Locale.setLoadCallback(localeCallback);
                                  Locale.loadLanguageXML(loc);
                                            function localeCallback(success:Boolean) {
                                                      if(success){
                                                                //var my_txt:String = Locale.loadString("IDS_001");
                                                                my_txt = Locale.loadString("IDS_001");
                                                                trace("The IDS_001 field is: " + my_txt);
                                                                // returns "PinPoint der eingegebenen Adresse" which is ok
                                                                } else {
                                    trace("unable to load XML");
    /* Output
    The default system: en-GB
    The new system: de
    The IDS_001 field is: PinPoint der eingegebenen Adresse
    Part 2 is the Button. AND is is this that is tricking me.
    I repeat - how do I put the contents of IDS_001 into btnGPS.local with
    IF I can put 'loc' into the label, with
    btnGPS.label = loc;
    why can't I do this
    btnGPS.label = Locale.loadString("IDS_001");
    btnGPS = new Button();
    btnGPS.width = stage.stageWidth - 20;
    btnGPS.height = 25;
    btnGPS.x = 10;
    btnGPS.alpha = 0.9;
    //btnGPS.label = "PinPoint My Current Location";
    // ==============================================
    // This actually works - it places "de" into the button. as it should
      btnGPS.label = loc;
    // this doesn't put the contents into the label
    //btnGPS.label = Locale.loadString("IDS_001");
    btnGPS.setStyle("textFormat", btnFormat);
    btnGPS.y = stage.stageHeight - 46;
    btnGPS.addEventListener(MouseEvent.CLICK, btnGPSMouseClickHandler);
    addChild(btnGPS);

  • How to import custom java jar/class into oracle to be used in java proc ?

    Hi
    I would like to know how to import custom java jar/class files into oracle to be used in java stored procedure.
    I am developing a oracle pl/sql procedure to call java program. The java program will be created as procedure and will be published.
    But, my question is that I do have a other external jar/class file that need to be imported into this java program.
    example
    raise_sal.java
    import java.util.*;
    import oracle.sql.*;
    <<reference other java programs >>
    import cmpmsgsvc.xxxx.* ;
    import cmpmsgsvc.yyyy.* ;
    import cmpmsgsvc.zzzz.* ;
    how do I import the cmpmsgsvc jar/class file into oracle so that I don't have any
    compilation errros on raise_sal.java program ??
    what are the steps to import/compile and validate to do this?
    thanks for your help in advance.
    Thanks
    rrb.

    Kuassi
    Problem is that, I have 6 jar files that are needed to be included in the main java program. And, there are more than 50+ classes, propertiers in those 6 jar files.
    It might be not good idea to have all those 50+ classes in the production database.
    Is there anyway that I keep all those 6 jar files in unix box (our's is oracle erp installation with oracle being installed on unix box) and just refer them in the main java program. I mean database will be loaded with main java program and it should able to refer other 6 jar files from unix.
    if we create a directory and keep all jar files in there and include that directory in classpath variable, does this works? or what is other method?
    Please let me know.
    Thanks

  • How do I put something from iPhoto into iCloud?

    I'm trying to put photos from iPhoto into iCloud and am not sure how to access iCloud?

    If you have OS X 10.7.5 or higher and iPhoto 9.2.2 or higher, go to System Preferences>iCloud, sign into your iCloud account, check Photos and click Options and enable My Photo Stream.  Then in iPhoto, select the photos you want to add to photo stream, then do any of the following:
    Click the Share button in the toolbar, click iCloud, and click My Photo Stream.
    Click the Add To button in the toolbar, click iCloud, and click My Photo Stream
    Drag the photos to iCloud in the Source list, and click My Photo Stream.
    Choose Share > iCloud, and click My Photo Stream.
    If you don't have OS X 10.7.5 or higher and iPhoto 9.2.2 or higher you'll have to upgrade first.

  • How Can I put A quicktime clip into keynote??

    Two Questions,
    One:
    How Can I put a "get a mac" commercial into keynote. (Like how do i download it and how do i put it in)
    Two:
    If I download a quick time clip (say, pirates of the Caribbean 2 commercial) How can I insert it into keynote??
    Zach

    You can put a QuickTime clip on a Keynote slide just by dragging the movie file onto the slide. If the clip is in your Movies folder in your home directory, you can also use the Media browser to insert it. Finally, you can use the Insert menu, and use the Choose... item to pick the file.
    To grab one of the "Get a Mac" ads, go to the ad page. Hover your cursor over the thumbnail of the ad, hold down the Control key, and click and hold the mouse button to pop up the contextual menu. Choose "Download Linked File", and the file should be saved to your hard drive.

  • How do i put a music video into a iMovie HD movie?

    Im super confused and i really want to put a music video into my movie on iMovieHD. can someone help me out?

    as I answered your first posting of this issue:
    you can not 'use' an iTS purchased video in any other app than iTunes.. (=for watching, iPod, AppleTV)..
    there's NO workaround.. read the Terms of Use of the Store..

  • OMB Plus : how to get all the generated messages into a text file ?

    Hello,
    I wrote an OMB TCL script and I would like to know how to get all the messages generated during the exécution into a text file.
    I tried this, but it works only for a puts command :
    set DesProjet ACT_1
    set filename [ open "c:\\temp\\INFDE_010_IMPORT_REPOSITORY_$DesProjet.log" w]
    puts "test"
    Thank you for your help

    Hello Alain, you should try the OMBLOG variable. If you set it inside OMBPlus:
    set OMBLOG c:/temp/mylog.txtthen all the OWB specific commands are logged with their output. By OWB specific I mean all those that start with OMB.
    This is more than what you see in the interface, because:
    - messages inside procedures are logged; you wouldn't see them on std.output when you call a proc
    - variables are resolved, so if you issue the command
    set my_var VERY_IMPORTANT_TABLE
    OMBDROP TABLE '$v_myvar'the log will show:
    OMBDROP TABLE 'VERY_IMPORTANT_TABLE'
    Table dropped
    and you know something is wrong... so OMBLOG is very useful to intercept all manipulations on you repository.
    If what you want instead is a dump of the screen output when you execute a script, I suggest you redirect standard output from the operating system command line. Unfortunately OMBPlus doesn't support all advanced redirection and tracing features of the TCL language.
    Hope this helps, Antonio

  • How to write records from a resultset into a txt file ???

    Hi, I am a newbie in java servlet technology. Currently, I am having a problem regarding how to write all my records from within a resultset into a text file.
    First, I put all my records into a string variable and then append the string into a stringbuffer. After that, I create a bufferoutputstream and used the write method to write into a text file. Below are the code I used in my program.
    Connection connection = null;
    Statement statement = null;
    ResultSet resultset = null;
    // Connect to database
    connection = getConnection();
    StringBuffer str_buf = new StringBuffer();
    statement = connection.createStatement();
    resultset = statement.executeQuery("SELECT * FROM STUDENT");
    String data_row = "";
    str_buf.append("STUDENT_ID,NAME,PHONE,ADDRESS,RESULT");
    while (resultset.next()) {
       data_row = "\n";
       data_row += resultset.getLong("STUDENT_ID");
       data_row += ",\"" + resultset.getString("NAME").trim() + "\"";
       data_row += ",\"" + resultset.getString("PHONE").trim() + "\"";
       data_row += ",\"" + resultset.getString("ADDRESS").trim() + "\"";
       data_row += ",\"" + resultset.getString("RESULT").trim() + "\"";
       str_buf.append(data_row);
    BufferedOutputStream buf_out = null;
    // Create a folder and write all records into info.txt
    String fileName = "student/info.txt";
    buf_out = new BufferedOutputStream(new FileOutputStream(fileName));
    int str_len     = str_buf.length();
    for (int i = 0; i < str_len; i++) {
       buf_out.write(str_buf.charAt(i));
    }So. is this a proper way to write information into a text file ?
    The total records are around 150 000. Now, I get an exception which is "XServletError : System.lang.outofmemory". It happen if the total records are more than 60 000, within a while loop when I try to append a string into a stringbuffer.
    How should I deal with this kind of situation?
    Thanks in advanced and any advice is appreciated. Example is even better to improve understanding.
    Thanks

    Connection connection = null;
    Statement statement = null;
    ResultSet resultset = null;
    // Connect to database
    connection = getConnection();
    StringBuffer str_buf = new StringBuffer();
    String fileName = "student/info.txt";
    FileWriter fw = new FileWriter(fileName);
    statement = connection.createStatement();
    resultset = statement.executeQuery("SELECT * FROM
    STUDENT");
    String data_row = "";
    fw.write("STUDENT_ID,NAME,PHONE,ADDRESS,RESULT");
    while (resultset.next()) {
    data_row = "\n";
    data_row += resultset.getLong("STUDENT_ID");
    data_row += ",\"" + resultset.getString("NAME").trim()
    + "\"";
    data_row += ",\"" +
    resultset.getString("PHONE").trim() + "\"";
    data_row += ",\"" +
    resultset.getString("ADDRESS").trim() + "\"";
    data_row += ",\"" +
    resultset.getString("RESULT").trim() + "\"";
    fw.write(data_row);
    fw.close();

Maybe you are looking for

  • Pop email no longer fetching emails

    I just updated to iOS 8.0.2 and today I noticed that my email accounts are no longer fetching new emails.  When I swipe down to update, I get the spinning wheel of agony, and nothing.  I check on my computer and I have numerous new emails. This is a

  • How do I put audio memos from an ipad onto icloud?

    How do I put audio memos from an ipad onto icloud?

  • Change permissions for UME repository

    Dear friends,        Is it possible to change permissions for the ume repository. By default, it has "Allow" permission for List Children and Read properties. I dont see any options to change permissions under Settings -> permissions. Does anyone her

  • Software/Script USB/SD auto copy.

    Hi, I have a server which i want to be as automated as i can get it. I'm using it for an fileserver (and other things). What i want to accomplish is when i insert my SD from my camera that the server automatically copy's the files in from the sd card

  • I need to unistall flash player 11.7 & install 11.6

    After getting a prompt to install the latest flash player version, I did & installed flash player 11.7.  Right after doing that, I went to Smilebox to finish a birthday creation & found that there was NO sound.  I guess I'm not the only one & Smilebo