Where i should put external java library so UDF can import directly ?

Hi All,
I have some scenario using UDF and this code required a lot of external jar file. Please
advise me where i should put this JAR file so i can import directly from UDF without need to import using Import Archive ?
Thank you and best Regards
Fernand

Hi,
is there any other alternative rather than put in into import archive ? like i copy all ther Jar file into certain
directory in XI server and restart ther server so automatically, i can import insite my UDF wihout import archive ?
Thank you and Best Regards
Fernand

Similar Messages

  • A question about variables and where I should put them!

    Hi, I'm fairly new to java. I'm a first year computer scientist and I'm struggling with where I should put my variables.
    So far on the course I've been able to wing it as we have not been doing object orientated programming, it was more like programming in fortran!
    Anyway if you look at the code below, I need the variables 'speed', 'distance', 'time' and 'tottime', to be calculated in my seperate methods, but then called in my main part to be printed out; however I have no idea where I put them to get this to work!
    The program is by no means complete, it's still a work-in-progress, but I need to get this sorted before I continue.
    Thanks in advance
    /////  LogName: gxm07u
    /////  FullName:
    /////  CreationDate: 2007-11-07 09:30:07
    import java.io.*;
    public class travel {
        public static void printMenu()
             System.out.println("Travel Program\n\nn: Enter a journey\ns: Get complete journey stats\nd: Get Distance travelled stats\nq: quit");
        public static void RoadMenu()
             System.out.println("Type the road type:\nType m: Motorway\nType a: A road\nType b: B road\nType u: Urban road");
        public static void enterRoadType()
             char choice;
             choice = UserInput.readChar();
             switch(choice)
                  case 'm': //motorway
                  case 'M':
                       speed = 85;
                  break;
                  case 'a': // a road
                  case 'A':
                       speed = 70;
                  break;
                  case 'b': //b road
                  case 'B':
                       speed = 55;
                  break;
                  case 'u': // Urban road
                  case 'U':                                     
                       speed = 40;
                  break;     
        public static void enterDistance()
             System.out.println("Type the travel distance: ");
             distance = UserInput.readDouble();
        public static void calcTime()
             time = speed/distance; // time in hours
             tottime = tottime + time; //total time in hours         
        public static void main(String[] argv) {
              int speed = 0;
              double distance = 0;
              double time=0, tottime=0;
         } // end of main
    } // end class

    Your calcTime() can't see variables local to other methods you either need to make them global or pass them in as parameters. To make them global:
    public class travel {
         int speed = 0;
         double distance = 0;
         double time=0, tottime=0;
        public static void printMenu()also you're main method should create a instance of the class
        public static void main(String[] argv) {
    new travel();
    }BTW it's convention to make class names begin with a uppercase letter. Also, look at using the equalsIgnoreCase() for your switch statement as it could save you 4 cases.
    Hope this helps

  • Where I should put the bean class?

    Hello,
    I am learning JSP. I want to know where I should put the bean class? Which directory should I put the bean class?
    note that I am using Tomcat 4.1
    johnwen
    24-12-2005

    I can't tell if you've got everything you need or not, but what you've shown looks right so far. Let me run down the necessities:
    In your JSP file:
    <%@ page import="aos.*" %>
    <%-- imports all of the classes in the "aos" package --%>
    In your Java file:
    package aos; // tells Java this is a package (you probably have this)
    Then, of course, you put the class file into the directories that you mentioned, ie, $CATALINA_HOME/ROOT/WEB-INF/classes/aos (forgive me if I use Unix-styled slashes; old habit, and shouldn't make any difference.)
    You may need to restart Tomcat. You have to restart it when you add certain directories, although I'm not sure exactly which ones. But it never hurts to just restart it anyway.

  • TS1702 i have an issues everytime i put my apple id and password to face time and imessage he said verifying and he goes back to where u should put ur password and wont check mark the mail and i create a new apple id the same what should i do ?

    i have an issues everytime i put my apple id and password to face time and imessage he said verifying and he goes back to where u should put ur password and wont check mark the mail and i create a new apple id the same what should i do ?

    i have an issues everytime i put my apple id and password to face time and imessage he said verifying and he goes back to where u should put ur password and wont check mark the mail and i create a new apple id the same what should i do ?

  • HT1349 Having issues when try to burn a disc. It says "checking media" but just sits there. I know drive is working  because I can put in a purchased cd and can import it into my library. It said something about I should "calibr

    Having issues when try to burn a disc., which I never had an issue doing. Yesterday when I tried to burn a playlist it says "checking media" but just sits there. I know drive is working  because I can put in a purchased cd and can import it into my library, but now it just sits there and hums until I maually eject the disc.Before all this started it said something about that I should "calibrate disc", since then it won't let me do any burning. I can't find any options in " preferences to change anything except the burn speed. Any suggestions? Tried rebooting, tried using my wifes iTunes on same comptuer.

    Could you post your diagnostics for us please?
    In iTunes, go "Help > Run Diagnostics". Uncheck the boxes other than DVD/CD tests, as per the following screenshot:
    ... and click "Next".
    When you get through to the final screen:
    ... click the "Copy to Clipboard" button and paste the diagnostics into a reply here.

  • Where do i put external libraries?

    I have some oracle classes that I use for XML generation. Where do I put the jar file so that
    Weblogic can use them? Do I reference it in the CLASSPATH variable, or can I put the jar file in the
    weblogic directory structure?
    Thanks in advance,
    Josh Cimino
    Software Developer
    Mxi Technologies Ltd.
    1430 Blair Place, Suite 800
    Ottawa, ON, Canada
    K1J 9N2
    E: [email protected]
    T: 613.747.4698 ext 479
    F: 613.747.1909
    www.mxi.com
    "From the flight line to the bottom line"
    [att1.html]

    Thanks!
    "Dimitri Rakitine" <[email protected]> wrote in message
    news:[email protected]..
    http://www.onjava.com/pub/a/onjava/2001/06/26/ejb.html
    Josh Cimino <[email protected]> wrote:
    What if I have a session bean that uses external libraries? There is no
    web-inf/lib directory for an EJB.
    "Renaud Waldura" <[email protected]> wrote in message
    news:3bd348b5$[email protected]..
    If your application is packaged correctly it should be in WEB-INF/lib.
    If
    not, well, let's just say it's probably worth your time to package it
    correctly. I know it sounds harsh, but really it's worth it.
    --Renaud
    "Josh Cimino" <[email protected]> wrote in message
    news:3bcaf5f6$[email protected]..
    I have some oracle classes that I use for XML generation. Where do I
    put
    the jar file so that
    Weblogic can use them? Do I reference it in the CLASSPATH variable,
    or
    can
    I put the jar file in the
    weblogic directory structure?
    Thanks in advance,
    Josh Cimino
    Software Developer
    Mxi Technologies Ltd.
    1430 Blair Place, Suite 800
    Ottawa, ON, Canada
    K1J 9N2
    E: [email protected]
    T: 613.747.4698 ext 479
    F: 613.747.1909
    www.mxi.com
    "From the flight line to the bottom line"
    Dimitri

  • Where to get Source for Java library

    thanks!

    Since you're bent on crossposting this
    (http://forum.java.sun.com/thread.jspa?threadID=5205463)
    I won't tell you.

  • Where do i put my order nadobeumber  so i can download my adobe exportPDF

    i log in and there wasn't any place to put the order number in where does it go?

    ExportPDF has nothing to download. Just sign in and start using it.

  • How Can I submit data to an external java application

    Hi Gurus,
    I've this requirement and I would appreciate if someone can provide me some guidance.
    My requirement is that we are building a webdynpro ABAP application inside our SAP system. This webdynpro application should be able to collect data from the user. When the user submits the data, this data needs to be processed by should an external java application for which we've the URL available.
    The data has to be sent to this external Java web application in the form of parameters to that application programatically through post method.
    Is there anyway we can code this in our webdynpro ABAP application.
    Please help.
    Regards,
    Sam K

    It isn't Web Dynpro ABAP functionality - per say - but you can use the class CL_HTTP_CLIENT for the ABAP server to act as a browser and make HTTP requests to other web servers.  This is how Web Services work from ABAP.  This class lets you build the request object and post it to an external server.  However you might consider if using a full blow Web Service might provide you with a better approach than just posting to an external URL.

  • My IPAD has not been used in almost two years and I tried to update software and under general settings I can not find Software Updates where it should be, help please!

    My IPAD has not been used in almost two.... I have tried to update software but when go to Settings, General I can not find Software Updates where it should be between About and Sounds, what can I do? Nothing has been updated, tried through ITunes on PC and said I needed to update to ITunes 10.1 and can't do this either, please help me.  Can't find ICloud either!

    Make sure iTune is up to date.
    http://i1224.photobucket.com/albums/ee374/Diavonex/715e7281162a061530f6b86418036 0f0_zpscfe7d4c8.jpg

  • Mac OS X 10.4.x and error no ocijdbc10 in java.library.path

    Hi all,
    I installed Oracle Instant Client 10.1.0.3 on my Mac OS X 10.4 (PPC). I stored this client into path /usr/local/oracle/instantclient10_1. I set all properties as PATH, ORACLE_HOME, DYLD_LIBRARY_PATH, etc...
    export set ORACLE_HOME=/usr/local/oracle/instantclient10_1
    export set DYLD_LIBRARY_PATH=$ORACLE_HOME
    export set LD_LIBRARY_PATH=$ORACLE_HOME
    export set SQLPATH=$ORACLE_HOME
    export set TNS_ADMIN=$ORACLE_HOME
    export set PATH=$PATH:$ORACLE_HOME
    When I use SQLPLUS all work correctly but when I use JDBC OCI driver I got error no ocijdbc10 in java.library.path. But when I show system property java.library.path I can see this: java.library.path ==> /usr/local/oracle/instantclient10_1:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
    Can you somebody help with it. Thanx
    Edited by: user2258172 on 4.6.2009 7:21

    I am not familiar with Mac OS, but there are two things I can think of that you can check:
    - This is trivial, and you probably did that: ist libocijdbc10.dylib in /usr/local/oracle/instantclient10_1 ?
    - Could it be that Java is 32-bit and libocijdbc10.dylib is 64-bit or vice versa?
    Yours,
    Laurenz Albe

  • I got this message "no ocijdbc8 in java.library.path", what should i do???

    i use personal oracle 8.0.5, jdeveloper 3, win98. When i make connection with JDBC Driver (Oracle JDBC OCI-8), local DB with network Protocol (BEQ), when i click Test Connection button i got this message "no ocijdbc8 in java.library.path", what should i do with this ???
    please tell me because i'm new with this.
    thank's

    In jdbc library, you have this file. Try to put it in JDeveloper bin folder, or in system\bin folder.

  • Hi, I have a MAC (version 10.10.2) and installed Creative Suite one year ago. Now I want to open the Illustrator, but it does not work. It says I should install old Java SE 6-Runtime-Version to open „Adobe Illustrator CS6". Where can I find it? Thanks for

    Hi, I have a MAC (version 10.10.2) and installed Creative Suite one year ago. Now I want to open the Illustrator, but it does not work. It says I should install old Java SE 6-Runtime-Version to open „Adobe Illustrator CS6“. Where can I find it? Thanks for your answer! Jana

    Prompted to install Java SE 6 Runtime | Mac OS 10.9
    Mylenium

  • Can I put my itunes library on to an external hard drive

    I'm looking to get some space off my pc. I have a lot of music stored on my hard drive and I want to put my itunes library onto an external hard drive. I have over 200 more cd's that I want to load into itunes account but i don't want to pay for getting more storage in my cloud when I have a 1 tb extrnal hard drive that I can use. Does anyone know if this would work? Any advice.......

    Copy your ENTIRE iTunes FOLDER to an External Drive...
    Full Details Here  >  http://support.apple.com/kb/HT1751
    Also see this migrate iTunes library post by turingtest2
    To Operate iTunes from the External Drive...
    On Windows, hold Shift, launch iTunes and select Choose library... and select the iTunes folder you copied to the external drive.
    And also make sure that all is working to your Satisfaction before Deleting anything off your Internal Hard Drive

  • I have Elements 13 (I have the hard copy) installed on my iMac using Yosemite. I do all my iPhoto work on an external drive where I have copied my iPhoto Library, can I also install Elements 13 on my external harddrive or drag Elements 13 over from my iMa

    I have Elements 13 (I have the hard copy) installed on my iMac using Yosemite. I do all my iPhoto work on an external drive where I have copied my iPhoto Library, can I also install Elements 13 on my external harddrive or drag Elements 13 over from my iMac so that I can do work with Elements 13 via the exteranl hard drive? Thanks tb

    Yes you can store images on an external hard dive and have them referenced in Organizer. It’s best to export copies to separate folders/subfolders and that will ensure iPhoto does not get corrupted.
    Alternatively you could continue to use iPhoto with the Elements Editor set up in the iPhoto prefs as your external editing app. Then there is no need to use Organizer and no need to duplicate your images.
    You can then call up photos directly from iPhoto as normal with the additional option e.g.
    Double-click on a thumbnail to edit in iPhoto editor.
    Control (right) - click on a thumbnail to edit in the elements app.
    http://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-iphoto-mac-os.html

Maybe you are looking for

  • Getting a cd book onto itunes from flash drive...

    I am having trouble with my cd drive so I used a friend's computer to put a book on cd onto a flash drive.  iTunes will not recognize it.  How can I get the book into my iTunes?

  • Proxy receiver channel with HTTP destination or URL address?

    Hi Experts,      I have a scenario as below:      (Webservice Client)SOAP --> PI --> PROXY(SAP ECC).      A webservice client calls PI using SOAP. PI then sends the request to SAP ECC using PROXY.     I am using AAE. Therefore I have ICO.     In the

  • Photo date help.

    Hello. I did do a search and found some info on this, but that info was a few years old so i thought id touch base again. When i upload pics from my camera to i-photo the dates and times the pictures were taken is in the info of each pic. However, wh

  • My MAC pc seems to be working slowly - how to speed it back up?

    How to speed up my MAC pc?

  • BUG: Incorrect data returned with JSON and CF8

    I don't know if this is a bug, but I am trying to create a JSONDataSet that will call a cfc which returns a query in json format. However, I have a problem with a column datatype varchar(20), for which some rows contains numbers as the value (01,02,0