Is it possible to add other java packages to JDeveloper?

I am running JDeveloper 9.0.3 and Java SDK 1.4.2.
I have downloaded the Java Web Services Development Pack (JWSDP) from Sun, and some of the java source files contain import statements for packages that do not exist in my SDK. For example
import javax.xml.soap.*
These packages are contained within jar files that come with the JWSDP install. Is there anyway to import these packages into JDeveloper so that it can compile the source files?
Thanks
Paul

Create a new library which will the jar files from JWSDP and add the library to the project.
Project | Project properties
Select Libraries
Click New
Enter library name (something like JWSDP)
In the classpath add the jar files
CLick ok
Add the new library to selected list
raghu
JDev Team

Similar Messages

  • Is it possible to add other templates to the print module?

    If so, how? And is it possible to make a "package." In other words a template with multiple pages.
    For instance drop in one image and have it auto populate say 1 8x10 2 5x7 4 4x6 and 16 wallets on 81/2" x 11" sheets.
    Would be really great if you didn't have to leave Lightroom to print basic school packages.
    Thanks,
    Drew

    Thanks for the info. Just wanted to make sure I wasn't missing something.
    It would work for me if it didn't mix and match on a page. But, it would need to be able to have a "package" of multiple pages. Just something basic. Not looking for a full fledged program or rip.

  • Where should i add the java packages class path in the ORACLEJDeveloper 10g

    Hello friends,
    I have created a BPEL Program using java embedding activity.
    In it i have added some java code.
    I want to attach path of some java class packages.
    So can any one tell me solution for this.
    Thanks and regards.
    Ram Krishna Tripathi
    [email protected]

    Hello friends,
    I have made a Bpel program in oracle process manager 10.1.2 . using java
    embedding activity.
    (i) I have put the java class files in BPEL-INF /classes folder and
    SYSTEM/classes folder but still compiler is giving error that classes
    couldnot be found.
    I have set the class path in Project -> properties
    So please tell me what could be solution for this problem..
    (ii) Can the import package statements can be written in BPEL program in the
    java embedding activity ?
    Thanks and regards
    Ram Krishna Tripathi
    [email protected]

  • Is it possible to add priority to packages?

    Say, if I wanted to ensure that updates to package A where applied before updates to B are applied, would this be possible with pacman?

    ball wrote:
    Citing Allan McRae
    [...] a feature of pacman called SyncFirst that is removed for the upcoming pacman-4.1 [...]
    (Source: http://allanmcrae.com/2012/12/battle-of … spin-offs/ )
    I don't think one should rely on SyncFirst...
    Allan broke it?

  • Is it possible to use Microsoft's Java Packages in Forte4Java/JBuilder?

    Dear all,
    I am wondering whether it is possible to use those java packages installed by MS Visual J++ in Sun's Forte4Java or Borland's JBuilder? I found one of the java packages of Microsoft -- com.ms.com.* quite useful for calling ActiveX Components in java code and I have succeeded in calling my DLL COM under Visual J++ with the help of com.ms.com.Dispatch. But I have to use Forte4Java to write my Java program, therefore, it will be great if I can still use com.ms.com.* under Forte4Java. Is it possible? If so, how to do it? Please advise and thanks in advance...
    Tracy

    You can use any java package if you just add it to the classpath. In Forte this means adding it to the explorer pane, I am not sure about Builder.
    The problem will be when you try to run it. Any Microsoft class which uses some part of their runtime will require the Microsoft VM. If you have that, and are willing to be permenantly tied to it, then you will be in business.

  • JAVA PACKAGES and JSP

    i Have two problems one is i am designing a website which consists of a form. I am trying to write the Connectiviy and all other insert statements in seperate java packages and include them in JSP files.
    i Have two java packages one is DBUtil(having two java files both dealing with connectovity) and another one is StudentUtIl which has java files that open the connections with database connection and insert data into DB., I am having a big Problem here. How can i call the function in the other java package in the files in this java package. i have openDB()and Close() in the other Db and i want to call these functions in JAVA classes in the other package. How to include a package. Both these packages are in the same File system mounted on a Local directory

    Thank you for the reply. I am giving the code i have given the full class name . and now it is giving the following error :
    Cannot reference a non-static method connectDB() in a static context.
    I am also giving the code. Please do help me on this. i am a beginner in java.
    import java.sql.*;
    import java.util.*;
    import DButil.*;
    public class StudentManager {
    /** Creates a new instance of StudentManager */
    public StudentManager() {
    Connection conn = null;
    Statement cs = null;
    public Vector getStudent(){
    try{
    dbutil.connectDB();
    String Query = "Select St_Record, St_L_Name, St_F_Name, St_Major, St_Email_Address, St_SSN, Date, St_Company, St_Designation";
    cs = conn.createStatement();
    java.sql.ResultSet rs = cs.executeQuery(Query);
    Vector Studentvector = new Vector();
    while(rs.next()){
    Studentinfo Student = new Studentinfo();
    Student.setSt_Record(rs.getInt("St_Record"));
    Student.setSt_L_Name(rs.getString("St_L_Name"));
    Student.setSt_F_Name(rs.getString("St_F_Name"));
    Student.setSt_Major(rs.getString("St_Major"));
    Student.setSt_Email_Address(rs.getString("St_Email_Address"));
    Student.setSt_Company(rs.getString("St_Company"));
    Student.setSt_Designation(rs.getString("St_Designation"));
    Student.setDate(rs.getInt("Date"));
    Studentvector.add(Student);
    if( cs != null)
    cs.close();
    if( conn != null && !conn.isClosed())
    conn.close();
    return Studentvector;
    }catch(Exception ignore){
    return null;
    }finally {
    dbutil.closeDB();
    import java.sql.*;
    import java.util.*;
    public class dbutil {
    /** Creates a new instance of dbutil */
    public dbutil() {
    Connection conn;
    public void connectDB(){
    conn = ConnectionManager.getConnection();
    public void closeDB(){
    try{
    if(conn != null && !conn.isClosed())
    conn.close();
    }catch(Exception excep){
    The main error is occuring at the following lines connectDB() and closeDB() in the class student manager. The class dbutil is in an another package.with an another file called connectionManager which establishes the connection with DB. The dbutil has the openconnection and close connection methods. I have not yet written the insert statements in StudentManager. PLease do Help me

  • Can I add a JAVA sneak preview to my installed ABAP trial version

    Hello experts,
    I have installed the ABAP sneak preview 7.01 and I need to install an SLD to it so i can register my ABAP stack to another SLD.
    As i know i have to install the JAVA stack first before intalling SLD, it that right?
    Is that possible to add a JAVA stack to my ABAP trial version? i can not find a JAVA sneak preview download in SDN..
    Thanks a lot!
    Best regards, Charlie

    Hi Charlie,
    It does say that you shouldn't have another SAP system installed but you can definately install two systems without a problem.
    Sapinst should do it for you but make sure that you have different instance numbers and ports selected  during the start of the install.
    Gingle explains the process well here:
    /people/glen.spalding/blog/2010/06/20/the-full-monty--part-9--the-ce2-install
    Cheers
    Phillip

  • Java packages ASAP

    how do I add a java package so that when I do javac from any directory it can use the java package? Please help.

    I think the answer is in the CLASSPATH environment variable.
    If you use a win32 system you should add the path of the class to the CLASSPATH variable
    Addition is done by putting a ';' and appending the path to the directory.
    Hope this helps.

  • Possible to add maps to iMovie'11?

    I would like more maps in iMovie. Is it possible to add others taken from scanned images, or other sources such as Google Maps?

    rebbit wrote:
    Is it possible to triple layer in iMovie '11?
    short: no
    long: yes
    prep layer#1+#2 in a project, export, re-import into 2nd project, add layer #3

  • Possible to check in Java, if if a package is already in the jar-Cache?

    I have an applet, that has only one main.jar in the Cache-Archive parameter.
    Because I wanted to reduce the preload-Time, since 1.4.0 I use an index.list file, listing
    the rest of jar-Files needed for my applet. So the jar-Files will be only
    downloaded to the time, they are needed, if they aren't already in the jar-cache.
    The Problem: If the applet needs a new jar-File, that isn't in the jar-Cache, it needs
    time to download the package. But the user doesn't see that something happens.
    Is it possible to check with JAVA in the applet, if a package is already in the jar-Cache?
    If i know this, I'll be able to show the user that the applet is currently downloading a package.

    do u mean a file in the JAR?
    if yes, yes u can check that.
    check this,
        public ImageIcon loadImage(String location)
    java.net.URL url =  null;
    url = getClass().getResource(location);
    if (url == null) then ...
        } 

  • Is it possible to add a user in Win NT using Java?

    Hi,
    Is it possible to add a new user to Win NT using Java, assuming that the user running the application is an administrator?
    If it can't be done in Java, can anyone point me in the right direction to research this?
    I appreciate your help.
    Regards,
    Liam.

    Okay, I might have a solution already.
    I'm going to try using JIntegra from www.linar.com as a COM bridge, to access the Win32 API function NetAddUser.
    Regards,
    Liam.

  • In contacts there is the possibility to add a new event, as the birthdays, but they do not appear in iCal. Is there any way to make that possible? It is normal to have a person with his birthday, anniversary and others key dates you want to link to him.

    In contacts there is the possibility to add a new event, as the birthdays, but they do not appear in iCal. Is there any way to make that possible? It is normal to have a person with his birthday, anniversary and others key dates you want to link to such person, but the only one shows up is the birthday. How to be able to show all those dates linked to people in the agenda in the iCal?
    Thanks

    Hi,
    I sugggest you try my application, Dates to iCal. It is shareware with a 2 week trial period.
    Dates to iCal 2 is a replacement for Apple's birthday calendar for iCal. It has a range of features to allow the user to choose what, and what not, to sync to iCal from Address Book.
    As well as automatically syncing birthday dates from Address Book, Dates to iCal 2 can sync anniversary and custom dates. It can set up to five alarms for each date in iCal and can also set different alarms for birthdays and anniversaries. It allows the option of only syncing from one Address Book group. This application also allows for the titles of the events sent to iCal to be modified to the user's preference.
    Best wishes
    John M
    As I sell software on my site and ask for donations, the Apple Support Communities Use Agreement requires that I state that I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • How to import java package in form 10g

    hello
    i have make a java package but its not looking so far possible to include it in java import list, how i can import it in form 10 g

    hi,
    if classpath does not work you can try to add your jar file at this registry key :
    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_DevSuiteHome\FORMS_BUILDER_CLASSPATH
    Engin.

  • Java Package count files

    Hi,
    I have a java package which contains several java classes.
    Package name Util
    Contains lets say 3 Classes but further classes could be added in the future. I need to know how many classes are in this package.
    So im wondering is it possible to a count of the number of classes/files in a package and save this to a variable.

    So im wondering is it possible to a count of the
    number of classes/files in a package and savethis
    to
    a variable.NoWell not easily anyway. You could count the number of
    class files in a given directory or something.
    @lunny,
    I can think of no reason why this would be something
    you would want to do. Could you please give more
    information on why you think this is something you
    want/need to do?Ofcourse.
    I am writing a program that has a different class file for every year so runs different for every year.
    At the start of the program there is a drop down box listing the different years. For every year there is a respective class File. At the moment there is 3 class files / 3 years. Lets say I decided to add another one. I would have to add my 4th class file to my java package but also change my form to display 4 years.
    What I would like to do is before i display the form is pick up the number of java files in package (which would tell me the number of years) and then I can use this to display X number of options in form.

  • How do we create self-signed certificate using java packages

    Hi All,
    I require some information on creating self-signed certificate using java packages.
    The java.security.cert.* package allows you to read Certificates from an existing store or a file etc. but there is no way to generate one afresh. See CertificateFactory and Certificate classes. Even after loading a certificate you cannot regenerate some of its fields to embed the new public key – and hence regenerate the fingerprints etc. – and mention a new DN. Essentially, I see no way from java to self-sign a certificate that embeds a public key that I have already generated.
    I want to do the equivalent of ‘keytool –selfcert’ from java code. Please note that I am not trying to do this by using the keytool command line option – it is always a bad choice to execute external process from the java code – but if no other ways are found then I have to fall back on it.
    Regards,
    Chandra

    I require some information on creating self-signed certificate using java packages. Its not possible because JCE/JCA doesn't have implementation of X509Certificate. For that you have to use any other JCE Provider e.g. BouncyCastle, IAIK, Assembla and etc.
    I'm giving you sample code for producing self-signed certificate using IAIK JCE. Note that IAIK JCE is not free. But you can use BouncyCastle its open source and free.
    **Generating and Initialising the Public and Private Keys*/
      public KeyPair generateKeys() throws Exception
          //1 - Key Pair Generated [Public and Private Key]
          m_objkeypairgen = KeyPairGenerator.getInstance("RSA");
          m_objkeypair = m_objkeypairgen.generateKeyPair();
          System.out.println("Key Pair Generated....");
          //Returns Both Keys [Public and Private]*/
          return m_objkeypair;
    /**Generating and Initialising the Self Signed Certificate*/
      public X509Certificate generateSSCert() throws Exception
        //Creates Instance of X509 Certificate
        m_objX509 = new X509Certificate();
        //Creatting Calender Instance
        GregorianCalendar obj_date = new GregorianCalendar();
        Name obj_issuer = new Name();
        obj_issuer.addRDN(ObjectID.country, "CountryName");
        obj_issuer.addRDN(ObjectID.organization ,"CompanyName");
        obj_issuer.addRDN(ObjectID.organizationalUnit ,"Deptt");
        obj_issuer.addRDN(ObjectID.commonName ,"Valid CA Name");
        //Self Signed Certificate
        m_objX509.setIssuerDN(obj_issuer); // Sets Issuer Info:
        m_objX509.setSubjectDN(obj_issuer); // Sets Subjects Info:
        m_objX509.setSerialNumber(BigInteger.valueOf(0x1234L));
        m_objX509.setPublicKey(m_objkeypair.getPublic());// Sets Public Key
        m_objX509.setValidNotBefore(obj_date.getTime()); //Sets Starting Date
        obj_date.add(Calendar.MONTH, 6); //Extending the Date [Cert Validation Period (6-Months)]
        m_objX509.setValidNotAfter(obj_date.getTime()); //Sets Ending Date [Expiration Date]
        //Signing Certificate With SHA-1 and RSA
        m_objX509.sign(AlgorithmID.sha1WithRSAEncryption, m_objkeypair.getPrivate()); // JCE doesn't have that specific implementation so that why we need any //other provider e.g. BouncyCastle, IAIK and etc.
        System.out.println("Start Certificate....................................");
        System.out.println(m_objX509.toString());
        System.out.println("End Certificate......................................");
        //Returns Self Signed Certificate.
        return m_objX509;
      //****************************************************************

Maybe you are looking for

  • CPALookupException while sending a Test message to Adapter engine

    Hello Experts, I am getting following exception while sending a test message to Adapter engine through Runtime Workbench. Error while sending message: com.sap.engine.interfaces.messaging.api.exception.ConfigException: ConfigException in XI protocol h

  • AE CC 2014 and OSX 10.7.5?

    I see the system requirements call for 10.8 or 10.9 - is anyone using AE CC 2014 with 10.7.X? I have a lot of ProTools work to wrap up this year before I update my OS (which will require new protools version and a new interface, pricey!) I have an SS

  • No music in ipod, but says there is!?

    when i was updating my ipod and charged it i disconnected it and left it alone then i wantd to listen to it and nothing was on it. then when i plugged it in my computer it said i have no space on my i-pod but nothing was on it. i cant figure it out s

  • BC4J Application Module Pooling for JClient App

    Helo, i wonder why all documentation about bc4j application module pooling available is for Web app ? (jsp) . I'm creating swing JClient app and i need some doc about how the application module pooling works in this kind of application. anybody know

  • Upgraded to iPhoto 6/iLife and cannot access my iPhoto Library - help!!!

    I upgraded to iPhoto 6 tonight and ran sofware update so I was sure to have the latest version. Went to open it and it said I needed to upgrade my Library. So I start the upgrade of the library and it goes all the way through till it gets to "examini