How to set JDeveloper to find javax packages

I need to import javax.naming and javax.packages in my code. These are available in j2ee.jar (provided by sun). I placed this jar in JDeveloper/lib directory and added this library to my default project properties. But I receive an error message saying that the classes are not found.
How do we use Sun's packages in JDeveloper
Thanks in advance
Mita

In general, this should work. You say, though, that you added the libraries to the Default Project Properties? The default project properties are only used when you create a new project. Make sure that the libraries are accessible to your current project as well.
-- Brian

Similar Messages

  • How to set JDeveloper JVM version

    Can you please let me know how to set JDeveloper JVM version?

    I'm going to assume you mean you want to "compile against"?
    in menu ->Application->progject properties -> Compiler->use custom settings->customer setting->change JDK Version Compatability by selecting the source and class files to be used and generated respectively.
    use "Helpful" or "Correct" to give points, else let us know you need some more help

  • How to set request number of info package using start routine

    Hi All,
    I have a specific requirement in which I need to upload only selective request nos from PSA to DSO.
    Any one can suggest how to set request number of info package using start routine or any other mode so that only selective request should proceed using DTP?
    Thanks
    Sangita

    You'll probably want to do this in a start routine.  It is probably not advisable to hard-code the technical name of the InfoPak.  They seem to remain the same upon transport, unlike DTP technical names which are locally generated.
    I would do a SQL select like this in a start routine, and then filter based on the results of the SQL.  You'll probably want to sort the results by date and time, both descending.  Or do a MAX in the SQL.
    Please let me know if this isn't clear.
    select q~rnr q~logdpid q~tdatum q~tuzeit
    from rsreqdone as q
      inner join rsldpio as p
        on p~logdpid = q~logdpid
    where p~objvers = 'A'
    and p~logdpid like 'ZPAK%'
    and p~source = 'your data source'

  • What is an smpt password?  I have problems sending photos using the stamp at the bottom because it asks for some smpt password and I have no clue to find out what it is, how to set one of find one if I somehow put one in and don't know what it it.

    what is an smpt password?  I have problems sending photos using the stamp at the bottom because it asks for some smpt password and I have no clue to find out what it is, how to set one of find one if I somehow put one in and don't know what it it.

    It's the password for your outgoing mail in your Mail account. You need to set it up in your Preferences.
    Regards
    TD

  • Finding javax package with javac

    Hi
    I have just installed j2sdk1.4.0_03 and Tomcat 4.1, using it as a JSP/servlet loocalhost. The installation wooks fine but when I try to compile with javac, the javax package can�t be found.
    This is the change I have made to autoexec.bat �
    set PATH=%PATH%;C:\j2sdk1.4.0_03\bin
    set CLASSPATH=.;C:\j2sdk1.4.0_03\src.zip
    Obviously the javax package is not included in src.zip but when I use, for example page import javax.servlet.* in a jsp-file that is compiled by Tomcat, it is found.
    So, how do I get javac to find the javax package?
    Thanks in advance / regards pg

    to run servlets you need to add the servlet.jar in your classpath. servlet.jar comes with most servlet runners like tomcat.

  • Where to find javax package??

    I got a javax package which holds only servlet package and now i need ejb which not there in my package..Please tell me where the javax whole package ????

    You can find the complete set of classes bundled with one of the jars provided by your Application Server. It's weblogic.jar in case you're having Weblogic App Server, jboss-j2ee.jar if you have JBoss on your box as the App Server and so on.
    cheers,
    fun_one

  • How to set classpath to use imported packages?

    Hi all,
    a real newbie question:
    I have created a class in which i import the java.io package. I can compile this class with the Oracle JDeveloper IDE (this is a variation on JBuilder).
    The problem is that i can't run this class because (most probably) the java.io package is not in the class path.
    Which jar file should i include in my classpath?
    jdk1.3\src.jar
    or jdk1.3\lib\tools.jar
    or jdk1.3\lib\dt.jar
    or ...
    Where can i find information on this? How can i find structure in the jungle of classes and packages?
    thanks, Bart

    If you want to execute this class file there are two ways you can do this:
    First set your environment PATH:
    Second you can explicitly state the classpath: for example
    change to the directory with the class file:
    cd c:\progra~1\Oracle\JDEVEL~1.0\MYCLAS~1
    while in the directory type
    java -classpath c:\progra~1\Oracle\JDEVEL~1.0\MYCLAS~1 HelloWorld
    Hope this helps.

  • Help: Forte on Windows, cant find javax packages

    Forte integration was working fine for me yesterday, and after uninstalling and re-installing (to fix another problem), I now get the following error:
    Test/TestApp.java [9:1] package javax.microedition.midlet does not exist
    import javax.microedition.midlet.*;
    ^
    Any ideas what went wrong? Where does Forte look for the classpath? I have a CLASSPATH environment variable set, is it using this, or is there an app-specific configuration it looks for? Forte 3, JDK 1.3.1, J2MEWTK 1.0.3.
    Thx,
    Fred

    [HypnosFred],
    Did you re-install the J2ME Wireless Toolkit 1.0.3 BETA as well after your re-installation of Forte for Java 3.0?
    This is because the installation process of the J2ME Wireless Toolkit 1.0.3 BETA software will prompt the user if he/she wants to integrate to Forte for Java or not. If you choose to integrate the J2ME WTK to Forte for Java, it will place classpath settings, etc, etc, etc on the configuration files of Forte for Java 3.0.
    Let us know if you still have problems and get the error messages.
    HTH.
    Allen Lai
    Developer Technical Support
    SUN Microsystems
    http://www.sun.com/developers/support/

  • How to set Tomcat's JSP compilation package

    Is it possible to configure what root package name Tomcat uses when creating .java files from JSPs? I've searched Google, this forum, and the Tomcat JSP documentation (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html) and cannot find any indication that it is. I found the description of all the JSP compiler servlet options, both in web.xml and on the Jakarta site, but it doesn't list any option for this. I know it's possible with Ant's JSPC task, so it's tempting to think the same can be done with Jasper, but maybe not.

    You're running Jasper by running "jspc.bat" (or "jspc.sh") from Tomcat's bin directory, yes?
    If so, it's
    jspc.bar -p <package> ...
    Usage: jspc <options> [--] <jsp files>
    where jsp files is any number of:
        <file>         A file to be parsed as a jsp page
        -webapp <dir>  A directory containing a web-app, all jsp pages
                       will recursivly be parsed
    where options include:
        -q          Quite mode (same as -v0)
        -v[#]       Verbose mode (optional number is level, default is 2)
        -d <dir>    Output Directory
        -dd <dir>   Literal Output Directory.  (package dirs will not be made)
        -l          Outputs the name of the JSP page upon failure
        -s          Outputs the name of the JSP page upon success
        -p <name>   Name of target package
        -c <name>   Name of target class name
                    (only applies to first JSP page)
        -mapped     Generate separate write() calls for each HTML line in the JSP
        -die[#]     Generate an error return code (#) on fatal errors.
                    If the number is absent or unparsable it defaults to 1.
        -uribase <dir>  The uri directory compilations shoule be relative to
                        (Default is "/")
        -uriroot <dir>  The root directory that uri files should be resolved
                        against, (Default is the directory jspc is invoked from)
        -webinc <file>  Creates partial servlet mapings for the -webapp option
        -webxml <file>  Creates a complete web.xml when using the -webapp option.
        -ieplugin <clsid>  Java Plugin classid for Internet Explorer
        -sax2 <driverclassname>  Driver class name for the SAX 2.0 parser to be used

  • [SOLVED] How to set the packager name for an AUR package?

    Hi,
       I'm maintaining an AUR package (fspcc), but I don't know how to set the name of the "packager" for that package.
    E.g. when you request info about some package
        $ pacman -Qi somepkg
    there is a line
        Packager: Unknown Packager
    that specifies the packager.
    How do I set this "Packager" info so that any user installing my package will see what I want?
    Last edited by lisztinf (2014-04-13 13:39:43)

    Thanks for the answer.
    I guess that when I run
       $ makepkg
    in my local build directory, then "mkpkg" will build a package with the "Packager" info set accordingly to my local makepkg.conf.
    However, I would like another user - with his own makepkg.conf - to see what I want when installing the package. How can I achieve this?
    If I install an official package - say pacman itself - through ABS, I see the "Packager" field properly set for that official package. But certainly this info doesn't come from my local makepkg.conf. I would like the same behaviour for my package. Is it possible?

  • How do i know if my macbook was set up with 'find my mac' if i do not have the laptop?

    my macbook was stolen and i am not sure whether 'find my mac' was set up on it. i went to the apple store and had lessons multiple times that i had paid for - i was told by the police that this might have been set up for me, but i do not remember.
    thanks!

    It was not. You have to do that yourself.
    What To Do If Your iDevice Is Lost Or Stolen
    What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
    If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
    This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T. Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. What to do if your iOS device is lost or stolen
      6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      7. Find My iPhone
      8. Report Stolen iPad | Stolen Lost Found Online
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on iCloud
      3. OS X Lion/Mountain Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)

  • HT204053 how to set up Find my Iphone on my Apple Mac 10.6

    How to set up find my iphone on my apple mac 10.6 ?
    application has been downloaded on my iphone

    What To Do If Your iDevice or Computer Is Lost Or Stolen
    If your Mac, iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should do in advance - before you lose it or it's stolen - and some things to do after the fact. Here are some suggestions:
    Reporting a lost or stolen Apple product
    AT&T, Sprint, and Verizon can block stolen phones/tablets
    What-To-Do-When-Iphone-Is-Stolen
    Lost or Stolen iPhone? Here’s What to do.
    6 Ways to Track and Recover Your Lost/Stolen iPhone
    Find My iPhone
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
    Find My iPhone
    Setup your iDevice on MobileMe
    OS X Lion- About Find My Mac
    How To Set Up Free Find Your iPhone (Even on Unsupported Devices)
    Third-party solutions for computers:
    VUWER 1.5.4
    Sneaky ******* 0.2.0
    Undercover 4.7
    LoJack for Laptops Premium Mac
    STEM 2.1
    MacPhoneHome 3.5

  • How do I begin to find lost iPod.  I need instructions.  I have the boxx with serial numbers

    How do I find lost iPod.  I have the app installed on iPod and have the box with serial numbers.

    What To Do If Your iDevice or Computer Is Lost Or Stolen
    If your Mac, iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should do in advance - before you lose it or it's stolen - and some things to do after the fact. Here are some suggestions:
    Reporting a lost or stolen Apple product
    AT&T, Sprint, and Verizon can block stolen phones/tablets
    What-To-Do-When-Iphone-Is-Stolen
    Lost or Stolen iPhone? Here’s What to do.
    6 Ways to Track and Recover Your Lost/Stolen iPhone
    Find My iPhone
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
    Find My iPhone
    Setup your iDevice on MobileMe
    OS X Lion- About Find My Mac
    How To Set Up Free Find Your iPhone (Even on Unsupported Devices)
    Third-party solutions for computers:
    VUWER 1.5.4
    Sneaky ******* 0.2.0
    Undercover 4.7
    LoJack for Laptops Premium Mac
    STEM 2.1
    MacPhoneHome 3.5

  • Getting javac to find javax.servlet package

    Hey all. I'm trying to get Servlets to run on my computer. I'm using jdk1.4, it didn't have the javax.servlet package to start off with. I downloaded jsdk2.0, which includes the javax.servlet package. I can't get the javac compiler to find these classes no matter what I do, I copied the entire javax/servlet folder into the jdk1.4/src.zip file that seemed to have all the other import files, I copied the jsdk.jar file into jdk1.4/lib/ folder, that didn't work either. In my batch file that sets the path for jdk, I added set classpath = c:\jsdk2.0\lib\jsdk.jar and that didn't work. I really can't seem to get javac to find these classes. Any help is greatly appreciated!

    The above advice is incorrect and can lead you to many problems.
    You should have nothing in your CLASSPATH environment variable immediately after installing J2SDK 1.4.1.
    You then have to install the Servlet API by pointing your CLASSPATH env. var. to it. To do this depends on the version of the Servlet spec. that you have as some of the olders ones were distributed as jar files, and the latest I believe is a set of classes to be extracted.
    At the end of the day, you must point your CLASSPATH to the Servlet API. Read up on how to set the CLASSPATH. Also, don't forget to include the current working directory (.) in your CLASSPATH after manually setting it.
    Good luck !!
    Tony Morris
    Software Engineer, IBM
    Gold Coast, Australia

  • How can I use the find button in Edit ADF Table in JDeveloper 10.1.3

    Hi all,
    in JDeveloper 10.1.3
    How can I make the find button work in
    the same Edit ADF Table without adding new view ?
    thanks

    Hi there,
    it depends on what you mean by adding a new view object. You[b] don't have to create a new viewobject. You do have to add a second instance of your existing view object to your page.
    Form scratch works more or less like this. Drop your view object as ADF table on the form. Add the find and execute operations. Drop the same view object on your form but now as ADF search form. Place the fields form the search form in the corresponding columns next to the existing fields. For each #{row} field ,and the find button, set the rendered property
    #{bindings.testUserIterator.findMode ==false}. For each inputfield, and the execute, set the rendered property #{bindings.testUserIterator.findMode ==true}.
    Now it will work.
    I hope this is what you are looking for.
    Good luck
    Luc Bors

Maybe you are looking for

  • Do you have the 'By Artist' bug on iPod Video 5G??

    Can anyone help me confirm these? The first one is so annoying, as it is effectively disabling a large number of my songs when I go to look for them by 'artist'. The second bug is just annoying! 1. iPod 5G artist listing bug Environment: Bug occurs w

  • Ipad2 not picking up emails

    I wonder if anyone can help please?  I have Ipad 2 and have been getting my emails ok, until a week or so ago.  One email address would receive emails but not my other one.  I have checked all the details in settings and they are correct.  Any ideas

  • Scammer sending messages from my account

    HI Please help How do I stop someone using my account to send SPAM. I have changed my password twice and am loathe to change my whole profile and username again. I have not had any help from the support group at SKYPE. Thanks

  • Color corrupted (Camera Raw, Bridge, Photoshop)

    This is how things look in Camera Raw (left - a cr2 file) and image viewer (right - a jpg). That means it isn't the monitor. I have tried 1) Restarting Bridge (ctrl+alt+shift and reopen and reset everything) 2) I've cleared all caches 3) resetting ev

  • 2 way replication using Oracle 10g OID

    Hi Friends, Is it possible to have 2 way replication between Oracle E-Biz R12.1.3 and Microsoft Active Directory(windows 2008 server) at the same time using Oracle 10g OID. Regards, DB