How to add a jar files to a project in JDeveloper 10g?

I had created a sample appln using below imports
import oracle.forms.handler.IHandler;
import oracle.forms.ui.CustomEvent;
import oracle.forms.properties.ID;
import oracle.forms.ui.VBean;
The above packages are available in frmall.jar only know?
I tried to add the above jar in JDeveloper IDE (10.1.2.1.0).
But i can't fild a exact menu in my iDE?
How to add the above jar through menu?
Thanks

1. Select Tools>Project Properties.
2. In Project properties window select Libraries.
3. Add a project JAR with Add Jar/Zip button.

Similar Messages

  • How to add a jar file to a project

    I believe I have followed the necessary steps to add a jar file to my project. I have added this jar file as a new library and I see all the classes in it. I have even added it to my SessionBean1.java via the Add ---> Property menu. I noticed that this did not do the import of the class, so I did it myself. I also noticed that it did the drop downs and found the class for me automatically. Specifically, the IDE knows about the class layout and can see my class package as I type it out.
    So far so good....
    I then go to compile the project and I get the error:
    C:\Projects\safe\Safe\src\safe\SessionBean1.java:11: package com.dusa.bo does not exist
    import com.dusa.bo.BackofficePerson;
    Am I missing something? I looked around and it looks to me like the jar file is in the project and it should know about it. Again, I do know that the editor can find it, because as I type import ..... it then list "com" as an option to click on, then if I click on com, it will then list dusa ... and so on.
    Thanks

    I figured this out. Sorry for the post.

  • How to add SDK jar file in NWDS

    Dear Friends,
    Currently i have an issue. I have to bring the BO favorite to my Portal Screen. My Portal is developed in PDK.
    I have few links where the source code is writhen. Those link's are
    /people/michael.nicholls/blog/2010/02/22/using-the-pdk-to-access-businessobjects-infoview
    http://wiki.sdn.sap.com/wiki/display/Snippets/ReadInfoViewfavoritesfromthe+portal
    I don't know more about BO. I have few points which i mentioned below.
    1) How to add SDK jar file in NWDS.
    2)DO i need any specific package for that.
    Kindly help me with your Valuble suggestion and document.
    Thanx in Advance.
    Prashant Krishen

    Hi,
    for adding all the jar files in NWDS fallow below steps
    windows >> preferences >>Java>>Java buildpath>>Libraries>>add external jars
    Hope this helps
    Edited by: polaka123 on Nov 13, 2010 12:44 PM

  • How to add existing jsp file to a project?

    I am trying out 10g developer preview. Looks like a lot of bugs are there in the tool. I would like to know how to add existing jsp file into a project. I tried the Import functionality, but it shows the option to create a project and include only Java files. Is there a way to do this? Thank you

    Just copy the files in the directory where the rest of your source file is.

  • How to add a jar file into resource catalog in webcenter spaces

    Hi All,
    i am new to webcenter spaces. my requirement is like, i have created one adf taskflow and deployed it as a shared library.now i want to register this jar file as a resource catalog into webcenter spaces (i.e. already deployed). How to achieve this task.
    Thanks,
    Monika

    Pls do the foll actions:
    Step 1:
    File -> Import -> Selct radiobutton - "Jar file" -> Next
    -> Select the file name(ur jar file) - > click on the java button and ensure that u have selected all the file or what evre files u want " -> Finish
    If at all u r not getting any errors but the files are not apperaring in ur Project means go to
    Step 2:
    From the work bench click
    Window -> Reposiroy Explorer -> Select the Project,edition,package or type and right click and from the pop up menu click "Add to Workspace"
    This 'd work
    All the best for a successful completion of ur work
    Pramod

  • How to add a Jar file to J2EE Server Component Library ?

    Hello,
    My objective:
    =====================================================
    To add a 3rd party jar file to be a runtime jar file to J2EE Server Component
    Library project.
    I have created a J2EE Server Component Library project. 
    I have built the J2EE Server Component Library project to get the provider.xml file and place the provider.xml under the J2EE Server Component Library project's server folder.
    Here is my problem:
    =====================================================
    I can't open the provider.xml with SAP's special editor for the provider.xml.
    The special SAP editor doesn't exist for me.
    Here is my question:
    =====================================================
    Q1) Do I copy/paste my JAR_X file where <jar_0> is located? (Below is the
          J2EE Server Component Library SDA structure.)
    Q2) If you were to update the provider.xml with notepad, what would you
    type in provider.xml for JAR_X?
    Q3) Is there anything else that I need to do?
    Thanks,
    Steve
    J2EE Server Component Library SDA structure.
    ======================================
    |-META-INF_
    |         |-manifest.mf
    |         |-sap_manifest.mf
    |         |-SearchRules.xml
    |         |-<SDA>.xml
    |         |...
    |-<jar_0>
    |- ...
    |-<jar_N>
    |-dispatcher_
    |           |-provider.xml
    |           |-properties
    |           |-runtime.properties
    |           |-persistent__
    |           |            |-<persistent_files(2)>
    |           |-descriptors_
    |                        |-<descriptor_files(3)>
    |-server_____
    |           |-provider.xml
    |           |-properties
    |           |-runtime.properties
    |           |-persistent__
    |           |            |-<persistent_files>
    |           |-descriptors_
    |                        |-<descriptor_files>
    |-os_libs____
                |-<char set>__
                             |-<platform>__
                                          |-<jvm bitlength>__
                                                            |-<native lib files>

    Thank you for all your solution...
    my provider.xml was missing the <!DOCTYPE> tag for me to use the SAP LibraryDD Editor
    Thanks again,
    Steve
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE provider-descriptor SYSTEM "library.provider.dtd">
    <provider-descriptor>
         <display-name>
          Your_Lib_Name
        </display-name>
         <component-name>
          Your_Lib_Name
        </component-name>
         <major-version>6</major-version>
         <minor-version>40</minor-version>
         <micro-version>0</micro-version>
         <provider-name>
          sap.com
        </provider-name>
         <references>
              <reference
                   provider-name="sap.com"
                   strength="weak"
                   type="library">Your_Lib_Name</reference>
         </references>
         <jars>
              <jar-name>my_jar.jar</jar-name>
         </jars>
    </provider-descriptor>

  • How to add a jar file in the visual Age classpath

    I have to import a jar file in visual Age workspace, and don't know hox to do
    I tried several things, but didn't succeded at this point.
    I need to succed until tomorrow for completing my work.
    Please help, thanks.

    Pls do the foll actions:
    Step 1:
    File -> Import -> Selct radiobutton - "Jar file" -> Next
    -> Select the file name(ur jar file) - > click on the java button and ensure that u have selected all the file or what evre files u want " -> Finish
    If at all u r not getting any errors but the files are not apperaring in ur Project means go to
    Step 2:
    From the work bench click
    Window -> Reposiroy Explorer -> Select the Project,edition,package or type and right click and from the pop up menu click "Add to Workspace"
    This 'd work
    All the best for a successful completion of ur work
    Pramod

  • How to call external jar files in EJB project for CE

    Hi,
    I would be thankful if someone could help me with this -
    I need to call the external jar files into my EJB project - Here is what I have done and am getting runtime exception as  -
    java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/glance/pdf/pt/PTDoc
    1. Created a EJB  project" HelloWorld "  using Java perspective in NWDS 7.1 called with client as HelloWorldClient and EAR project as HelloWorldEAR.
    2. Am working on HelloWorld project (1st one).
    3. In my code I am instantiating a class which is a class in one of  the external jar file that I need to refer in my project.
    4. I have set the Java Build path but it works only for the compile time and fails during runtime.
    5. Have read I need to create external library DC and refer in my project "HelloWorld".
    Can anyone help me with exact steps what needs to be done - during creation of external library project and then for my "HelloWorld" EJB project. How would I be able to reference or set the external library project in my EJB project?
    Looking forward to hear from experts.
    Thanks,
    Shiv
    Edited by: Shiv Khullar on Aug 30, 2010 9:39 PM

    Hi Edson,
    I tried it , but it still gives me runtime exception.
    javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/glance/pdf/pt/PTDoc
    java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/glance/pdf/pt/PTDoc
    Steps I performed are -
    1. Created a library project and created 2 Public parts "Compilation" and "Assembly"
    2. Build the library project.
    Now in my EJB project using Project Explorer - set the classpath and added both compilation jar and assembly jar files.
    This is how the classpath entries for external library looks like -
    <classpathentry kind="lib" path="/LocalDevelopmentLocalDevelopmentexternallibrarypdftoolsforwatermarkingdemo.sap.com/gen/default/public/WatermarkAssembly/lib/java/demo.sap.comexternallibrarypdftoolsforwatermarking~WatermarkAssembly.jar"/>
         <classpathentry kind="lib" path="/LocalDevelopmentLocalDevelopmentexternallibrarypdftoolsforwatermarkingdemo.sap.com/gen/default/public/WatermarkCompilation/lib/java/demo.sap.comexternallibrarypdftoolsforwatermarking~WatermarkCompilation.jar"/>
    I have also added the jar files I used in my external library project as "User Library" from Java Build Path . I dont do it , then the code fails during compilation itself.
    Regards,
    Shiv

  • How do I add an existing file to a project?

    To add an existing files to a project in JDeveloper 9.0.5.2 I use File/Import and select "Existing Sources". In Jdeveloper 10.1.3.0.2 the "Existing Sources" option was substituted by "Create Project from Existing Source". The documentation topic in 10.1.3 “Adding Existing Files to an Existing Project Using the Add Files or Directories Dialog” indicates File/Open and use a “Add Files or Directories dialog” that I can not find.
    How do I add an existing file to a project?

    To add an existing files to a project in JDeveloper
    9.0.5.2 I use File/Import and select "Existing
    Sources". In Jdeveloper 10.1.3.0.2 the "Existing
    Sources" option was substituted by "Create Project
    from Existing Source". The documentation topic in
    10.1.3 “Adding Existing Files to an Existing
    Project Using the Add Files or Directories Dialog”
    indicates File/Open and use a “Add Files or
    Directories dialog” that I can not find.
    How do I add an existing file to a project?Right now you just need to copy the file into the sourcepath of your project, going forward we're going to provide some easier way to do this.
    i.e. you can use the windows explorer to copy C:\src\com\acme\MyClass.java to C:\jdev\mywork\Application1\Project1\src\com\acme\MyClass.java
    Hope this helps,
    Rob
    Team JDev

  • How to add jar files to a project?

    What is the correct way to add jar files to a project?
    Jdev Help has an entry "Adding Files to a Project Using the Add Files or Directories Dialog", but when I goto File->Open as it says, there is no "Add Files or Directories" dialog.
    Using JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660 on Linux.

    That's not quite what I need, as it does not copy the files into the project, but just creates references to their original location in the filesystem. We want local copies so we can check the whole project into Subversion and not have external dependencies.
    Should I just copy the files manually (outside of Jdeveloper)? And what directory should I copy to?
    Thanks.

  • How to add .jar files in my project

    Hi all,
    i am designing a application where i want to translate some words of my web page to different language
    say, i want "search" word to be translated to french language
    i have got some .jar files google-api-translate-java-0.4.jar to do this work...
    can anyone tell in which folder to put .jar files ,so that it works in my project..
    i am using Eclipse SDK 3.3
    Thanks

    how to add .jar files in my project In your eclipse goto,
    Project --> Properties --> Java Buil Path --> Add External Jar
    By that u can select your JAR and click OK..........

  • How to add one poi jar file into webdynpro project

    Hi all:
        We would like to add one poi jar file into one webdynpro project, however, what should we do ?
        Its one external 3rd party jar file.

    Hi,
    To add a jar file you need to have an external library DC.
    Hope the below link will help you:
    [http://help.sap.com/saphelp_nw70/helpdata/en/46/3ce3e4df201d63e10000000a11466f/frameset.htm]
    thanks & regards,
    Manoj

  • How to load a Jar file in the class path?

    How to load a Jar file which contains class files, images, etc.. in the classpath without using URLClassLoader.

    You don't "load" jars. If it's on the classpath, you can obtain individual resources from it using various methods on either Class or ClassLoader. Do you mean "how to add a jar to the classpath at runtime"? Can't be done without using a classloader, typically URLClassLoader or a subclass thereof. Why you want to not use the proven method is beyond me. Presumably because you don't understand classloading. In which case, forget it.

  • How to refer a .jar file in the code.

    How to refer a .jar file in the code.
    I want to use a library dnsjava.jar, which I download from the internet. I want to know how to refer it
         If I am compiling the code on Solaris
         If I compiling the code on windows using eclipse.
    I added the following line in my code to refer to this library. But it always complains of not found the class
    import org.xbill.DNS.*;
    I tried the following to add this library but did not work
    On eclipse/windows: Went to window-> preferences -> BuildPath _> class path Variable.
    On Solaris: Could not add this library /opt/java_reference/v1.6.0_04/jre/lib. Although I am logged in as root, but not able to add the library there. Complains of Permission denied.

    Set the classpath option when compiling.
    javac -classpath /path/to/lib/dnsjava.jar YourProgram.java
    I don't use Eclipse, but it probably has a library list on your project preferences. Add it there.
    Regards,
    Henrique Abreu

  • How to include an external jar file in .EAR project

    Hello All,
    I have created a web service through java class in sap netweaver 7.1.
    For database connection i want to add external jar file as reference. could you all please tell me how to do this or can i get some scenario where it is explained.
    Please Help
    Regards,
    Vanita Jain

    Hi Vanita,
    open your project in nwds > right click on the project > click on properties option from the menu > click on java build path from the left-side navigation of the window > and click on libraries in the right side tab > here you'll get a button called add external jars > clicking to this, will open browser window to select a jar file.
    Regards,
    Sen

Maybe you are looking for

  • If Component Cables don't work then what will?

    I'm trying to get my iPad to output slideshow/videos/Youtube/anything to my older TV using Apple component cables. The TV image appears scrambled/vertically mirrored for a millisecond or so and then nothing. Audio is perfect. Have tried various cable

  • Shared Document Root & Multiple Mail Spooling Issue

    I've shared my document root ( as per these instructions) accross 7 JRun instances, but now any email sent from 1 of them gets sent 7 times. Seems what's happening is that the mail spool is getting shared accross all instances, but all instances are

  • Major Problems with Captivate 5.5 and Connect Pro

    I have a bunch of quizes that have 30 random question slides. Each slide pulls from various question pools. All of these quizes where created in Capitivate 5 and converted to Captivate 5.5. My problem is that Captivate 5.5 is corrupting my quizes and

  • How to close outbound delivery ?

    Hello SAP Gurus, My client has two plants in US and CANADA. They received US shipment from one state but the Candian inbound deliveries were not generated in SAP. We have US out bound delivery numbers. Now they need to automated or someone has to clo

  • WPAD:80....??? What's that about???

    My ipad was working fine this morning and then all of a sudden starts asking for a wpad:80 user name and password..... tried normal Apple ID and nothing clears it. Won't let me connect to the internet.... Also when I try and access TV content via Vid