Setting up 3rd party packages

To JDev team,
How do I setup the packages so that JDeveloper recognizes the package statement like:
package coreServlets;
Is there an automated way of doing tis so that I don't have to create coreservlets directory under the current directory, etc?
Thanks.
AR

Start here:
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/

Similar Messages

  • Where to install 3rd party packages

    Good evening...
    i just downloaded the regex package from jakarta (jakarta-regexp-1.2) and un-zipped to some directory on my harddrive.
    but is that really what i wanted to do? where do you usually install 3rd party classes and their documentation?
    i realize for distribution my application jar will have to include the jakarta-regexp-1.2.jar; this question is more about what's the best way to set-up the development environment. just wondering if there's some standard that i should adhere to make my life easier when using other people's libraries.

    There are 2 jre's, C:\jdk1.2.2\jre is the one you want to develop with. The othere one is for windows and ie when they need to run a java program (don't worry about this one).
    To setup the development environment, make sure that javac and java are in your PATH variable. I suggest making an environment variable JAVA_HOME=C:\jdk1.2.2 and setting your path to PATH=%JAVA_HOME%\bin;%PATH% . If you need an applet to use the 3rd party package, it's better to use the plug-in and point it to use the C:\jdk1.2.2\jre.
    Good luck,
    Bud

  • Using 3rd Party packages when creating jar - program doesn't run

    I am using the xerces and xom packages for xml etc in my program.
    It works fine when run from a command prompt, but as soon as I package it into a jar I get the java.lang.NoClassDefFound error for the nu.xom.Builder class (one of the 3rd party classes.)
    Reading through these forums has yielded several suggestions, none of which work.
    I am probably making some massive stupid mistake, but cannot see it...
    My manifest:
    Manifest-Version: 1.0
    Created-By: 1.6.0 (Sun Microsystems Inc.)
    Main-Class: be.bavardage.vocab.VocabGUI
    Class-Path: serializer.jar xercesImpl.jar xercesSamples.jar xml-apis.jar xom-1.1.jar
    using the jar comand line prompt:
    jar cfm vocab.jar MANIFEST.MF be\bavardage\vocab\*.classCan anyone give me any indication as to what I am doing wrong...

    bavardage,
    I too am reading forum messages to try to do just what you originally wanted to do. I have 3rd party JARs and I have always first extracted them and then turned around and JAR'ed them up into my single Remote.jar (actually I'm so new to Java that I don't yet change things that aren't broken and this was working when I got it)
    jar  xf  jakarta-oro-2.0.5.jar
    jar  xf  jasperreports-1.2.1.jar
    jar  xf  iReport.jar
    jar cmf  mainClassSpec  Remote.jar  *.class  org/  net/  it/I am reading the forums for a way to NOT do this. My reason is because I want to make the application Java Web Start (JAWS) capable. By zipping all the JARs up into one I end up with a JAR over 6 MB! I am also adding internationalization and I really need to keep the ListResourceBundle classes in a separate JAR so I can keep adding languages and not cause the entire 6 MB file to be downloaded each time.
    Using Java Web Start is the real motivating force here. I need to keep all JARs separate so that when there are code changes or new languages only one small JAR will be downloaded again by JAWS not the huge iReport.jar file at 4,218KB nor the somewhat smaller jasperreports...jar at 1,225KB (at 64KB jakarta-oro...jar is hardly worth mentioning) .
    I will watch this thread to see if you or anyone else later comes up with the information to reference external JARs (while in a Java Web Start environment).
    So to put it in a question format, can anyone provide some information about referencing external JARs in a normal environment and will it work in a JAWS environment (I do know the technique for specifing and downloading multiple JARs in a JNLP file)?
    Hopi(ng)

  • JAR file with 3rd party package

    Hello.
    I am sorry if similar question has been asked many times. But I really have no idea to make the JAR work...
    I have downloaded dom4j package into my Windows XP machine. And put the file to my C:\j2sdk1.4.0\jre\lib\ext\. Then I develop my application in other directory. Is there a way to edit the manifest file such that the JAR file can contain all the classes including classes from dom4j, such that I can run the application in other machine that without dom4j's jar file in the ext directory?? Thank you very much.

    why not?
    1. extract dom4j.jar
    2 add all extracted files to your own .jar file..
    everything will be ok.
    The following may help you..
    JavaJar(written by java) can compress and decompress jar,war, ear and.zip...
    it can deal with manifest file and executable .jar file .specially.
    may download from http://www.qwerks.com/download/4114/JavaJar.zip
    the tool is very verygood tool.
    but the homepage(www.pivotonic.com) of JavaJar cannot be accessed.
    it is funny.
    good lucky.

  • Where to install a 3rd party package

    I have a ZIP file containing Akamai connection
    classes but I don't know where I should install the package.

    The common practice is to have a directory called 'aslibs'
    (as an example, you can of course name it like you want) and put
    all packages you use there. Then add that directory to your class
    path.

  • Any way through terminal setting or 3rd party app to tweak scroll direction?

    I am really struggling with the settings that the OS X Lion GUI allows you for trackpad scroll direction.  Natural just seems horribly wrong for veritcal scrolling like in a webpage, but exactly right for horizontal scrolling, like swiping between desktops.  If I turn off natural scrolling, I ALWAYS accidentally swipe left toward the dashboard screen when I mean to swipe right to where I keep iTunes.  It is very frustrating.  And while I might be willing to retrain myself to vertical scroll the natural way, I could never ever ever retrain myself to mouse-wheel the opposite direction, and natural scrolling changes both the trackpad and mouse behavior--you cannot configure them separately.
    Are there any other options to tweak this beyond what the GUI provides?  This is really frustrating.   

    I hear you.  I agree too.
    At first I thought it was my iMac that was unstable or buggy after Lion's upgrade.  Was fiddling with the scroll settings for both my Magic Trackpad and Magic Mouse for almost few nights... trying to understand it all, and (finally) realized it is just one generic setting!  It's like in the house you have two wall switches to the same light, and if both are at off positions, depending which one you use last, eg you turn on the 1st switch, and if you are at the 2nd one, it is at off, you need to on it first then off it, the the light will go off - crude example, but something like that.
    Ya, I already put it in Lion's feedback on Apple.com, I think a lot more should do the same, so that the next update, there may be seperate settings for these.
    Cheers

  • No PReq Item Category for 3rd Party Order

    Hello,
    I am trying to set up the 3rd party process but having a problem with the item category in the generated purchase requisition.
    I know that my sales order item has a schedule line category of CS. This should create a purchase requisition item with an item category of 5.
    However, my requisition item is getting " ". I have checked the config and it looks ok.
    Does anybody have any idea why the item category in my schedule line is not being picked up? The requisition item is getting the correct account assignment category.

    Stuart, I don't have an answer to your question but am wondering if you could help me... I too am trying to set up 3rd party ordering. 
    Did you set up your material as a non-inventoried (DEIN) material?  How did you handle the account assignment cat value in the purchase req?  Mine is defaulting to "X"... do I have the option to change that?
    Thanks in advance,
    Deirdre

  • Using barcodes with Oracle / no 3rd party

    Is anyone aware of or doing barcodes with Oracle... be it sql/plus, reports, etc. without using 3rd party packages? I have been asked to research how we can produce documents that contain barcodes in pdf format. I have found 3rd party packages that do it but am tasked with finding if there is a way without those add-ons.

    If this is on a mac, my guess is that you are choosing the obvious file as your external editor rather than the correct one. You want this one:
    The file at the top level of the PSE 10 folder is just an alias to the welcome screen.

  • 3rd party sales process

    hi im rao
    i need small info about third-party sales.
    can any one give the steps  and back end setting of 3rd party sales process.
    Edited by: rao rao on Feb 20, 2008 5:13 PM

    Hi Rao,
    Third Party sales process is as follows
    Step: 1 Create Purchasing organization.
    Path: Img--enterprise structure—definition—materials management—Maintain purchasing org.
    Step: 2 Assign Purchasing Org. to company code
    Path: ImgEnterprise structure—Assignment Materials management-- Assign purchasing organization to company code.
    Step: 3 Assign purchasing organization to plant
    Path: ImgEnterprise structure—Assignment Materials management-- Assign purchasing organization to plant
    Step: 4 Create purchasing group
    Path: Materials Management—Purchasing—Create purchasing group
    Step: 5Maintain purchasing area
    Path: Materials Management—Purchasing-- Maintain Purchasing Area
    Step: 6Maintain Purchasing Area Determination
    Path: Materials Management—Purchasing-- Purchasing Area Determination
    Step: 7CREATE MATERIAL MASTER
    T-Code: MM01
    Material Type: Trading goods
    In Basic data 1
    Maintain BANS in Gen/Itemcatgroup.
    In sales: Sales org. 2
    Maintain BANS In item category Group
    In Sales: General/Plant
    Maintain KP in Availability check
    In Purchasing:
    Enter the purchasing group.
    Click on the Autom. P0
    Step: 8Create Vendor Account Group
    Path: Img—Financial Accounting—Accounts Receivables and Accounts Payables—Customer Accounts—Vendor Accounts—Master Data—Preparations for Creating Vendor Master Data--Define Account Group
    Step: 9 Assign Number Rangers to Vendor Group
    Step: 10Create Vendor
    T-Code: XK01
    Give the details of Company code, Purch. Org. and Account Group and start creating Vendor.
    Step: 11 Create Info Record
    T-Code: ME11
    Enter the Vendor no. Material no., Purchasing org. and Plant and Create Info Record.
    Step: 12 CREATE SALES ORDER
    T-Code: VA01
    Enter the
    Sold to Party, Ship to party, PO no, material and qty
    A screen with the following details will get created. Then click on the continue button
    Save the Sales Order.
    After saving, Purchase requisition number is created in the sales document. (goto change mode of sales order, item -> schedule lines, you can find the pur. req. no. at line item)
    Step 13 Create Purchase Order
    T-code: ME21N
    enter pur. org, pur. group, company code and purchase requ. no. and press enter
    A screen as shown below appears. With all the details like Matl. Po. Qty, Deliv. Date, Net price Curr etc.
    Then Save the Order. A screen with the Purchase order no. will get created.
    Step: 14 Release the PO. Number.
    T- Code: ME29N
    Now Release the Order.
    Click on the Release Strategy Tab
    step 15 Post Invoice Receipt
    T.Code MIRO
    Basic Data Tab (Header Level)
    Enter Invoice Date, Reference No, Amount (tax inclusive) and Tax amount.
    PO Reference Tab (Item Level)
    Enter the purchase order number
    Check at the header, if the balance is zero and the green indicator is on. If yes, check the line items which have to be posted else correct the amount and/or tax amount to make the balance zero.
    Save the invoice receipt document
    Step 16. create invoice for sales order
    T.Code VF01
    Enter the sales order number and continue
    now save the invoice
    This completes the Third Party sales.
    Hope this is clear
    Reward if helpful.
    Thanks,
    Praveen

  • How to package 3rd party libs into EAR

    Netweaver 7.0, WEBAS 640:
    I have an EAR I am deploying containing an EJB and a webapp. I have third party jars that I need to use from both the EJB and webapp, and so want to just package in as part of the EAR. I do not want to fuss with deploying the third party jars separately, nor do I want to duplicate them into the EJB and WAR separately...
    I have the jars in the root of my EAR project, and have the build path set up in NWDS for the EJB and WAR so that the jars are referenced, so I'm ok at build time...
    ...but I'm getting NoClassDefFound exceptions for the classes in the 3rd party apps when I go to run them.
    What do I have to do in my EJB and WAR projects to be able to see the third party jars in the EAR at runtime?

    Hi,
    <module>
        <java>
          <uri>abc.jar</uri>
        </web>
      </module>
    Try putting this in application.xml.
    The best option for such type of problem is creating a APP-INF folder under the root.
    Sample structure:
    ear
          APP-INF
               classes   -- put all class files and properties files
               lib           -- put all jar files
        war
        ejb-jar
    Try with this structures. Put all the jar files under APP-INF/lib folder, and the application class loader will pull all the classes and properties from classes and lib folder.
    NOTE: I am not sure this folder is recognised in EP server. Weblogic recognises this folder.
    Try this once.
    In EP server the recommendation is to create  j2ee library projects and refer them in the project descriptor files. By specifying thus the server will load them in the application class loader.
    Rama Murthy

  • Infospoke - 3rd party tool not setting request to G (successful )

    Hi,
    Anyone of you had experience of this issue before? I have an infospoke that loads data to the DB table. A 3rd party tool ( Datastage) extracts the data from the table. Everything works as expected, BW sends notification to 3rd party tool that data is ready for extraction. 3rd party tool extracts the data successfully, but the problem is that the request is not set to G (successful). The people working on Datastage said that their system issued a message to BW that extraction is successful but it seems BW did not accept/receive it. So although the data has been successfully extracted to the 3rd party tool, the request is still set to N (new) and not G. No errors are issued.
    Below is the Infospoke Message run:
    1. Extraction is running
    2. Extraction running in background process BW_OH19802
    3. Data Package 1
    4. Send message to DATASTG
    5. Message from DATASTG confirmed
    6. The extraction ended successfully
    7. Data is being read: Open hub destination DW1234
    8. Finished reading data: Open hub destination DW1234
    In this issue, the log should have:
    9. Datastage job completed successfully (status set to G)
    10. Status for request 154,567 was set to G.
    But the infospoke only run up to 8. The catch here is that this doesnt happen consistently. Sometimes the infospoke status is correctly set. but sometimes it's not.
    Any ideas what cause this problem? Will really appreciate any inputs.

    Hi,
    The Thirdy party tool (in this case datastage) is responsible for setting the status to G in the table RSBREQUID3RD. If this does not
    happen then normally the problem is with the Third party tool and often with the RFC communication. However there is an known issue on the
    BI side as explained in the note 1243168, if this is relevant for your BI support package level please apply the note and check if the problem
    still exists.
    Best Regards,
    Des.

  • 3rd party signature handler set in Adobe Acrobat 9 Professional Extended gets reset

    Hi All,
    I have got a 3rd party digital signature creating plug-in i.e. MySign . I have set it inside 'Preference > Security > Advanced Preferences > Creation > Default Method to Use when Signing and Encrypting Documents' > MySign. If I restart Adobe Acrobat that setting is lost and the Adobe Default Security handler is then used.
    I don't want to set handler manually every time I restart Adobe Acrobat. I have figured out that Adobe Acrobat is creating a registry entry named aPrivKey against that inside cHandlers BUT it gets removed on Adobe restart if I set MySign as the handler in the first place.
    Similarly I want the same handler to verify signatures. For that I have set 'Preferences > Security > Advanced Preferences > Verification > Always use the default method (overrides the document-specified method)' along with the name of handler i.e MySign but on restart of Adobe, this is also gets reset.
    Any idea how to set my handler as default to sign & verify without getting it reset?
    Regards,
    Wahaj

    Hi All,
    I checked with Adobe X and this issue is not present there.
    Regards,
    Wahaj

  • How to include 3rd party jar package in the native code aiming to generate ane for android

    in my native java code,i need to reference a class in another jar package.Simply to say,i want to make use of member functions of a class of some jar package A in the call function of the native class which have implemented the FREFunction class.To generate the native extension,native java code needs to be compiled to a jar package B.i have tried serveral methods to compile jar package A into B.Howerver my flex project failed to proceed when calling function of package A in the call function of native java code.To be sure of the correctness of the package A and B,i referenced them in a java project with main function and succeeded. at the same time my other call functions of classes impemented FREFunction work well,Then, why did i fail referencing package A?
    in the discussion http://forums.adobe.com/message/3965757, i found the same problem,but i was unable to get a workaround,can anybody give me same help?

    Standard Java does not support jars within other jars.
    Either re-architect your stuff so jars in jars is eliminated, or write a custom classloader that can load from them, or look into 3rd-party solutions, which you can find by searching the net and these forums.

  • Safari allows 3rd party cookies and all cookies even when prefernces are set to "never allow" with Mac os 10.6.8

    safari ALWAYS allows 3rd party cookies and all cookies even when set to "block cookies: always" and "from 3rd party and advertisers."  I have removed the website data, emptied the cache, reset safari, erased the history and it STILL dumps cookies.  (For example, if I go to the usgov weather website only I end up with 11 cookies, the top one being "addthis.com" listed as cashed in local storage.  But didn't I just empty the cache... multiple times??? Is my Safari application "broken" or "corrupt."  Can the application be renewed so that it actually does what it is commanded to do?

    Not using any extensions, Andy.
    Allowed a guest account and tested that.  Lots of cache/cookies showed up for my "guest" that on face value, appeared 3rd party:  the familiar "addthis.com" cache and others including a facebook cache and I did not, nor have ever, participated in facebook. But it could be that the "trusted" site my virtual guest visited had a relationship with facebook such that my COMPUTER "friended" facebook even though my guest and I most certainly would have declined the invitation :-)  But what I really don't get is why washington post cookies keep showing up every single time.  Isn't that the absolute definition of 3rd party cookies?!
    forgive my rant.
    On the other hand, when I logged out as guest, all data was automatically deleted, and when I relogged in as guest, it appeared that all the data, including cached data, had indeed been deleted.  But when I relogged in as myself, the same old garbage reappeared in the cache and cookie bin. The fact is, there appears to be no such thing as truly and completely emptying ones cache, resetting ones browser, or deleting ones cookies. They are here to stay.
    (And, oh yes, I have tried logging out, turning off and on the computer right after performing emptying tasks, etc.)

  • Silverlight 5 WebBrowser Control - Is the SL5 WebBrowser control is set to work in IE7 mode only? I have a 3rd party web site i'm hosting and now they will not work with IE 7 Compatibility mode. Looks like this control can't detect I'm setup for IE 9.

    Silverlight 5 WebBrowser Control - Is the SL5 WebBrowser control is set to work in IE7 mode only? I have a 3rd party web site I'm hosting and now they will not work with IE 7 Compatibility mode. Looks like this control can't detect I'm setup for IE 9. I'm
    running IE 11 with registry hack for IE 9. I think the SL5 webbrowser control is set to work only in IE 7. can some one verify this or tell me how to set the WebBrowser control up to run either IE8, 9, 10 or 11? I have same issue with machines running IE 8
    and above. This Silverlight 5 application is running out of browser with the elevated privileges (hack) and at test certificates install in proper stores. This application has been running for 2.5 years. Vender switch on some changes a couple days ago that
    broke this application. Help!!

    Hi,
    It seems there is nothing to do with IE mode.
    Please make sure your link still can be accessed.
    The WebBrowser displays HTML content in applications running in a Silverlight 4 or later out-of-browser applications or in Silverlight 5 in-browser trusted applications only.
    For more infromation,please check link below:
    http://msdn.microsoft.com/en-us/library/system.windows.controls.webbrowser(v=vs.95).aspx
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for