[Solved] How to specify -source and -target=1.5 in Compiler settings

Hi forum
I'm looking for a way to get my generics-based code to compile in JDeveloper 10.1.3.1. As you know, generics require "-source=1.5" and "-target=1.5", but I have not been able to get JDeveloper to compile with this setting. I am using javac as compiler and has checked "Use javac", but if I specify "Default" in the "Source" option, JDeveloper compiles with "-source=1.3" and "-target=1.2", and there's only 1.2, 1.3 and 1.4 in the list to choose from apart from "Default", not 1.5 for some reason.
Changing Compiler settings under "Default project settings" doesn't seem to do anything, it stills compiles for 1.3 when choosing Default - which of course means, that my generics won't compile, as it complains about wrong -source setting.
Can someone help me out here? I've done a search here on the board without finding the answer.
Thanks,
Jacob

My about-box reads:
"Studio Edition Version 10.1.3.1.0.3984"
"Build JDEVADF_10.1.3.1.0_NT_061009.1404.3984" (arrgh, please make an option to copy/paste this...)
Have you accidentally switched 2 ciphers, Frank? By the way, I found the reason for this - I had set the "J2SE version" under "Libraries" to "1.4.2_06" earlier to make sure about 1.4.2 compatibility - but since we soon don't need this any longer, I'm switching this value to 1.5.0 to be able to fully utilize 1.5 options in my code.
So... I guess we can say, that this was my own fault.
Thanks,
Jacob

