Can i run the pakage from other method

dear
i want to know and how work the following job.
i have four jar files which include in my classpath.
but when i deploy the application to the user i want that no need to set the classpath by the user.
i think there is two ways
1.classpath added automatically when we install the application to the user machine but how?
2. jar files r in the same directory where main class r.how can i access it?
all the jar files have a pakages
and i use
import a.*; //like that one jar file have imageicons.
plz help me

See Kappy's very well written user tip:
What is "Other" and What Can I Do About It?

Similar Messages

  • How can I run my doclet from main method?

    I want to run doclet from main method.
    My source is:
    command = String.format("%s%s%s%s",
    "cmd /c ",
    "% javadoc -doclet ",
    "ExportJavaLib ",
    "-private " + dir.getAbsolutePath() + ".java");
    Runtime.getRuntime().exec(command);My doclet class file is in the same directory where is my class containing main method.
    I run the main class from bat file and set
    set CLASSPATH=%CLASSPATH%;D:\jdk1.5.0_06\lib\Tools.jarBut my code does nothing when it must execute the doclet.

    I've done it. 10x :)

  • Firefox can't run the map from Traffic England.

    Firefox will load Traffic England home page but wont run the map. It starts to load and then stalls with just the Java logo on a black background. Map works fine with Explorer and used to work fine with earlier versions of Frefox.

    If the Maps App is not functioning try this.
    Double tap the home button to bring up the recent apps at the bottom. Find the Map app and hold down on the icon until it begins to wiggle. Tap the minus sign in the upper left corner of the icon to quit the app. Tap the home button and the icons will stop wiggling. Then tap the screen to return to the home screen.
    Now restart by holding down on the sleep button until the red slider appears then slide to shut down. Hold down on the sleep button until the Apple logo appears and let go of the button. When the iPad has started up, try the Map app again.
    It is impossible to delete or re-download the pre installed iPad apps. Safari, iTunes, Maps and so on.

  • How can I delete the space from "other" in my iPhone 5?

    I have an iPhone 5 (iOS 8.1.2) and the "other" space is taking 5.63GB! I've tried a few things like deleting old mails or messages but it's not getting better. Please help!!

    See Kappy's very well written user tip:
    What is "Other" and What Can I Do About It?

  • Can you run Hardware Test from older DVD?

    Hello,
    My mini2,1 came with OS 10.4. I have the two original system discs. SInce I bought it right before 10.5 was released, Apple sent me a single Leopard Upgrade disc. Does anyone know if the Apple Hardware Test is on the 10.5 upgrade disc? If it isn't, can I run the test from Disc 1 of the original 10.4 DVD's even though the mini is now running 10.5?
    Thanks in advance.

    Excellent. I found the hardware test on the original 10.4 OS X Install Disc 1. Glad to know that the test on the DVD is for my specific computer hardware, and that the current OS on that machine does not matter.This was not clear to me and I could not find an answer on Apple's help pages. And that explains why the hardware test isn't on the 10.5 upgrade DVD.
    Thanks BD and Niel.
    Dr. Rock

  • GetDSN from other method

    Hi,
    can some one tell me how to call the dsn from other method within the same cfc.
    this getDSN method return me the correct dsn that i declared from application.cfm.
    <cffunction name="GetDSN" access="public"  output="false"    hint="Gets the DSN">
    <cfargument name="dsn" required="yes">
        <cfreturn this />
    </cffunction>
    how can i get the dsn from above method.  What i have is not working..........
    <cffunction name="findDupicate" output="no" access="public" returntype="query">
            <cfargument name="form" required="yes" type="struct">   
            <cfquery name="check_duplicate" datasource="#GetDSN#">
            SELECT voucherNo
            FROM voucher
            WHERE voucherNo= <cfqueryparam value="#arguments.form.voucher#" cfsqltype="cf_sql_varchar" />
        </cfquery>
        <cfreturn check_duplicate>
        </cffunction>
    Thanks

    Two things that immediately spring to mind.
    getDsn() is misnamed, or does the wrong thing.  It doesn't return a DSN, it returns the entire object (return this).
    I your CFQUERY tag you're not calling getDsn(), you're just using it as a value, eg: "getDsn" is a reference to the method itself, but "getDsn()" is actually CALLING the method.
    Oh a third thing: something called getDsn() would not normally take an argument that is the very thing it is supposedly getting.  IE: why is getDsn() taking an argument of dsn?  It should be RETURNING the DSN name, not having it passed into it.
    Adam

  • How can i convert the data from mutiple-table to the other database(MSSQL)?

    Dears,
    How can i convert the data from mutiple-table to the other database such as MS-SQL?
    I have a third party system based on MS-SQL 2000.
    Now we want to make a integration between SAP R/3(Oracle) and SQL server.
    When my user releases the purchase order in R/3, the application we coded will convert the releated data to the temp database on the SQL server.
    But i don't know which tools will help me reach the purpose.  BAPI, LSMW, IDoc... ???
    Would anybody tell me which way is better and how to do?
    Thanks a lot!
    Kevin Wang

    Hello Kevin,
    The question to use which method depend on your detail requirements. If you use BAPI, you need to find which Bapi can provide the data you want. Bapi normally use as a function called by external system. So you need to develop an external program like VB/Java to call this Bapi and move it to SQL. LSMW is use when you want to upload data from an external system to SAP. So it does not serve your requirement. Idoc can be use to export data to an external system. Again like Bapi, you need to find what Idoc can provide the data you want. However, it does not any programming from the external system. If I were you, based on your requirements, I think writing an Abap program that read the data you want and download it to NT/SQL server will be faster and easier.

  • I have Time Machine that I used to back up my old computer. It was running snow leopard. My MacBook died, so I got a new one which is running Lion.  how can I restore the data from the time capsule to my new Mac?

    I have Time Machine that I used to back up my old computer. It was running snow leopard. My MacBook died, so I got a new one which is running Lion.  how can I restore the data from the time capsule to my new Mac?

    In technical support, sometimes you have to make educated guesses. I'm sorry that you were offended.
    iTunes does prompt when it is going to erase a device, and the message is clear.
    She said in her message that she was able to successfully sync the old ipad. This indicated to me that itunes wiping the data was not an issue, because either it had been setup at the apple store (in which case it doesn't actually wipe the ipad despite saying it will*) (*based on a single case I saw), or because the itunes media folder was migrated.
    Furthermore, my solution was to tell her how to backup her ipad (by either doing it manually, or as a last resort, by deleting the corrupt backup -- that she couldn't access anyway.)
    I got that last part of the instructions from the "Taking Control of your iphone" book which I found samples of when I did a google search for "corrupted backup itunes".
    She marked this as a solution, so it worked for her.

  • Hi I am new on the Mac, I need help, how can I run my apps from my library on my Mac Pro?  All my apps I was used in my iPad, thanks guys!!!!

    Hi I am new on the Mac, I need help, how can I run my apps from my library on my Mac Pro?  All my apps I was used in my iPad, thanks guys!!!!

    The Mac OS X and iOS versions are separate products

  • Clicking on Microsoft Update opened Firefox, but couldn't run from Firefox; when I closed Firefox I lost all my tabs and couldn't restore anything but the Microsoft page; how can I restore the tabs from an earlier session?

    Clicking on Microsoft Update opened Firefox, but Microsoft Update couldn't run from Firefox; when I closed Firefox I lost all my tabs and couldn't restore anything but the Microsoft page; how can I restore the tabs from an earlier session?

    Hi Diovizor,
    Make sure that you do not use [http://support.mozilla.org/en-US/kb/Clear%20Recent%20History Clear Recent History] to clear the 'Browsing History' when you close Firefox.
    Also please make sure that you not run Firefox in (permanent) Private Browsing mode.
    You enter Private Browsing mode if you select: Preferences > Privacy > History: Firefox will: "Never Remember History"
    To see all History and Cookie settings, choose: Preferences > Privacy > History: Firefox will: Use custome settings for history. Uncheck "Always use permanent Private Browsing mode"
    Hope that helps!

  • How can i run the java bean sample program download from OTN

    hello to all
    i have a p[roblem. i have downloaded the sample progam from oracle web site which is a java code that connect with the oracle and shows a form. how can i run the from.
    can any body help me pleaSEEE
    thanks
    kamran ahmed                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi Darryl.Burke
    So your telling, we cannot run our Java Program when system shutdowns...In my application, when user has schedule for next days and he shutdown his PC. On the next day when System Started i should able to get back my schedule on the Specified time(I'm TimerTask class in Java)... How can i achieve this using Java? can u tell me clearly..

  • Please, I'm in Brazil. I can buy items in the store the USA from other countries?

    Please, I'm in Brazil. I can buy items in the store the USA from other countries?

    No.
    (65965)

  • How can i run unix script from my apex page

    how can i run unix script from my apex page and take the output of unix script as a hidden variable and display it on the report region of that page

    I had a requirement to run a Fortran program against some data that woudl be extracted from the database after the user set up their filtering criteria and made some additional input. SInce the program was to complex to conver to PL/SQL, we decided to try and invoke it from Apex. This is how I did it.
    1. I followed the steps in Tim Archer's excellent article "Oracle External Procedure to Run Host Commands" (http://www.timarcher.com/?q=node/9). If the link does nto work, google the article's title.
    Using this steps I created a function which accepts any OS command, including calling my own shell scripts, and runs them. I called my PL/SQL function "shell" instead of "USF_RUN_HOST_CMD " as Tim did in his example (step 9).
    2. In Apex,
    a. I created a button to run my shell command. (I named it P2_RUN_SHELL)
    b. I created a PL/SQL process whose source looks as follows:
    shell('/home/ackness/scripts/cr_xcf_file.sh > /tmp/cr_scfp_file.log');
    and which was conditioned on the the button P2_RUN_SHELL.
    It works like a charm.
    Note: since you can run your own scripts using this method, you can encapsulate a series of commands in a UNIX shell script and invoke that script from Apex. This allows you to be able to test or run you commands from the command line as well as Apex and makes it easier to develop/debug/enhance the scripts in the future.
    Ackness

  • How can we remove the commas from the Formula value in SAP BW BEx query

    Hi All,
    How can we remove the commas from the Formula value in SAP BW BEx query
    We are using the formula replacing with characteristic.The characteristic value needs to be display as number with out commas.
    Regards
    Venkat.

    Do you want to remove the commas when you run the query on Bex Web or in RSRT?
    Regards

  • The report can not retrieve the data from the DB

    Dear all,
    I am facing a problem is that i have ready designed reports in Crystal. While refreshing the report in Crystal, it gives an error that it can not retrive the information from the database. But, if i am using the application which the report is attached, it is giving me the results and showing the report in Crystal. Even, for testing if i add a new field, i have to run it from the application, but directly from the Crsytal Reports, it displays an error.
    I hope you will help me in the issue.

    Could you please provide more information:
    What is the database? (Oracle, SQL Server, xml, etc.)
    What type of connectivity? (ODBC, Native, OLE DB, etc)
    Are application and Crystal Reports are running from the same machine?
    What is the error message? Any error numbers?

Maybe you are looking for

  • CS5 Design Standard. Will not activate on new HDD following transfer from old HDD. Shows Error 213.10 Have serial number/s etc.

    I recently encountered a problem with a HDD drive. So I had to replace it with a new one. Fortunately I managed to recover the data and applications on the original drive. However when I transferred and installed the Adobe CS5 Design Standard suite o

  • TS1334 Saving attachments in Outlook for Mac

    I cannot save email attachments in Outlook for Mac because it says I do not have permission to save it.  How do you find the file in Finder?

  • Please help on Import

    Hi, I am using Oracle8 Release 8.0.4.0.0 - Production. I have one oracle user called finadmin/finance. In this schema there are 400 tables of an application. These all objects are created in the user's default tablespace - 'finadmin' and for indexes

  • Jdevelop 11 v4. error when publish pl sql package as webservice

    Hello.. I have installed latest version of Jdeveloper.. When I like to create a webservice from plsql package I get the error: What can be wrong? java.lang.ClassCastException: oracle.jdeveloper.webservices.model.plsql.PLSQLPortType      at oracle.jde

  • Nested Accordion Panels

    I want to set up a set of nested Accordion panels but I don't know how. For instance I want to make a 3 tier Navigation structure that accordions. So I would have for example: Object 1>Sub 1> Sub Sub1, Object 1>Sub 1> Sub Sub2, Object 1>Sub 2, Object