JDeveloper IDE simple setting problem

Hi,
Recently we switched to JDeveloper from Visual Cafe .I have a simple setting problem.How can I set the options so that IDE gives, the core java classes and packages,and our application classes and packeges, prompts in imports as well as in code.Where to set the options.
eg: when I write
import java. it should prompt all the pakages.
Thanks in advance.
-Gopal
null

I am not sure I understand what you are requesting, but ...
You can configure JDeveloper projects to include various libraries by default.
This is done by selecting menu Tools | Default Project Properties.../ Libraries tab.
You should define a library for your classes.
You can import any of the packages / classes from all the libraries which your project includes.
It would be incorrect for a tool to automatically add a bunch of import lines at the top of every file because each file should import what it needs and just as importantly, not import what it does not need depending on the component type (e.g. a servlet should not include javax.swing.* ).
An easy way to import elements into JDeveloper is to type in something like:
import java.
// and then type in Ctrl Space
and this launches the package browser, you can select packages or classes to import.
You can also do this at the variable declaratiton point such as typing in:
foo() {
Frame x
// Press Control Alt Space
and this will correctly change the type (Frame) to the type you select in the package browser and add the import statement.
-John
null

Similar Messages

  • JDeveloper IDE problems with google Calendar development libraries

    Hello all,
    I am using JDeveloper as an IDE for developing the google calendar events.
    I am referring the http://code.google.com/apis/calendar/data/2.0/developers_guide_java.html site.
    Instead of ANT to run the sample code, I am using JDeveloper IDE and added all required libraries from sample and source code.
    Still I am getting weird error as Error(22,29): GDataRequest$RequestType not found in enum com.google.gdata.client.Service.GDataRequest.RequestType in class com.google.gdata.client.GoogleService in class com.google.gdata.client.calendar.CalendarService in class project1.CalendarTest
    Code is as below
    package project1;
    import com.google.gdata.client.*;
    import com.google.gdata.client.calendar.*;
    import com.google.gdata.data.*;
    import com.google.gdata.data.acl.*;
    import com.google.gdata.data.calendar.*;
    import com.google.gdata.data.extensions.*;
    import com.google.gdata.util.*;
    import java.net.*;
    import java.io.*;
    import sample.util.*;
    public class CalendarTest {
    public static void main(String[] args) throws AuthenticationException,
    MalformedURLException,
    IOException,
    ServiceException
    CalendarService myService = new CalendarService("exampleCo-exampleApp-1.0");
    // myService.setUserCredentials("[email protected]", "pa$$word");
    // URL feedUrl;
    // CalendarFeed resultFeed = myService.getFeed(feedUrl, CalendarFeed.class);
    // feedUrl = new URL("http://www.google.com/calendar/feeds/default/allcalendars/full");
    // System.out.println("Your calendars:");
    // System.out.println();
    // for (int i = 0; i < resultFeed.getEntries().size(); i++) {
    // CalendarEntry entry = resultFeed.getEntries().get(i);
    // System.out.println("\t" + entry.getTitle().getPlainText());
    Please if somebody has already faced such problem, show me some way or give the direction.

    Problem is solved by changing jdeveloper Compilat settings.
    Checked the checkbox of 'Use Javac'.
    and then compile the project. It will get compiled.
    Thanks to Shishir Shrivastava's post
    http://www.mail-archive.com/[email protected]/msg00984.html
    -Vedika

  • JDeveloper 3.1 ocijdbc8 problem (help!)

    Hi,
    I am trying to connect to an Oracle databse via JDeveloper 3.1. When I use the menu:
    Tools->Connections->(new window) Edit -> Test connection
    I keep getting an error saying "No ocijdbc8 in java.library.path"
    I am sure this is a simple configuration problem but it just will not go away, no matter where I copy the ocijdbc8.dll file to.
    Can anybody help! I am getting desparate.
    Regards.

    install the Oracle8i client on your machine, and make sure that
    <ORACLE_HOME> is set correctly. (From The Tools->IDE Options and click on the environment TAB ) and select an ORACLE_HOME from the List Box)
    or
    Exit from JDeveloper and edit the jdeveloper.ini file which is located in
    <J Developer Home>\bin.
    Modify the entries:
    JLP=-Djava.library.path=.;%JAVA_ROOT%\bin;%JAVA_ROOT%\jre\bin
    SLP=-Dsun.boot.library.path=.;%JAVA_ROOT%\bin;%JAVA_ROOT%\jre\bin
    to include the Oracle Bin directory. For example:
    JLP=-Djava.library.path=.;%JAVA_ROOT%\bin;%JAVA_ROOT%\jre\bin;D:\ORA8i\BIN
    SLP=-Dsun.boot.library.path=.;%JAVA_ROOT%\bin;%JAVA_ROOT%\jre\bin;D:\ORA8i\BIN
    null

  • JDeveloper IDE: Developer Mode Error

    Hi All,
    I am facing an issue after launcing JDEV through /jdevbin/NT/1223_db2dbg_17007206 (JDeveloper IDE for Release 12.2.3 Dev Build 2).
    I am getting developer mode error after launcing my application. For the error to perish, we need to disable the same by :
    Go Project Properties -> Oracle Applications -> Run Options and remove OADeveloperMode from the selected list.
    However the OADeveloperMode option is not visible at project properties. Any idea on how to disable the option through any other means or any workarounds.
    The profile “FND:Developer Mode” is already set to No in site level in environment. I am still seeing the Developer Mode error in jdev.
    Thanks in advance.
    Regards,
    Arpita

    Hi Shobit,
    Error message :
    (This developer mode error is thrown instead of being registered due to the lack of the page context object.) The OA passivation framework coding standard has been violated. Web bean properties cannot be modified in the controller processFormData or processFormRequest method. Web bean properties should be modified in the processRequest method only. An attempt to modify a web bean has been made in the following call stack: java.lang.Throwable at oracle.apps.fnd.framework.OACommonUtils.getCallStack(OACommonUtils.java:822) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setAttributeValue(OAWebBeanHelper.java:1857) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setAttributeValue(OAWebBeanHelper.java:1891) at oracle.apps.fnd.framework.webui.OAWebBeanFormElementHelper.setAttributeValue(OAWebBeanFormElementHelper.java:2108) at oracle.apps.fnd.framework.webui.beans.message.OAMessageLovInputBean.setAttributeValue(OAMessageLovInputBean.java:616) at oracle.cabo.ui.beans.form.TextInputBean.setRequired(TextInputBean.java:441) at oracle.apps.po.common.webui.ClientUtil.setViewOnlyRecursiveInternal(ClientUtil.java:743) at oracle.apps.po.common.webui.ClientUtil.setViewOnlyRecursiveInternal(ClientUtil.java:864) at oracle.apps.po.common.webui.ClientUtil.setViewOnlyRecursiveInternal(ClientUtil.java:864) at oracle.apps.po.common.webui.ClientUtil.setViewOnlyRecursiveInternal(ClientUtil.java:864) at oracle.apps.po.common.webui.ClientUtil.setViewOnlyRecursiveInternal(ClientUtil.java:864) at oracle.apps.po.common.webui.ClientUtil.setViewOnlyRecursive(ClientUtil.java:704) at oracle.apps.ozf.oa.claim.webui.ClaimUpdateCO.setPageReadOnly(ClaimUpdateCO.java:425) at oracle.apps.ozf.oa.claim.webui.ClaimUpdateCO.processFormRequest(ClaimUpdateCO.java:239) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:854) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1241) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:3113) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1897) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:558) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:446) at _OA._jspService(_OA.java:72) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:662)
    This error part of the file (oracle.apps.ozf.oa.claim.webui.ClaimUpdateCO) present in the error message is an already existing code.
    Now the problem with solving this issues may end up solving many other issues. I am also not sure that my solving one part will fix it or not.
    If you can please help me with suppressing the option how we used to do that earlier via jdev, then I can move ahead with my changes and test them.
    Thanks,
    Arpita

  • Using translate function to correct character set problem....

    I have a table(TBL_STOCK) on Oracle XE.
    Rows come from sql server 2005 with a trigger on sql server table via the linked server.
    But there is a character set problem with some character like İ,Ş,Ğ.
    They change to Ý,Þ,Ð. in Oracle.
    How can i correct these ? Do you suggest the TRANSLATE function ?
    What do u think, if i create an After Insert trigger on Oracle table(TBL_STOCK) and convert these character using the Translate function when they inserted from sql server.
    Anyone have any other ideas that can be more efficient. Any thoughts appreciated.
    Thanks in advance.
    Adam
    PS:The NLS_CHARACTERSET of Oracle is AL32UTF8.

    It is sql server 2005 and Collation is SQL_Latin1_General_CP1_CI_AS

  • Installing JDeveloper IDE!!

    Hi,
    I want to install the JDeveloper IDE in our server.During the installtion of JDeveloper it is also includes a weblogic server, but i have already installed UCM with the weblogic server on that machine.
    Please advis me is it possible to install the two instance of weblogic server in the same server.
    How to install the JDeveloper on that machine?
    Weblogic Server 10.3.5
    UCM11g
    Thanks

    Hi
    It is important and make sure that you install JDeveloper in a different middleware home. Like when you install JDeveloper, at one point, it will ask to choose the existing middleware home (where you already have a weblogic + ucm) or create a New middleware home. So select NEW middleware home and give the folder some unique name and you are good to go. The weblogic server that comes with JDeveloper is a very basic simple version where you can deploy any standard J2EE apps (WebApps, EJBs, WebServices and ADF Applications also EXCEPT for SOA/BPEL apps). Also, any app you developed in this JDeveloper you can deploy to your other Weblogic Server. Since you have WLS 10.3.5, this means its preferable if you download and install JDeveloper 11.5 Version. Typically, I will have folders like this on my side:
    C:\Oracle\Middleware\Jdeveloper115 -> This folder will have JDev 11.5 version installed and internally has WLS also.
    C:\Oracle\Middleware1035 -> Will have Weblogic Server 10.3.5 installed.
    Thanks
    Ravi Jegga

  • JDeveloper IDE suddenly very slow for past two days

    Hi All,
    I have Jdeveloper 11.1.1.4 for more than a month now. Suddenly the JDeveloper IDE has become very slow. It is very annoying having to wait for the code changes to show across and windows take long to get in sync. I have 3.25 GB RAM running on XP service pack 3. Also, I scanned my machine for likely virus, but has come clean. It is only with Jdeveloper I am having problems. All other applications are running fine. I even tried just running JDeveloper alone. No luck.
    Thanks

    Suddenly the JDeveloper IDE has become very slowSeems like something changed.
    Did you install any new extensions? When is it "slow?" Is it when doing a specific activity, or just overall "slow?" What does your OS show (is JDev using lots of CPU, for example)? Have you tried making a backup of your "system11.1.1.4.37.59.23" folder (numbers may be different depending on version) and then deleting it so that JDev recreates it for you (you'll lose all of your preferences/settings)?
    John

  • JDeveloper IDE Font

    How can I make the font in the JDeveloper IDE biger? The current font is too small to deal well with it.

    Go to 'Tools' Menu and select 'Preferences' Sub menu:
    Select ''Code Editor" and select "Fonts"
    Set the options for font-size as in screenshot:
    http://adfsampleapplications.googlecode.com/svn/trunk/images/FontChange.png
    Thanks,
    Navaneeth

  • JDeveloper IDE fonts unreadable

    Hi all,
    The menu and dialog fonts in JDeveloper IDE are unreadable. They are correct but un-continuous, they are showed as a draft. This error happens with JDK 1.3.1_02 & JDK 1.3.1_08.
    Curiously, the problem is solved with JDK 1.4.1_02. But JDeveloper is unstable with this JDK version.
    Any solution or suggestion?

    Hi,
    have a look at
    C:\Documents and Settings\<user>\Application Data\JDeveloper\system11.1.1.0.18.<version>\o.jdeveloper\ide.properties
    Change the default settings and the font will change in the IDE
    Frank

  • JDeveloper Business components JSP problem!!

    Hi all,
    First of all sorry for my English language (very poor).
    My question is when I generate Business components JSP Application by JDeveloper 9i
    is running on JDeveloper(oc4j) without any problems but when I using resin server or tomcat I have this exception
    Error Message: �ApplicationModule� is an unknown tag in tag library �/webapp/DataTags.tld�.
    com.caucho.jsp.JspParseException: �ApplicationModule� is an unknown tag in tag library �/webapp/DataTags.tld�.
    at com.caucho.jsp.ParseTagManager.getTag(ParseTagManager.java:144)
    at com.caucho.jsp.java.JavaJspGenerator.getTag(JavaJspGenerator.java:1508)
    at com.caucho.jsp.java.JavaJspBuilder.startElement(JavaJspBuilder.java:199)
    at com.caucho.jsp.JspParser.parseOpenTag(JspParser.java:1204)
    at com.caucho.jsp.JspParser.parseNode(JspParser.java:469)
    at com.caucho.jsp.JspParser.parseJsp(JspParser.java:320)
    at com.caucho.jsp.JspParser.parse(JspParser.java:251)
    at com.caucho.jsp.JspCompilerInstance.compile(JspCompilerInstance.java:335)
    at com.caucho.jsp.JspManager.compile(JspManager.java:182)
    at com.caucho.jsp.JspManager.createPage(JspManager.java:130)
    at com.caucho.jsp.PageManager.getPage(PageManager.java:244)
    at com.caucho.jsp.PageManager.getPage(PageManager.java:181)
    at com.caucho.jsp.QServlet.getSubPage(QServlet.java:289)
    at com.caucho.jsp.QServlet.getPage(QServlet.java:216)
    at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:144)
    at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:173)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:149)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:221)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:256)
    at com.caucho.server.port.WorkerThread.run(WorkerThread.java:126)
    at java.lang.Thread.run(Thread.java:536)
    any ideas please!!

    :(

  • My phone freezes, refuses to open some applications some times, switches off and restarts by itself... any idea what the problem is?

    I am using iPhone 5 (iOS 7.1.2).  It often switches off and restarts by itself, sometimes it refuses to open certain applications until I switch off and restart it.  Sometimes it does not make a call through unless I switch off and restart.
    Any idea what the problem could be and any advice to what I should do ?

    Hi jallam,
    If you are having issues with restarting and apps not launching you may want to try this to troubleshoot.
    Since restarting has not helped, you may want to restore the iPhone as a new device -
    iOS: How to back up your data and set up your device as a new device
    http://support.apple.com/kb/HT4137
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • While watching an iTunes movie from my Apple TV, why does my movie stop playing at the 1 hour mark?  I'm assuming I have a setting causing this to happen, but I have no idea what setting needs to be changed.  Can someone help me?

    While watching an iTunes movie from my Apple TV, why does my movie stop playing at the 1 hour mark?  I'm assuming I have a setting causing this to happen, but I have no idea what setting needs to be changed.  Can someone help me?

    It's right at an hour (consistently), but the computer goes to sleep prior to that. It's as if iTunes goes to sleep. Also, it wasn't always this way. Originally, the movies played through without interruption. At some point, I guess a setting was changed, and now I only get an hour. Also. My energy settings are set to go to sleep at 10 minutes.

  • Macbook pro keeps cutting out then wont turn on for a while then when it does same thing happens! Does any1 have any idea what the problem is?

    Macbook pro keeps cutting out then wont turn on for a while then when it does same thing happens! Happens with charger plugged in or not and green charge light stays on even when it cuts out and cant be turned on! Does any1 have any idea what the problem is?

    Try SMC and PRAM resets:
    http://support.apple.com/kb/HT3964
    http://support.apple.com/kb/ht1379
    Ciao.

  • Time Machine will not let me restore from backups after June, 2013.  I can see the files on the external hard drive but Time Machine skips all of them and goes back to June, 2013. Does anyone have any idea what the problem is?

    Time Machine will not let me restore from backups after June, 2013.  I can see the files on the external hard drive but Time Machine skips all of them and goes back to June, 2013. Does anyone have any idea what the problem is?

    rtilghman wrote:
    telling me to buy a new router is NOT a solution.
    And why not? Apple is selling these things like BigMacs. They can't make enough of them. You've been suffering since May because you refuse to get a decent router.
    Can you imagine if a company that makes a refrigerator told me that I needed to upgrade my electrical system to rectify a problem with their device? What kind of response IS that?!?!
    What if the problem with their device is that it requires a new-fangled "grounded" outlet and your circa 1890 house doesn't have grounded outlets. Would you refuse to purchase a $ 25 adapter on principle?

  • Backup failure due to Character set problem

    Hi,
    I am manually running a COLD backup script in Windows NT environment and all the logs has been captured below:
    Recovery Manager: Release 8.1.6.0.0 - Production
    RMAN-06005: connected to target database: db1 (DBID=754030292)
    RMAN-06009: using target database controlfile instead of recovery catalog
    RMAN> shutdown immediate;
    2> startup mount;
    3> RUN {
    4> ALLOCATE CHANNEL disk1 TYPE disk;
    5> BACKUP DATABASE TAG 'db1_db_full' FORMAT 'e:\backup\db1\db1_backup';
    6> copy current controlfile to 'e:\backup\db1\Control_db1.ctl';
    7> }
    8>
    RMAN-06405: database closed
    RMAN-06404: database dismounted
    RMAN-06402: Oracle instance shut down
    RMAN-06193: connected to target database (not started)
    RMAN-06196: Oracle instance started
    RMAN-06199: database mounted
    Total System Global Area 934143244 bytes
    Fixed Size 70924 bytes
    Variable Size 260554752 bytes
    Database Buffers 673439744 bytes
    Redo Buffers 77824 bytes
    RMAN-03022: compiling command: allocate
    RMAN-03023: executing command: allocate
    RMAN-08030: allocated channel: disk1
    RMAN-08500: channel disk1: sid=13 devtype=DISK
    RMAN-03022: compiling command: backup
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: backup
    RMAN-06003: ORACLE error from target database: ORA-06550: line 1, column 166:
    PLS-00553: character set name is not recognized
    ORA-06550: line 0, column 0:
    PL/SQL: Compilation unit analysis terminated
    RMAN-06031: could not translate database keyword
    Recovery Manager complete.
    As the above log shown, I cannot do any backup command in the RUN bracket and it complains that the character set is not recognized.
    This set of error happens when I have create six other Oracle databases in my NT box. Before that, I can manually run the backup with no problem and a backupset has been generated.
    If you have come across this problem and have solutions of it. That will be great.
    Thanks !!
    null

    kk001 wrote:
    Hi ,
    The export Backup failing due to character set problem
    . . exporting table ravidlx
    EXP-00008: ORACLE error 6552 encountered
    ORA-06552: PL/SQL: Compilation unit analysis terminated
    ORA-06553: PLS-553: character set name is not recognized
    P
    Please suggest how to set character set
    I don't know what you have.
    I don't know what you do.
    I don't know what you see.
    It is really, Really, REALLY difficult to fix a problem that can not be seen.
    use COPY & PASTE so we can see what you do & how Oracle responds.
    do as below so we can know complete Oracle version & OS name.
    Post via COPY & PASTE complete results of
    SELECT * from v$version;

Maybe you are looking for

  • Date Calculation

    Hi All, I need to understand the link between sales order item schedule line and planned GI date in delivery? (Multiple line item scenario) Schedule line in a sales order is at the item level and Planned GI date in the delivery is at the header level

  • How To Restrict View of Data Per User

    I am designing a reporting application in Discoverer, from Oracle Applications data. We need to show sales data to the sales people - and we would like a single Discoverer workbook to do this - the challenge is that we need to restrict the data so th

  • [REQUESTS] Vbios - MSI R9 290X Gaming 4G

    Model: MSI R9 290X GAMING 4G S/N: 602-V308-01SB1312025606 Current version (BIOS): not original (My card is a second hand) Thank you!

  • Downloaded assistant. now what?

    I have windows8. I clicked in for a free trial of adobe flash player in order to download a free textbook chapter. Adobe allowed me to install adobe assistant. The icon is on my desktop but after it appeared, nothing else happeed. have I installed Fl

  • ChaRM: Customer fields Tab & Documentation

    Hi In the Change request screen there is a tab for customer fields under transaction data.  In this Tab there is a "Documents" button that allows me to attach project documentation to the CR. However if I try to do that when the CR has been approved