Similar Messages

  • How to get source and target components in Drag'n'Drop

    I have a JList that is a drag source and a drop target, when an item is dragged form the list I only want a drop to be allowed in another component (ie a JTree). I dont want to allow the drop to be allowed on the list. In other words I need a way of saying, if (dragSource!=dropTarget), then allow drop.
    There doesn't seem to be an easy way to do this though, any ideas?
    Your help would be greatly appreciated.

    Sagarika,
    Please go thru the dev guide which explains the train flow in the multistep update exercise. Compare the steps with ur implementation.
    - Senthil

  • How to find the source and target systems of an imported Transport Request?

    Hello,
    How to find the source and target systems of an imported Transport Request?
    chinna.

    Hi Chinna,
    In your landscape the TMS must have configured.Let assume that you have four six systems in the land scape.
    DEV->DEV1->QUA->PRD and other two systems (TR1 ,TR2)are at different domain amd both are connected to QUA and the requests are forwarded from there.Here normally the flow willl be from DEV to DEV1, then DEV1 to QUA and QUA to PRD.For other two systems (TR1 ,TR2 )the source system will always be QUA.
    Regards
    Ashok

  • One problem with constraints missing in source and target database....

    DB Gurus,
    In my database I am going to export and import data using datapump but dont specify CONTENT clause.
    so when I start working on my application, I came to know there are some constraints are missing. now how to check what are the constraints are missing from Source database and how to create those missing constraints on Target database?
    Suggest me if you have any idea.

    Create a database link between source and target schema.
    Use all_/dba_/_user_constraints to generate the difference using MINUS operator.
    something like this:
    select owner,constraint_name,constraint_type from dba_constraints@source
    MINUS
    select owner,constraint_name,constraint_type from dba_constraints

  • OWB 10g -- Can't Create Database Links for Data Source and Target

    We installed OWB 10g server components on a Unix box running Oracle 10g (R2) database. The Designer Repository is in one instance. The Runtime Repository and the Target are in another instance. The OWB client component was installed on Windows XP. We create a data source module and a target module in OWB. The data source is on another Unix box running Oracle 9i (R2) database. We try to create database links for data source module and target module, respective. But when we created and tested the DB links, the DB links were failed.
    For the database link of data source, we got the following error message:
    Testing...
    Failed.
    SQL Exception
    Repository Error:SQL Exception..
    Class Name: CacheMediator.
    Method Name: getDDEntryFromDB.
    Repository Error Message: ORA-12170: TNS:Connect timeout occurred
    For the database link of target , we got the following error message:
    Testing...
    Failed.
    API2215: Cannot create database link. Please contact Oracle Support with the stack trace and the details on how to reproduce it.
    Repository Error:SQL Exception..
    Class Name: oracle.wh.ui.integrator.common.RepositoryUtils.
    Method Name: createDBLink(String, String, String, String).
    Method Name: -1.
    Repository Error Message: java.sql.SQLException: ORA-00933: SQL command not properly ended.
    However, we could connect to the two databases (data source and target) using the OWB’s utility SQL Plus.
    Please help us to solve this problem. Thank you.

    As I said prior the database link creation should work from within the OWB client (also in 10).
    Regarding your issue when deploying, have you registered your target locations in the deployment manager and did you first deployed your target location's connector which points out to your source?
    I myself had some problems with database link creations in the past and I can't remember exactly what they were but it had something to do with
    - the use of abnormal characters in the database link name
    - long domain name used in as names.default_domain in my sqlnet.ora file
    What you can do is check the actual script created when deploying the database link so see if there's something strange and check if executing the created script manually works or not.

  • Connecting the source and target schemas to ODI

    Hi ,
    I have recently started learning ODI tool for data integration. I need to use this tool as a part of Deal Management product related work.
    I have gone thru the documentation available in OTN for ODI. they were describing everything using the demo environment.
    problem:
    Can any one please tell me how to connect source schema and target schema to the ODI ...?
    Both the source and target schema are in the Oracle database of the loaclhost.

    Hi,
    Right Click ur Dataserver , In the bottom u will have option insert physical schema.
    Click that u will have window opened........
    In the Definition Tab:
    Specify ur Schema name and Work schema .......u r going to use .
    Enable the default option also....
    In Context Tab:
    Specify ur context Name and Type in the Name u want to have for ur logical Schema, it autmatically creates the logical schema ...for u.
    and click ok .
    hope it helps u.....
    Thanks
    AK

  • Issue in mapping the same source and target fields

    Hi All,
    I am working on PI 7.0 and currently I am connecting to PI 7.0 via citrix desktop . Problem here is : in the mapping , direct mapping option that is available to map the same source and target fields is disabled . I do know that this is due to some java version issue .
    What I want to know is there any possibilty of solving this issue without installing an updated java version ?
    Regards
    Vinay P.

    I've faced the same for many times and all of that were due to Java version.
    1st of all, you have to check the authorizations you have. If you have enough (DEVELOPER_J2EE, CONTENT_ORGANIZER_J2EE, and so), and - obvious but very often forgotten - you have to assure you're trying to change it in the message mapping change mode On.
    Then, last shot should be downgrade your Java version.
    The 1.4.2 JRE version allow you to use not only the Mapp the Identical field but also Dependencies, Clear Mapping and some other tools/buttons. As mentioned above, if there's a fix in the new Java releases, I do not know (hope so) and would appreciate if you could let us know.
    Tks.

  • HOWTO set source and target in WTK KToolbar

    I am having trouble getting my MIDlet compiled when pressing the Build button in the WTK's KToolbar. I get the following error:
    generics are not supported in -source 1.3
    This is because I have JDK 1.6 installed and I'm trying to use a Vector in my code that is typed.
    How do I configure the javac settings through the KToolbar so it uses the javac -source and -target arguments?
    Thanks.

    The thing is like
    while practicing in my institute I had used "//ECCserver/SAPMNT" as path for both sender and reciever communication channels...
    now i'm unable to write the path for both
    please help me out

  • No mapping for Same structure in source and target

    Hi Experts,
    I want to transfer the source structure to two receivers . Here source and target structures are same so i dont need mapping.
    My question is how many DT,MT and MI required .. mapping required or not.
    Thanks in Advance
    CS

    hi  CS,
                 here in  your  scenario as  u  have  told  that  source  and reciver  are of  same  structure . definitely you didn't need  any  mapping . and you have to create two data type(one for sender and  one for receiver) , two message  types(one for sender and one for receiver)) , and  two message  interfaces(one for sender and one for receiver).
    while creating message types it asks for data  type and while creating message interface it asks for message type only . as the structures of sender and receiver are same then inspite of having two receivers  we  have to create  ony one message interface on sender side . later the adapter will take  care of further proceedings
    but  in  case of configuration you have to import three business systems . one for sender and  two for receiver systems . and  you have to configure the communications  channels  accordingly. as per the receivers accepting the structures you have to use the relevant adaptors .

  • Entering Source and Target Values in Value Mapping

    Hi,
    Is there any auomative way of entering source and target values in Value Mapping or FixValues instead of manually entering the values.
    I have around 400 values to be entered on both sides.....just thinking of an easy way to do it....
    Thanks for suggestions.
    Regards,
    Bharani

    Hi,
    Use value mapping replication
    chk this link as to what SAP docs say on value mapping replication
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm
    Value Mapping replication - Value Mapping replication
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
    ValueMapping using the Graphical Mapping Tool
    The specified item was not found.
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
    Regards,
    Swathi

  • Is it possible to have source and target schema in the same DB instance ?

    Hi All,
    I'm using Oracle 11gR1.
    I have switched source locations from other server to the one with OWB.
    During deploy I get VLD-3064 and I can't deploy mapping because of many 'table or view does not exist' warnings.
    Is it possible to have source and target schemas in the same instance ??
    How to do it ?
    Regards,
    Martin

    Hi Jörg,
    Thanks for your help and quick answer.
    I'd like to clarify a little your answer :
    1. Are the any special privilages I need to set ? Currently I have only 'RESOURCE' and 'CONNECT' (I think I didn't have to add any other privs when that schema was located on other instance...)
    2. Also VLD-3064 states that : 'Owning and referenced location of this connector are on the same database instance. Unless explicitly referenced in configuration settings no generated code will use the dataabase link resulting from deployment of this connector'. Does it mean I have to put something in configuration ?
    Thanks,
    Martin

  • LMDB - SLD "Source and target system have the same object server name"

    Hi,
    the system is a SM7.1 SP1
    For some reason (Object-Server-Name changed), the job that syncs the sld and lmdb cancels...
    I set the LMDB-Object-Server-Name to its original Name...
    Now i've deleted the sync-config in the solman_setup and try to start a new sync, but i get the following error, when i try to configure the source-system:
    'Source and target system have the same object server name: CISM318'
    But the names are different: 'SM3' (LMDB) and 'CISM318' (SLD)
    Any suggestions ?
    best regards
    Christoph
    Edited by: Christoph Bastian on Aug 26, 2011 9:37 AM
    Edited by: Christoph Bastian on Aug 26, 2011 11:18 AM

    problem solved...
    Apparently the sync needs some hours to finish a object-server-name-change...
    best regards
    Christoph

  • Best practice deployment - Solaris source and target

    Hi,
    What is the recommended deployment guide for an ODI instance under Solaris. I have a sybase source and an Oracle target, both of which are on Solaris. I plan to put my ODI master and work repository on another Oracle DB on the solaris target machine. Now where does my agent sit, since my source and target are solaris ?? I plan to administer ODI from my windows clients but :-
    Where and how do I configure my agent so that I can schedule scenarios. It would make most sense to be able to run the agent on my target solaris machine , is this possible ?? If not then do I have to have a separate windows server that is used to run the agent and schedule the jobs ??
    Thanks for any assistance,
    Brandon

    thanks for the reply. I cant find anything in the installation guide about Solaris specifically but it mentions to follow the instructions for "Installing the Java Agent on iSeries and AS/400" where the download o/s is not supported.
    So it seems I just need make some directories on the solaris host and to manually copy files into s these directories and as long as java sdk/runtime is there I can use the shell scripts (eg. agentshceduler.sh ) to start and stop the agent.
    So my question I guess is since the os supported downloads are only windows and Linux, where do I copy the files from, the Linux ones ?? Is it right to say that since these are java programs I should be able to copy the Linux ones and use them under Solaris ??
    I dont have the Solaris environment at hand to test this just yet.... hence the questions....
    thanks again

  • R3AC1- Object Bus_Trans_Msg source and target sites missing

    Hi,
    In the Txn code: R3AC1 for the object Bus_Trans_Msg we need to enter the source- CRM and target site-R/3 under the tab Initial flow settings which is not editable.
    when we do initial download of this object in txn:R3AS if throws an error.
    Please let me know how we can enter the source and target site for the object-bus_trans_msg .
    Regards
    Prathiba

    Hi Srinivas,
    Thank you for your response.
    I have changed the object class to Customizing but not sure which Linked Bdoc needs to be selected.
    Please let me know the Linked bdoc and Object class that needs to be selected in order to edit the flow contexts.
    Regards
    Prathiba

  • The source and target structure have a different number of fields

    Hi,
    I am new to workflow and I am trying to create an attachment in Workflow (SAP ECC 6.0) and pass it through to a User Decision (User Decision works fine) however the workflow is failing on the attachment step with u2018The source and target structure have a different number of fieldsu2019. The bindings check ok. Please see details below.
    I have used document u2018Creating Attachments to Work Items or to User Decisions in Workflowsu2019 by Ramakanth Reddy for guidance. Thanks in advance.
    1) Workflow containers (SWDD)
    WORKITEMID (import)
    ZSWR_ATT_ID (export)
    SOFM (export)
    2) Task Container (PFTC)
    1 Import parameter defined u2013 WORKITEMID (swr_struct-workitemid)
    2 Export parameters defined
    - SOFM (Ref. obj. type SOFM)
    - ZSWR_ATT_ID  (swr_att_id-doc_id)
    Binding task -> Method
    Binding for 1 parameter (import) defined
    Task <- Method
    Binding for 2 parameters (export) defined
    3) Z  BOR object created with a Method, Method Parameters and Event (SWO1)
    1 import parameter defined
    2 export parameters defined
    Method calls FM SSF_FUNCTION_MODULE_NAME, CONVERT_OTF, SCMS_XSTRING_TO_BINARY and SAP_WAPI_ATTACHMENT_ADD
    Workflow is triggered by FM SAP_WAPI_CREATE_EVENT, Return_code = 0
    Event_id = 00000000000000000001
    Test results
    A) Triggered by ABAP/ FM SAP_WAPI_CREATE_EVENT - SWI2_DIAG results
    Work item  14791: object <z bor object name> method <method name> cannot be executed. The source and target structure have a different number of fields (this message is repeated 3 times). Error handling for work item 14791. No errors occurred -> details in long text (message is repeated 3 times).
    Message no. WL821, OL383, WL050 in long text
    B) Z BOR Test method <execute>
    Enter workitem id.
    Runtime error - Data objects in Unicode programs cannot be converted. The statement "MOVE src TO dst" requires that the operands "dst" and "src" are convertible. Since this statement is in a Unicode program, the special conversion rules for Unicode programs apply.                                        
    In this case, these rules were violated.   
    Program                             SAPLSWCD                
    Include                                LSWCDF00                
    Row                                    475                     
    Module type                        (FORM)                  
    Module Name                      MOVE_CONTAINER_TO_VALUE           
    C) Z BOR Test method <debugging>
    Enter workitem id.
    SAP_WAPI_ATTACHMENT_ADD, return_code = 0, message_lines  = Attachment created            
    both  swc_set_element container work ok
    Runtime error occurs after end_method executed. Data objects in Unicode programs cannot be converted.
    D) Workflow test
    Enter workitem id <execute>
    Task started> Workflow log> Status = Error
    Workflow errors in Attachment step (however Office document can be viewed in details for step).

    Problem has now been resolved. Problem was related to use of swr_att_id structure and swc_set_element statement in BOR program - problem resolved by only setting w/f container to swr_att_id-doc_id.

