Zip or Jar files and how to use them

Hi ,
I have this problem. I have some .class that must be
packaged some way to deploy in the application user's directory. At some point of the execution the application will ask to create some object define in one of that classes I mentioned. So how can I package those classes, in a jar file or in a zip file? And most important will it work out ?!.
Many thanks in advance.

Using JAR Files: The Basics

Similar Messages

  • When I open iPhoto 9.2.1 it says that my library needs to be upgraded but when I upgrade the library I am trying to open (33 GB worth of pictures from 2006) the new application says it cannot read the files and how to find them on the system to reimport?!

    When I open iPhoto 9.2.1 it says that my library needs to be upgraded but when I upgrade the library I am trying to open (33 GB worth of pictures from 2006) the new application says it cannot read the files and how to find them on the system to reimport?! and then I'd like to erase the original files since the space requirement is huge!!!! Why is upgrading software iPhoto such a pain. I've gotta get a presentation done and all I get for my money is roadblock!!!

    hello, it sounds like the library is damaged.
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 

  • What are variables or parameters in Apex and how to use them?

    Hi
    What are variables or parameters in apex and how to use them to connect and run BI Publisher Report
    From Apex URL

    Hello Kanaiya,
    You should go here: http://www.oracle.com/technology/products/database/application_express/index.html
    Look at "What is Oracle APEX?" then download the documentation and review the various PDF files that are available.
    If you have a version of APEX installed and available, go through the 2-Day Application Express Developer's Guide followed by the Advanced Developer's Guide.
    Good luck,
    Don.

  • Where to find old backup files and how to use it to restore

    Hi,
    Need help. I did a OS update to iOS 6 today.
    Before the update I did backup my phone on my PC.
    But since that backup there was a new back up that created automatically when I connected my phone back to the PC. Now with some issues I want to rollback to previous backup. But this backup file is not visible in the restore from backup list. Is there anyway I can manually find this file and try to restore from it.
    In the backup folder I can see a few files with previous backup time stamp but not sure how I can use these files and which file to use..
    Pls help.. Thanks.

    Open the Users folder on the internal drive, drag the migrated home folder to the desktop, and provide your administrator password.
    (77054)

  • How to create a flat files and how i used this

    hi Guys and gals,
    I am david. I want to know how to create a flat files. I don't know about it also. pls explain it and also pls help me to create a flat files. If u have any program for creating pls send me.
    I want to know about retrive the datas from flat files and also insert a record into it.
    pls guide me
    i need this immediately
    david

    void newMethod() throws Exception {
         // Reading from a flat file
         String data;     
         BufferedReader br = new BufferedReader(new FileReader("c:\filename1.txt"));
         while ((data = br.readLine()) != null) {
              System.out.println(data);
         // Writing to a flat file
         BufferedWriter bw = new BufferedWriter(new FileWriter("c:\filename2.txt"));
         bw.write("sample data");
         // After writing the data close the file
         bw.close();
    }

  • Where to put custom .jar-files in order to use them in scripting QPAC?

    Hi,
    For testing purposes, I wrote a simple class and put it in a .jar-file to use in scripting QPAC. Unfortunately, I get the following error message in JBOSS:
    Class: FooBar not found in namespace
    Where do I have to put custom library (jar-)files in order for JBOSS to find them? I already tried
    [...]\jboss\lib as well as
    [...]\jboss\server\all\lib.
    Regards,
    Steve

    Hi Steve
    You need to put them in two places:
    1. In the server classpath, so that they can be found at runtime. jboss\server\all\lib should work, or you can even drop them into the server/all/deploy directory. I think if you put them in the lib directory, you need to restart Jboss, whereas if you put them in the deploy directory, they should be dynamically picked up.
    2. For testing purposes, the extra jars need to be in the classpath of the Workflow Designer. Please download our SQLPlus QPAC from:
    http://www.avoka.com/avoka/qpac_library.shtml
    It includes a document that describes a technique for adding extra jars to the classpath.
    Regards,
    Howard
    http://www.avoka.com

  • HOW TO READ FILE AND HOW TO USE IT IN PATTERN EX. READ_TEXT

    I WANT TO USE A PROGRAM'S CONTENT ND I WANT TO PASS AS PARAMETER IN A PATTERN..HOW TO DO THT.PLZZ REPLY...
    EX. I HAV CREATED A STANDARD TEXT ZCREATE_TEXT AND I WANT TO SEND THIS AS A PARAMETER TO READ_TEXT...HOW TO DO THIS..

    Hi,
    When you create a Std Text in SO10 and save, it is saved with 4 parameters
    like TEXT NAME, LANGUAGE, TEXT OBJECT, TEXT  ID. these are the four parameters by default will be created for any std text when you create a TEXT in SO10 or in any document.
    You will know this 4 parameters from SO10 screen.
    enter text, display.
    from Menu -> GOTO -> HEADER, see them.
    Next when you wants to fetch this text using READ_TEXT fun module
    yopu have to pass this 4 parameters to that fun module.
    see the doc
    READ_TEXT
    READ_TEXT provides a text for the application program in the specified work areas.
    The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
    After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
    If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
    Function call:
    CALL FUNCTION 'READ_TEXT'
    EXPORTING CLIENT = SY-MANDT
    OBJECT = ?...
    NAME = ?...
    ID = ?...
    LANGUAGE = ?...
    ARCHIVE_HANDLE = 0
    IMPORTING HEADER =
    TABLES LINES = ?...
    EXCEPTIONS ID =
    LANGUAGE =
    NAME =
    NOT_FOUND =
    OBJECT =
    REFERENCE_CHECK =
    WRONG_ACCESS_TO_ARCHIVE =
    Export parameters:
    CLIENT
    Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
    Reference field: SY-MANDT
    Default value: SY-MANDT
    OBJECT
    Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
    Reference field: THEAD-TDOBJECT
    NAME
    Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
    Reference field: THEAD-TDNAME
    ID
    Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
    Reference field: THEAD-TDID
    LANGUAGE
    Enter the language key of the text module. The system accepts only languages that are defined in table T002.
    Reference field: THEAD-TDSPRAS
    ARCHIVE_HANDLE
    If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
    The value '0' indicates that you do not want to read the text from the archive.
    Reference field: SY-TABIX
    Default value: 0
    Import parameters:
    HEADER
    If the system finds the desired text, it returns the text header in this parameter.
    Structure: THEAD
    Table parameters:
    LINES
    The table contains all text lines that belong to the text read.
    Structure: TLINE
    Exceptions:
    ID
    The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
    LANGUAGE
    The parameter LANGUAGE contains a language key that does not exist in table T002.
    NAME
    The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
    Possible errors:
    The field contains only blanks.
    The field contains the invalid characters ‘*’ or ‘,’.
    OBJECT
    The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
    NOT_FOUND
    The system did not find the specified text module.
    REFERENCE_CHECK
    The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
    WRONG_ACCESS_ TO_ARCHIVE
    The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
    reward points
    regards,
    ANJI

  • Location of xdodelivery.cfg delivery Configuration file and how to use it

    I am trying to use xdodelivery.cfg for setting various Server Properties and calling
    this in my Delivery Wrapper Java Program.
    First of all i am not able to find this file anywhere on Oracle Apps APPL_TOP,So i have created this xdodelivery.cfg file in $CUSTOM_TOP/resource directory.
    Then in my Java Program I have set Java system property by calling java.lang.System.getProperties().put("XDO_TOP", "/path/to/xdotop") which points to Physical Directory of as CUSTOM_TOP as /u01/app/appltop/cust
    Then i am Calling req.setServer("PRINTER_NAME") method in Java Wrapper Program to call PRINTER_NAME properties.
    But i am not able to get any success in it. User Guide is mentioning following thing
    "The location of the configuration file is
    {XDO_TOP}/resource/xdodelivery.cfg
    where {XDO_TOP} is a Java system property that points to the physical directory.
    This system property can be set in two ways:
    • Pass -DXDO_TOP=/path/to/xdotop to the Java startup parameter
    • Use a Java API in your code, such as java.lang.System.getProperties().
    put("XDO_TOP", "/path/to/xdotop")
    The system property must be defined before constructing a DeliveryManager"
    Please give me solution of how to go about it .I mean using xdodelivery.cfg file
    Thanks
    Darshan

    Hi,
    I am facing a similar issue while using the configuration file, can you please list out the steps for setting the XDO_TOP Java System property, I have tried setting a Run Time environment variable XDO_TOP to the path of the xdodelivery.cfg file in my qapache port, but the file is not getting picked up.
    Any pointers would be appriciated,
    Thanks,
    Ankul
    [email protected]

  • Ejb exampples and i want to know where to store java files and how make jar file and how to run

    hi,
    I am Nidhin Benjamin.This is the first i am working in Weblogic81 and EJB also.please
    can you tell about whole procedure and from where i want to start and

    Hi Nidhin,
    You could start by reading the EJB docs at
    http://e-docs/wls/docs81/ejb/index.html and playing with the examples at
    C:\bea810\weblogic81\samples\server\examples\src\examples\ejb20
    - Nick
    "Nidhin Benjamin" <[email protected]> wrote in message
    news:3ff127ff$[email protected]..
    >
    hi,
    I am Nidhin Benjamin.This is the first i am working in Weblogic81 and EJBalso.please
    can you tell about whole procedure and from where i want to start and

  • NI 6008 - Questions on the C APIs and how to use them

    Hi
    I am trying to use the NI 6008 to drive a Digital Programmable Attenuator and had a few questions. I am newbie with this device, so most of my questions are relating to figuring out the basics with this device.
    1) I am hoping to be able to write a simple C program to have the NI USB 6008 drive this Digital Programmable Attenuator. Is this possible? I could find the NI-DAQmx C Reference Help file, but I cant seem to find how to build and load a program onto the NI USB 6008?
    2) I would like to be able to turn ON a particular attenuation setting on the Digital Prog. Atten. at a specific instant and after a few milliseconds turn it OFF. And repeat this endlessly. I was looking for a Timer API to let me control the Digital Prog. Atten. at set timer interrupts but I am not sure if there is a way to do this. I see the APIs: DAQmxCfgImplicitTiming and DAQmxCfgSampClkTiming. But I am not 100% sure if these are the right APIs to use for this purpose. Also which APIs can I use to set the Digital lines in the DAQ to highs and lows?
    Like I said earlier, I am a newbie with this device and I am not really sure if I am going in the right direction. Any help would be greatly appreciated.
    Thanks
    Anand

    You do not load a program onto the device. Your program runs on your pc and you build your program that calls the DAQmx functions.
    There is no clock for for the digital I/O. As the spec says, it is strictly software timed which means you explicitly write a true or false, one state at a time. This is subject to jitter from Windows and I would not expect rates above 100 Hz.

  • Missing Media files And How To replace them

    I have moved a number of media files in the Motion project I'm working on. These media Files have simply been moved into another directory. I need to relink them up with the files but when I try and go to the button that says : "replace media file" I press it and nothing happens.
    W.. isn't there supposed to be a window that pops up or somthing?
    How else can I re-link these media files into my project without completley replacing them and redoing the trim fade placement etc.?

    Have you tried the "Reconnect Media" command in the File menu? That should help you reconnect every media file in the project, instead of doing them one by one using the replace media button in the inspector.

  • What is access sequence tables and how to use them in program?

    hi all, I know a little about SD and access sequence tables, but I get a requriment like this:
    condition type is a paramater
    The condition types allowed in this report are: Note: A list of pre-defined condition types with their corresponding access sequence tables will be defined.
    How can I make it? How can I use it in program to get the price?

    Hi,
    An access sequence is a search strategy with the aid of which the SAP
    System searches for valid condition records of a certain condition type.
    For example, you can stipulate for a price that the SAP System first
    searches for a price for a specific plant, and then for a generally
    applicable price.
    For condition types for which you wish to maintain conditions with their
    own validity period, you must assign an access sequence. With this, you
    define which fields the SAP System checks in searching for a valid
    condition record.
    e.g. When you create condition record (e.g. Purchasing condition record) you enter condition type, system asks you the key combination to enter the entries. These key combinations are nothing but the access sequence. On the basis of combination of condition table it will search record. e.g. when u maintain condition record with acc seq Material/plant combination, it will transfer the same record in PO when u enter same material and plant in the PO.
    Example:
    An access sequence has been assigned to condition type PB00 so that
    prices can be maintained in purchasing info records and contracts.
    No access sequence has been assigned to condition type RC00 because it
    does not have a validity period of its own. In the standard system, it is
    always maintained simultaneously with the price and is valid for the
    period of the price.
    For more help
    http://www.sap-img.com/materials/steps-for-mm-pricing-procedures.htm
    Regards,
    Raj.

  • Subject: Where are SAP Exit Variables and how to use them in Bex Query

    I have seen references to variables:  0cyear (Current Year), 0CALYEAR (current year), oCALMONTH (Current month/year).
    Under 0CALMONTH characteristic or 0CALYEAR I do not see any of the variables, so how does
    one use these variable in the query. For example I want to create a restricted key figure:  Duration restricted by Current calendar year (e.g.  2009 if I am in 2009, 2010 if I am in 2010..).

    Thanks a lot. Actally, I was looking in my production system and under varaiables I did not find any SAP Exit variables,
    but in development envrionment I do see some.
    Why will it not show me these variables in production? Is it because:
    1. Some special premssion is required to view this type of variable
    or
    2. THese varaiables were not installed from Business Content
    It is hard for me to beleive, it is permission issue.

  • TABS and HOW to USE them

    does anyone know how to make basic tabs?

    have i used tabs? no way. you put them on your tongue and they make you crazy.
    real berkeley. you know what i mean.

  • Combo_boxes and how to use them

    I'd like to be able to type a search term into a combo box and, with each typed character, i'd like to perform a SQLite query and get back results that influence what items appear in the popup menu part of the combo-box.  I've been able to do this with a popup_menu and a separate edit_field, but it takes up too much room in the user interface. ideally i'd like to be able to do it from a combo_box.  but there don't seem to be enough hooks into a combo_box to do this. take for example the value parameter.  while a variable bound to it will contain the text typed into the combo_box, it also contains the value of whatever item is pulled down in the popup menu.  this leads to confusion and none of my experiments have been able to get values typed into the combo_box to actually produce new SQLite queries on a character-by-character basis (yes, i tried adding immediate=true to the combo_box instance when i created it).
    that said, i'm going to guess that (like everything else in the SDK), there are parameters i can set in a combo_box to deal with the text typed into it and the item selected by the popup separately. i just don't know what they are because they are not mentioned in the documentation for a combo_box.  or i'm wrong and what i am requesting is impossible.  but i thought i'd ask here first.

    HI Victor,
    I meant the validate function - it would be clarified if you download the test plugin (see link a few posts up).
    Here is guts of the code:
    vf:push_button {
        title = "Push me... (perform test)",
        action = function( button )
            LrFunctionContext.postAsyncTaskWithContext( "Test", function( context )
                local efValidated = false
                local cbValidated = false
                context:addCleanupHandler( function( status, message )
                    if status then
                        local m = {}
                        local c = 0
                        if efValidated then
                            m[#m + 1] = "edit-field validator was called"
                            c = c + 1
                        else
                            m[#m + 1] = "*** edit-field validator was NOT called"
                        end
                        if cbValidated then
                            m[#m + 1] = "combo-box validator was called"
                            c = c + 1
                        else
                            m[#m + 1] = "*** combo-box validator was NOT called"
                        end
                        if c > 0 then
                            LrDialogs.message( section.title.." completed without an error being thrown - "..table.concat( m, ", " ).."." )
                        else
                            LrDialogs.message( section.title.." failed! - no validators were called." )
                        end
                    else
                        LrDialogs.message( "*** "..section.title.." ended - an error was thrown: " .. ( message or "?" ) .. " - push '"..button.title.."' button to perform test again, if desired." )
                    end
                end )
                props.efValue = "Edit this - validator should get called when you do"
                props.cbValue = "Edit this - validator should get called when you do"
                props.items = {
                    "No worthwhile items...",
                --[[ validate function spec -
                    Parameters:
                        view (LrView) This control.
                        value (any) The value to validate.
                    Returns three values:
                        result (Boolean) True if value was valid.
                        value (any) The new value.
                        message (string) If result is false, an error message.
                local function validate( viewObject, value )
                    props.items = {
                        "One", "Two", "Three", "...",
                    return true, value
                end
                local vi = {
                    vf:row {
                        vf:static_text {
                            title = "Edit field:",
                            width = share 'label_width',
                        vf:edit_field {
                            bind_to_object = props,
                            value = bind 'efValue',
                            --items = { 'no worthwhile items' },
                            immediate = true,
                            validate = function( vo, value )
                                efValidated = true
                                return true, value -- false, "edit-field validator was called", "edit-field validator is ok"
                            end,
                            width_in_chars = 30,
                    vf:row {
                        vf:static_text {
                            title = "Combo box:",
                            width = share 'label_width',
                        vf:combo_box {
                            bind_to_object = props,
                            value = bind 'cbValue',
                            items = { 'no worthwhile items' },
                            immediate = true,
                            validate = function( vo, value)
                                cbValidated = true
                                return true, value -- false, "combo-box validator was called", "combo-box validator is ok"
                            end,
                            width_in_chars = 30,
                local args = {}
                args.title = "Test"
                args.contents = vf:view( vi )
                LrDialogs.presentModalDialog( args )
            end )
        end, -- action func
    Problem: validate function (of combo box) not getting called - what am I doing wrong?
    PS - validate function of edit-field is getting called.
    Rob

Maybe you are looking for