How do I set class path for 3rd-party classes?

Hello, I need to know how to set the classpath so that I can use the apache's third-party lang classes. I downloaded commons.apache.org/lang/download_lang.cgi. And I need to know next steps. Move the unzipped files to which location? And type what commands?
Thanks, Melissa

Hi, it's not the server that I am running. My instructor told me to download an apache class file for the Apache Lang library and then set my class path to point to the executable. Her instructions are for Windows users, however. I need to do something in the terminal shell but I don't know precisely what.
mg

Similar Messages

  • How can i set a path for my deployment files in weblogic server 10.3

    Hi
    How can i set the path for my WAR ,JAR files while deploying.i am using the wls10.3 version.
    is there any scripts for this ,please provide me.
    my Application is ADF 11g application.

    By "path", I assume you mean "classpath".
    The simplest way is simply to include the jars you need inside the web application or web module's WEB-INF/lib directory, EJB module's META-INF/lib directory, or EAR lib directory.
    If that's not practical, if you use NodeManager to start your servers, you can go to the "Server Start" tab in the server definition in the WebLogic console and edit the "Classpath" field, which defaults to no value. You can specify a classpath value there. Note that if you specify a value there, it REPLACES the default classpath for the server, it doesn't add to it. If you need to just add to it (a much more likely scenario), if the value references the value "$CLASSPATH" in it, that will reference the original classpath value that the server would have had.
    So, for instance, if you wanted to include the MQ jars in the server classpath, you could set a value like this:
    /usr/java/mq/lib/mq.jar:/usr/java/mq/lib/mqstuff.jar:$CLASSPATH

  • Setting path for third party class files

    I am using some third party classfiles in my JSPs for JDBC. When I use these files, in normal Java Programs everything is working fine ( I am setting the path by using the CLASSPATH environment variable).
    I did not understandt how to set classpath for these files (com.informix.jdbc.*) for use in iplanet 6.0.
    I have tried to keep this "com" folder in /usr/java/j2sdk1.4.3_01/lib folder, but, it is not still working. I tried to change the start-jvm file, but, I am still having problems.
    Can someone help me !!!
    --Murthy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    I changed the jvm12.conf file, but, it did not work. I changed the JDK Runtime Classpath in the Global Settings tab of the Administration Server and restarted both the webserver and the administration server and it worked.
    Thanks for your response.
    --Murthy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How can I set a path for a new AD-User in this Switch example?

    Hi,
    I am nearing the end of my script that creates a new ad user, adds them to a set of groups, and moves them to their correct ou.
    The problem I have is that I cant work out how to move them to the OU.
    eg.
    Step 1. In my function I have completed the part that creates the user, and I have used the -passthru parameter to return the new user object into a variable called $obj.  
    Step 2. I have created a switch that accepts a department variable, and adds the user to the corresponding groups.
    Step 3. Finally I want the user to be created in an OU that is relevant to their job role. If possible in the same switch as above.
    Here is the switch :
    Switch($dept)
    Finance {$FinanceGroups = @("Finance","Users");ForEach($group in $FinanceGroups){Add-ADGroupMember -Identity $group -Members $Obj}}
    Sales {$SalesGroups = @("Sales","Users");ForEach($group in $SalesGroups){Add-ADGroupMember -Identity $group -Members $Obj}}
    Support {$SupportGroups = @("Support","Users");ForEach($group in $SupportGroups){Add-ADGroupMember -Identity $group -Members $Obj}}
    I was trying to do it like this.
    Finance{$FinanceGroups=@("Finance","VPN_Users");ForEach($groupin$FinanceGroups){Add-ADGroupMember-Identity$group-Members$Obj}{$Obj.Path ="OU=Staff,OU=Accounts,OU=Resources,DC=homenet,DC=com"}}
    But it doesn't seem to work, and I think the problem could be that the new user object returned by the -passthru parameter is read only. So I can't set it's parameters.
    Can you think of a way to do it?
    Thanks

    I would re-write this function as follows:
    Function New-User {
    [CmdletBinding(SupportsShouldProcess=$true, ConfirmImpact='High')]
    Param(
    [Parameter(Mandatory=$true,
    ValueFromPipeLine=$true,
    ValueFromPipeLineByPropertyName=$true,
    Position=0)]
    [String]$fname,
    [Parameter(Mandatory=$true,
    ValueFromPipeLine=$true,
    ValueFromPipeLineByPropertyName=$true,
    Position=1)]
    [String]$sname,
    [Parameter(Mandatory=$true,
    ValueFromPipeLine=$true,
    ValueFromPipeLineByPropertyName=$true,
    Position=2)]
    [ValidateSet("Milan","London","tokyo")]
    [String]$site,
    [Parameter(Mandatory=$true,
    ValueFromPipeLine=$true,
    ValueFromPipeLineByPropertyName=$true,
    Position=3)]
    [ValidateSet("Finance","Sales","Support")]
    [String]$dept,
    [Parameter(Mandatory=$false,
    ValueFromPipeLine=$true,
    ValueFromPipeLineByPropertyName=$true,
    Position=4)]
    [String]$baseOU = "OU=Accounts,OU=Resources,DC=homenet,DC=com",
    [Parameter(Mandatory=$false,
    ValueFromPipeLine=$true,
    ValueFromPipeLineByPropertyName=$true,
    Position=5)]
    [String]$tempPass = "Temp-pass1"
    Write-Verbose "Creating user '$fname $sname' in OU 'OU=$dept,$baseOU'"
    $objUser = New-ADUser -name "$fname $sname" `
    -GivenName $fname `
    -Surname $sname `
    -DisplayName "$fname $sname" `
    -SamAccountName "$fname.$sname" `
    -AccountPassword ($tempPass | ConvertTo-SecureString -AsPlainText -Force ) `
    -ChangePasswordAtLogon:$true `
    -Path "OU=$dept,$baseOU" `
    -PassThru
    $Groups = @("All_$site","Users","$dept")
    Write-Verbose "Adding user '$fname $sname' to groups '$($Groups -join ', ')'"
    $Groups | % { Add-ADGroupMember -Identity $_ -Members $objUser.DistinguishedName }
    Write-Verbose "Enabling user account '$fname $sname'"
    Enable-ADAccount -Identity $objUser.DistinguishedName
    <#
    Examples
    New-User -fname "Sam" -sname "test" -site Milan -dept Finance -Verbose
    #>
    Notice:
    Function name: follows verb-noun format - best practice 
    $obj variable renamed to $objUser - using variable name that reflects its content
    Use of CmdLetBinding[] and confirm impact as high since you're writing to AD 
    Use of ValidationSet to minimize parameter input errors
    Parameterized baseOU, and TempPass
    Added requirement to change password at first logon
    Enabling the account at the end
    You should wrap each of the 3 steps in a try-catch block. Check for things like user already exists or not, group exists r not, OU exists or not..
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • How do I set file path for "on my mac" folders in Mail 4.3

    Hi, is it possible to set a custom location for where the emails are stored when in "on my mac" folders? This would solve all my problems!
    Basically, I have some folders on my local hard drive which sync with Dropbox and I'm thinking there might be a way to do the same with Mail folders ... i.e. so I can access my emails in the "on my mac" folders from multiple devices (other macs, iPads, iPhones).
    Don't ask me why I'm not using another way to do it! Mainly because I have too many emails in too many folders to move to IMAP, Exchange, etc.
    Thanks
    D.

    Hi, why not just add this folder to sync with Dropbox also?
    /Users/YourUserName/Library/Mail/Mailboxes
    Other than that possibly using Aliases, Symlinks, or Hardlinks might work.
    Mainly because I have too many emails in too many folders to move to IMAP
    Hmmm, you can get a free Gmail imap account that'll hold 8 GB, & IMAP is really, really what you want.

  • PersistentProxy class usage for 3rd party super class

    Hi,
    I am using PersistentProxy class for 3^rd^ party super class. Please see code below for proxy class.
    @Persistent(proxyFor=AIAMessageHeader.*class*)
    public class AIAMessageHeaderProxy implements PersistentProxy&lt;AIAMessageHeader&gt;{
    public AIAMessageHeader convertProxy() {
    AIAMessageHeader h = null;
    //some code here
    return h;
    public void initializeProxy(AIAMessageHeader h) {
    //some code here
    I am not sure how to register this proxy class using EntityModel:registerClass method before opening EntityStore. Before opening store, entity model object is null. I tried creating object of AnnotationModel and register class, set back it using setModel method of StoreConfig. But no help!!
    Can someone put code snippet to do that? Without registration, it throws following exception.
    Exception in thread "main" java.lang.IllegalArgumentException: Persistent class has non-persistent superclass:

    Thanks so much charles for replying me.
    I tried the steps as you mentioned but did not work. It's still throwing exception. Please see code below.
    public class TestData extends AIAMessageHeader {
         @PrimaryKey
         String testStr;
         public static void main(String[] args) {
              new TestData().start();
         public void start (){
              try {
                   EnvironmentConfig envConfig = new EnvironmentConfig();
                   StoreConfig storeConfig = new StoreConfig();
                   // Allow environment and store to be created if does not exist
                   envConfig.setAllowCreate(true);
                   storeConfig.setAllowCreate(true);
                   // set for AutoCommit of transaction
                   envConfig.setTransactional(true);
                   storeConfig.setTransactional(true);
                   AnnotationModel model = new AnnotationModel();
                   model.registerClass(com.jpm.equities.aia.cache.AIAMessageHeaderProxy.class);
                   storeConfig.setModel(model);
                   // open environment and EntityStore (database for caching data)
                   Environment env = new Environment(new File(
                             "C:\\workspace\\RollingIOIServer\\dbenv"), envConfig);
                   EntityStore s = new EntityStore(env, "EntityStore", storeConfig);
                   PrimaryIndex<String, TestData> pi = null;
                   pi = s.getPrimaryIndex(String.class, TestData.class);
                   TestData td = new TestData();
                   td.setTestStr("Kinnari");
                                  pi.put(td);
                   System.out.println("inserted object into cache");
                   TestData t = pi.get("Kinnari");
                   System.out.println("found data " + t.getTestStr());
              } catch (Exception e) {
                   AIALogger.getAIALogger().fatal("Exception : ", e);
    Thanks in advance!!
    Kinnari

  • How to set local path for load library

    Hi,
    How do i set local path for native dll as i dont want to set the path in the environment variable.
    can i do like this
    System.loadLibrary("c:\abc");
    Thanks

    I believe that System.load() does exactly the same thing, but accepts fully qualified filenames. So give that a try.
    Failing that.... maybe you can add -Djava.library.path=
    to your command line to explicitely override the path set ?
    regards,
    Owen

  • ATP for 'Stock in transit' for 3rd Party scenario

    We have a scenario:
    For warehouse replenishments an STO is created and then a delivery is subsequently created for the STO. Once the delivery has been shipped out of the manufacturing facility (post goods issued) the materials on the delivery are transferred from unrestricted-stock at the manufacturing facility to stock-in-transit at the receiving warehouse. Once the stock is in transit to the third-party warehouses, ATP should then take it into consideration when deliveries are created from the third-party warehouses to customers.
    Now how to take the ATP check for 3rd party del. into consideration for STO?
    STO document type is UD
    Goods issue movement type is 641
    Goods receipt movement type is 101

    Some useful info here..
    http://help.sap.com/saphelp_47x200/helpdata/en/2b/b22d3b1daca008e10000000a114084/frameset.htm

  • Procedure for 3rd Party

    Dear Experts,
    We have some 3rd party vendor from where we purchase FG. And the transaction is like that we give PO to 3rd party. They pack the material as per our BOM provide in mail. Then they supply the material at our stock point and our stock point do the GRN. but in this case we are unable to track the BOM of some products as no production order or SAP activity is done at third end. So kindly confirm me how we should maintain the BOM for 3rd party without plant code generation,
    Or else suggest me how to do this transaction in the best way so that at any time we can be able to trace that so as so batches was packed in so and so packing material.
    Regards,
    Phalgun Patel

    Phalgun,
    It is unclear to me why you need to 'plan' a BOM for the Vendor.  In standard 3rd party processing, all you do is place a PO with the vendor, and the Vendor delivers the product directly to your customer. Batch numbers used are created by the vendor, according to the terms of your contract.  You are unconcerned how he internally plans his order, and he never actually sends his output to you.   He is solely responsible for procuring any RM or services required to fill your PO, and for fulfilling any batching and traceability requirements contained in the contract.  Any Doc you send to him about BOM is not for you to use for planning purposes, it is part of the contract specifications.
    So, can you be a little more specific exactly why the vendor is delivering material to you, and why you need a BOM.
    Best Regards,
    DB49

  • How to set class path for mysql

    hai, I have been trying to make a java program read from mysql database. but i don't know how to set the class path for mysql-connector-java-5_1_.0.6-bin. i set the class path in system variable as C:\Program Files\Java\jdk1.5.0_08\jre\lib\ext\mysql-connector-java-5_1_.0.6-bin.
    in the command prompt, i compile C:\javac abc.java and run java abc.
    when run it come out error java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    i am using Window xp. can anybody help me??? TQ.

    hai, I have been trying to make a java program read
    from mysql database. but i don't know how to set the
    class path for mysql-connector-java-5_1_.0.6-bin. i
    set the class path in system variable as C:\Program
    Files\Java\jdk1.5.0_08\jre\lib\ext\mysql-connector-jav
    a-5_1_.0.6-bin.
    in the command prompt, i compile C:\javac abc.java
    and run java abc.
    when run it come out error
    java.lang.ClassNotFoundException:
    com.mysql.jdbc.Driver
    i am using Window xp. can anybody help me??? TQ.Right click on my computer icon,
    Goto properties->advanced->environment variables.
    Look for 'classpath' under system variable.
    Select it and click edit.
    put ';' and path of the mysql connector jar at the end
    suppose if u have jar file under d:/driver/mysqlconnector.jar
    thn put this value in variable value text box
    ;d:/driver/mysqlconnector.jar
    or simply put ur driver jar file in jre/lib/ext folder
    D:\j2sdk1.4.2_03\jre\lib\ext
    [Servlet tutorial|http://www.jsptube.com]

  • How can i change the path for uploadin videos??

    i m using javax.servlet.servletcontext for setting the path for storin upload videos...
    by using the getrealpath able to store videos in web-inf file...
    how can i change the location...

    this is the part of code in which i want to change my storage location:
    ** * The base path corresponds to the base directory of the
    * application context's WEB-INF directory. This means that
    * this directory is NOT visible to the end user.
    public static String getBasePath(javax.servlet.ServletContext context)
    { return context.getRealPath("/") + "WEB-INF" + directorySep;}
    /** * The temporary directory used to store files while they are
    * being uploaded. */
    public static String getTempPath(javax.servlet.ServletContext context)
    { return getBasePath(context); }
    /** * Gets the upload directory - used to indicate the local file
    * system storage area.
    can u tell me now how to change the context value???
    and how to change the storage loction??

  • Set a path for ap

    Hi:
     I want to set path let ap can use,
    e.g: web_home="/var/www/html"
    then ap can call a file with relative Path,
    where/how shoule I set the path export?
    Thank you
                 newbit

    By "path", I assume you mean "classpath".
    The simplest way is simply to include the jars you need inside the web application or web module's WEB-INF/lib directory, EJB module's META-INF/lib directory, or EAR lib directory.
    If that's not practical, if you use NodeManager to start your servers, you can go to the "Server Start" tab in the server definition in the WebLogic console and edit the "Classpath" field, which defaults to no value. You can specify a classpath value there. Note that if you specify a value there, it REPLACES the default classpath for the server, it doesn't add to it. If you need to just add to it (a much more likely scenario), if the value references the value "$CLASSPATH" in it, that will reference the original classpath value that the server would have had.
    So, for instance, if you wanted to include the MQ jars in the server classpath, you could set a value like this:
    /usr/java/mq/lib/mq.jar:/usr/java/mq/lib/mqstuff.jar:$CLASSPATH

  • How do I set a reminder for the last day of every month

    Have I missed something? But how do you set a reminder for the last day of every month to recurr indefinatley in iOS6? Sorry if this is really simple but I just can't seem to work it out. Any help gratefully received.

    Hey Mattye88 not sure if you have seen but actully you can do this, but for some reason you have to use Siri.  If you bring up Siri and say "set a reminder ever 4 weeks from next wednesday to check the gas meter" it will set one and it will work just fine, I have reminders to water a Bonsai every three days and it works fine it just shows as custom repeat on the user interface.  Alas it seems you can not use Siri to set one for the end of the month though which is why I am in this threed.  Still hope it helps you to know how to sort this problem atleast.

  • How do I set numbered lists for headings in Pages 5.2, and keep that system of numbered lists saved?

    I have tried to set numbered lists for headings in Pages 5.2 but have not succeeded. I have read similar questions concerning this but this has not helped me...
    When I say numbered lists I mean something extremely important and simple, for instance:
    1. Introduction
    1.1. Background
    1.2. Purpose and Questions
    2. The Legality of Clause X
    2.1. Legality under Article 101.1
    2.2. Legality under Article 101.3
    And so on...
    Heading 1. is selected as "Heading", 1.1 is selected as "Heading 2", and if I had 1.1.1 it would be selected as "Heading 3" and so on...
    I have navigated my way to the Format window, and under the tab "Style" and down to "Bullets & Lists". I have here selected the following: Numbered, Numbers, 1. 2. 3. 4., Tiered Numbers, Continue from previous.
    There are several problems with this currently.
    First, based on the example it becomes "2. Background" when it should be "1.1 Background" instead.
    Second, after writing some body text between the headings and then select a new heading, all the previously selected settings I mentioned above in "Bullets & Lists" have to be reselected.
    So, how do I set numbered lists for headings, or so called sub-headings, in Pages 5.2? And how do I keep that selected system of numbered lists saved so I don't have to retype it for every new heading I type? (e.g. so that Pages knows that every time I choose Heading 2, I want it to number the heading in the way selected)
    Obviously, manually writing the numbers for every heading is not a viable option, as it makes table of contents problematic and is simply tedious. You need an automatic way of doing it, especially if you write long documents where keeping headings in order is absolutely essential.
    Also, reverting back to previous Pages versions (like v. 9 I think?) is not an option as that does not exist on my recently purchased Macbook Pro.
    I need to be able to do this on Pages 5.2 and do it automatically.
    I appreciate any help with this.

    iWork '09 is not "outdated" it still works and works extremely well and whilst not perfect with MsWord it is far far better than Pages 5.2 which has a stream of major issues with exporting. It is also way better and faster to use than Microsoft Office.
    So what is your time and work actually worth? If it is less than $19.99 for 6 months, you may as well just chuck it in and take that job on minimum wages.
    You are assuming things for Office 2014 with absolutely no inside knowledge. Much as we assumed Pages 5 was going to be the long awaited improvement, but ended up being a downgrade to match the iOS version, Microsoft is headed the same way with their mobile versions.
    This is not like getting the "latest" pair of pants where you go with the crowd and throw out your cigarette legs which replaced the flares, which replaced your low cuts which replaced your cigarette legs, which replaced…
    This is work.
    If it does the job and does it well, use it. There is nothing out there to really match what Pages '09 does. Yet.
    LibreOffice can do most but not all, but has a UI that only a mother could love. It's great redemption is that it uses both open formats and the standard Microsoft formats and is under active development. It also opens and saves to just about everything. When they finally work out the Pages formats, I'm sure they will open those as well.
    I use a lot of professional software. Just because the publisher's marketing department says change the product so we can sell more, doesn't mean you have to pay any attention whatsoever. Adobe being a classical example. Most designers are just ignoring their latest subscription based bloatware and getting on with their work.
    Peter

  • How can I set a password for firefox so that everyone have to enter the password before executing firefox

    My younger sister executed my firefox just at this afternoon(she originally use IE), and she saw something that can't be seen. How can I set a password for firefox so that everyone have to enter the password before executing firefox?

    Also see this for an English version of Profile Password:
    *Profile Password: http://nic-nac-project.de/~kaosmos/profilepassword-en.html#PPF
    It is an extension to protect the profile with a password, but being an extension that protection can easily be bypassed by starting Firefox in [[Safe mode]].<br />
    So do not rely on it.<br />
    If you want to protect content then you have to use methods supported by the OS like a separate user account with a password or an encrypted file system.

Maybe you are looking for

  • HP 8600 e- all- in-one printer nt connecting to mac pro

    Hi,  My printer just stooped workingw ith my mac pro running 10.9.  I have tried resettng to factory settings and reinstalling the drivers but it only works with the usb cable.  I do not know why it is doing this.  It has worked just fine in the past

  • Low res images when placed in indesign

    I'm having a problem with my graphics. I create the graphics in photoshop and save them as TIF and PSD (300 dpi) files and they look great, but when I place them in indesign the quality looks very bad (low res). What am I doing wrong ? Thanks

  • MSAccess DB Exception

    I have Customer table in which i have CustomerNumber and CustomerName and i put the name in session and want to retrieve CustomerNumber associated with that Name but when i run the query i get the following exception . here my snippet code: HttpSessi

  • Pen tool is rasterized in Photoshop CS3

    I am trying to trace a picture and create a vector image, but when I am using the pen tool it seems to already be rasterized. I do not know what I am doing wrong. I tried checking certain setting, but I am still not sure what to look for. Any help wi

  • With Oki ML395 and Epson FX-1170 printers the paper size is incorrect

    I've tried printing to an Oki ML 395 and an Epson FX-1170 (both dot matrix), through code, but the paper size is never the one that I configured. The behaviour is the same for both printers. I have set the Oki printer as the Windows default and also