Maybe you are looking for

  • HOW TO CREATE MULTIPLE RECORDS IN A NONE DATABASE BLOCK?

    I have a Form where I have a none database block with unbound items. The block has 10 records. In the when-new-block instance I run a query by which I would like to fill up the block with data. The code fragment looks like the following: begin declar

  • Opinion of buying MSI 7900GT

    As mentioned above, i'm planning to buy a new graphic card and MSI 7900GT is my ideal choice. Did my mobo fully support this card and should I upgrade my mobo bios to the latest version 3.A. Motherboard: MSI K8N SLI Platinum Current BIOS ver.: 3.1

  • KT4 Ultra Rocks!!

    Well,,..With a new board and a few weeks of waiting my problems with my KT3 Ultra have been solved and i got a KT4 Ultra for 80$...It pays to take something back if it doesnt work...well heres the specs...: KT4 Ultra BIOS V1.3 Athlon Xp 1700+ Thoroug

  • 5800 V40 problem. Screen does not off after chargi...

    Hi guys. I updated the firmware to V40 lately, but a serious problem appear. when i plug the phone to charge, the screen does not turn off unless i fiddle with the keylock switch. that's still acceptable, but when charging is complete, the screen tur

  • NewMsg notification in Messaging server

    Hi, We are using Iplanet messaging server 5.2 and have setup the ENS system to send all the notifications ( newmsg, deletemsg, readmsg etc). However, our client that is subscribed to the ENS messages is not receiving the newmsg notifications. It is r