Oracle java compiler

Hi everyone,
I just wanted to create a new Project Build-Script as I stumbled upon this Checkbox (for auto-generating my Script):
"use oracle java compiler for javac task"
Can anybody tell me where I find a list of features this compiler provides in comparison to my normal compiler. (I tried JDev, Google and here...)
Are there any profits with using ADF / Business Components?
Hay.

Hay,
If you are using JDev 10g - you need to use OCJ to get some of the profiling aspects; less of a reason to use OJC in 11g.
John

Similar Messages

  • Oracle Java Compiler 11g - JVM ERROR

    Hi Jdev Team,
    I have an issue to report,
    Sometimes when run a project and navigate through the pages, i get the following error message:
    Oracle Java Compiler 11g
    Unable to create an instance of the Java Virtual Machine
    Located at path:
    H:\jdevstudio1111\jdk\jre\bin\client\jvm.dll
    The only way to solve this is delete the settings of the Jdev and the Jdev from the PC, and install again, with the associated waste of time as consecuence. Please you can give a light to resolve this issue? Thanks
    Well i correct what i just said.
    The problem doesn´t fix, with the erase of the jdev program folder or settings folder in windows user docs and settings. What else i can do!?, out of ideas in here.
    Regards,
    Leo
    Message was edited by:
    LCJ

    Solution (workaround):
    Re: ADF table and filtering
    Pedja

  • Bug in Oracle Java Compiler???

    Hello!
    I think I found a bug in OJC. Take a look in these files:
    ------ File MyInterface1.java -------
    public interface MyInterface1
    public void aMethod1();
    public void aMethod2();
    ------ File MyInterface2.java -------
    public interface MyInterface2 extends MyInterface1
    public void aMethod1(String s1);
    public void aMethod2(String s2);
    ------ File MyAbstractClass.java -------
    abstract public class MyAbstractClass implements MyInterface2
    public void aMethod1()
    ------ File MyImplClass.java -------
    public class MyImplClass extends MyAbstractClass
    public void aMethod2()
    public void aMethod1(String s)
    When compiling these files, the following error should be found:
    "javac MyImplClass.java
    MyImplClass.java:1: MyImplClass should be declared abstract; it does not define
    aMethod2(java.lang.String) in MyAbstractClass
    public class MyImplClass extends MyAbstractClass
    ^
    1 error"
    This is the error found by javac (J2SE 1.3), as expected.
    But when I compile using OJC 9.0.2.579 (JDeveloper 9.0.2.829) no error is found, and the compiler generates MyImplClass.class. This should not happen!!!
    Even if I implement aMethod2(String s) in MyImplClass, how can I trust that OJC is generating the bytecode, so that the method invocation is occuring correctly during runtime?
    I have a component library based on class hierarchy like the one in the example, and I would not like to modify it because of this possible bug in OJC.
    Thanks
    Gleber/Daniel/Augusto

    Gleber,
    As per current plans the 903 release is expected to be on OTN in the next 5-7 weeks. Feel free to ping me at [email protected] if this bug is preventing you from moving forward. I'll try to resolve your issue with a workaround.
    Regards,
    Arun

  • Error in compilation - Bug in the Oracle Java Compiler ? (10.1.3)

    I've the following situation :
    I've a class wich extends ViewObjectImpl,named ClViewObjectImpl, and another class, named RbViewObjectImpl wich extends ClViewObjectImpl.
    My classes have only a constructor with no parameters .
    Compiling with standard Oracle complier I get the following error
    Error: method $init$() in class oracle.jbo.server.RbViewObjectImpl cannot override method $init$() in class oracle.jbo.server.ClViewObjectImpl with weaker access privileges, was
    Compiling with javacc it compiles.
    Is it an bug ?
    Is there any workaround ?
    Tks
    Tullio

    Repost

  • BUG: Oracle Java Compiler bug with anonymous inner classes in constructor

    The following code compiles and runs just fine using 1.4.2_07, 1.5.0_07 and 1.6.0_beta2 when compiling and running from the command-line.
    It does not run when compiling from JDeveloper 10.1.3.36.73 (which uses the ojc.jar).
    When compiled from JDeveloper, the JRE (both the embedded one or the external 1.5.0_07 one) reports the following error:
    java.lang.VerifyError: (class: com/ids/arithmeticexpr/Scanner, method: <init> signature: (Ljava/io/Reader;)V) Expecting to find object/array on
    stack
    Here's the code:
    /** lexical analyzer for arithmetic expressions.
    Fixes the lookahead problem for TT_EOL.
    public class Scanner extends StreamTokenizer
    /** kludge: pushes an anonymous Reader which inserts
    a space after each newline.
    public Scanner( Reader r )
    super( new FilterReader( new BufferedReader( r ) )
    protected boolean addSpace; // kludge to add space after \n
    public int read() throws IOException
    int ch = addSpace ? ' ' : in.read();
    addSpace = ch == '\n';
    return ch;
    public static void main( String[] args )
    Scanner scanner = new Scanner( new StringReader("1+2") ); // !!!
    Removing the (implicit) reference to 'this' in the call to super() by passing an instance of a static inner class 'Kludge' instead of the anonymous subclass of FilterReader fixes the error. The code will then run even when compiled with ojc. There seems to be a bug in ojc concerning references to the partially constructed object (a bug which which is not present in the reference compilers.)
    -- Sebastian

    Thanks Sebastian, I filed a bug for OJC, and I'll look at the Javac bug. Either way, OJC should either give an error or create correct code.
    Keimpe Bronkhorst
    JDev Team

  • How to compile Oracle java strored procedure in Putty

    I have created a java strored procedure , which would be invoked by oracle function.
    This java stored procedure is get compiled via SQL plus. While compiling by the use of putty , it shows lots of compilation error .
    How to compile Oracle java strored procedure in Putty??

    You'll need to add the j2ee.jar to your classpath. Usually you'll have to add some jars from your app server to your classpath as well.
    For example (using weblogic):
    javac -classpath c:\java\j2ee\j2ee1.3.1\lib\j2ee.jar;c:\tools\appserver\weblogic\wl7.1\lib\weblogic.jar
    HelloServlet.java

  • Java Class path for Oracle package compilation

    Hello
    I am trying to send mail with file attachment, this part is
    done by java program, it is compiled & working fine.
    I am trying to compile the same java program at SQL prompt so
    that I can build a package to execute that Java program from
    Oracle. As java prog requires other class files
    (javax.mail.*,javax.mail.internet.*,javax.activation.*) to be
    include , those class path is set at their respective location
    of OS.
    Other Java programs are compiling fine from SQL but for this
    mail prog, it is giving error as it is not finding the location
    of the include files.
    Can anyone tell me from which class path does Oracle 8i compiles
    Java program ? any additional information reqdng this issue ?
    thanks

    Hello Suresh Vemulapalli
    Thanks for replay & suggestion, I compiled using loadjava on
    OS & it is working fine
    regards
    Prakash K.B.

  • Run time java compiler

    Last year I researched oracle spatial technology and created prototype using oracle 9i, standalone oc4j. In order to start oc4j, i had to download java 1.4.2 from sun site. everything worked fine.
    Now I am expanding on the prototype on different machine but am using oracle 10g. I followed the same steps (installed 10g, oc4j, downloaded j2se 1.4.2 and installed). When I start oc4j by following command
    java -jar oc4j.jar, I get
    error message stating Error loading package at file:/E:/oracle_downloads/oc4j/j2ee/home/applications/admin_ejb.jar, javac.exe no
    t found under F:\oracle\product\10.1.0\db_1\jre\1.4.2, please use a valid jdk or
    specify the location of your java compiler in server.xml using the <java-compil
    er .../> tag.
    I am not sure how do I specify location of java compiler in server.xml file sysntactically. I do not not recall this step with oracle 9i.
    I edited server.xml and http-wev-site.xml as per instructions in my spatial class for mapviewer application but I need help on how to enter the location of java compiler file in server.xml file.
    Thank you

    You cannot use the JRE java to start oc4j. Must install a complete 1.4.2 J2SDK (not JRE) then use the java binary under its bin directory to start oc4j (not the one under jre/bin directory).
    lj

  • Including jar file to Oracle-Java without unpacked

    Hi All,
    I am writting JAVA classes in Oracle, but I don't know how to include a jar to the Oracle.
    I had tried to use loadjava, and the classes inside the jar were unpacked and included successfully.
    However, I am doing some cryto things associated with RSA, and if the jar is unpacked, the signature will be broken and I can't use it anymore.
    Is there any way to include a jar file to the Oracle system without unpacking it?
    In details, I want to include a jar file which contains the signatures and information of the provider "BC" (org.bouncycastle.jce.provider.BouncyCastleProvider) to my code. It works perfectly on Java alone. In Oracle, the compilation error is "cannot resolve symbol "import org.bouncycastle.jce.provider.BouncyCastleProvider".
    I am using Oracle 10g Enterprise Release 2.
    Please give advices. Thank you in advance.

    From the documentaton:
    "When you pass a JAR or ZIP file to loadjava, it opens the archive and loads the members of the archive individually. There is no JAR or ZIP schema object."
    This matters because "Unlike a conventional JVM, which compiles and loads from files, the Oracle JVM compiles and loads from database schema objects."
    Sorry.
    Do you really need to load the jar? BounceyCastle does offer all the sources for all its stuff. I know it's a lot of pfaffing about but you could just download the SRC zips and the then loadjava each .java file you need. Should be too hard to automate that process.
    Cheers, APC

  • Oracle java XML API - extract

    I am using XML oracle Java API, I need to extract tge DOC value, its not working for me
    XMLTYPE xml ="
    <PurchaseOrder>
    <Reference>ADAMS-20011127121040988PST</Reference>
    <DOC>SCOTT</DOC>
    <Date>2002-03-31</Date>
    </PurchaseOrder>";
    System.out.println("Testing extract() ...");
    try {
    System.out.println(" length of text in DOC tag " + (xml.extract("/PurchaseOrder/Reference/DOC/text()",null).getStringVal()));
    catch (SQLException e) {
    System.out.println("Thin driver Expected exception: " + e);
    Throwing java.sql.SQLException
    any help please? is there anyother way to extract the value?

    I guess this might help you..
    Use XPATH if you are reading for a single value in xml .
    It will be more cleaner...
    String doc= "//PurchaseOrder/Reference/DOC/text()";
    Call this in your class using some value
    Suppose
    setting_to_some_variable.setWhateverDoc(getNodeValueFromDocUsingXPath(doc));
              address
    private String getNodeValueFromDocUsingXPath(String xpathString) {
              try {
                   XPath xpath = xPathFactory.newXPath();
                   XPathExpression expr = xpath.compile(xpathString);
                   Node aNode = (Node) expr.evaluate(doc, XPathConstants.NODE);
                   if (aNode != null) {
                        return aNode.getNodeValue();
              } catch (XPathExpressionException xpe) {
                   xpe.printStackTrace(System.out);
              return null;
         }

  • Ridiculous bug in oracle jdeveloper compiler ojc with jdk1.4

    With simple class:
    public class Test
    public Test()
    public String toString()
    return null;
    public static void main(String[] args) throws Exception
    Test test = new Test();
    System.out.println("ooo" + test);
    After compile it with ojc (ojc Test.java) and run it with jdk 1.4.1_01 (java Test), it throws
    java.lang.NullPointerException
    at java.lang.String.concat(String.java:1541)
    But it works ok if compile it with standard java compiler(javac).

    Hi,
    Thanks for reporting this. It's a bug. I've logged it as 2809860, and you can track this on metalink.oracle.com.
    Brian
    JDev Team

  • [DeployDecisionServices] Failed at Java Compilation

    Hello,
    i'm facing a problem when trying to deploy a decision service within a BPEL process. I have created some xml facts and rules with rule author. Everythings works fine also the compilation of jaxb classes and syntax check of RL output.
    When using the rule repository in a BPEL process by creating a decision service and a decide activity the deployment stops during the compilation of the jaxb classes. As mentioned the compilation of jaxb classes on cmd works fine an it seems that the compilation during the deployment works fine as well as all .class files are beeing created in PROJECT_HOME%decisionservices\DecisionService\war\WEB-INF\classes. Nevertheless deployment stops at this point and I can't get my decision service deployed.
    Any help is much appreciated !
    The ant output:
    | Deploying decision services for ruleTest on localhost, port 8888
    [deployDecisionServices] Start of deploying decision services.
    [deployDecisionServices] Deploy decision service in directory C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService
    [deployDecisionServices] Start deploying decision service from directory C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService to J2EE context /rules/test/ruleTest/1.0/DecisionService
    [deployDecisionServices] Replace placeholders in file C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\wsdl\DecisionService.wsdl
    [deployDecisionServices] Replace placeholders in file C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\wsdl\DecisionService.wsdl done.
    [deployDecisionServices] Replace placeholders in file C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\public_html\GetDecisionServiceInfo.jsp
    [deployDecisionServices] Replace placeholders in file C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\public_html\GetDecisionServiceInfo.jsp done.
    [deployDecisionServices] Start compiling fact type classes in directory C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes
    [deployDecisionServices] Compiling from shell, src=C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes, classpath=C:\product\JDev\jdev\lib\ojc.jar;C:\product\JDev\ant\lib\ant-oracle.jar;C:\product\JDev\integration\lib\orabpel.jar;C:\product\JDev\integration\lib\orabpel-ant.jar;C:\product\JDev\integration\lib\orabpel-common.jar;C:\product\JDev\integration\lib\orabpel-thirdparty.jar;C:\product\JDev\webservices\lib\orawsdl.jar;C:\product\JDev\lib\xmlparserv2.jar;C:\product\JDev\lib\xml.jar;C:\product\JDev\j2ee\home\lib\oc4j-internal.jar;C:\product\JDev\j2ee\home\lib\adminclient.jar;C:\product\JDev\integration\bpm\support\files;C:\product\JDev\jdev\lib\jdev.jar;C:\product\JDev\ant\lib\xml-apis.jar;C:\product\JDev\ant\lib\xercesImpl.jar;C:\product\JDev\ant\lib\jakarta-oro-2.0.8.jar;C:\product\JDev\ant\lib\commons-net-1.3.0.jar;C:\product\JDev\ant\lib\ant.jar;C:\product\JDev\ant\lib\ant-xslp.jar;C:\product\JDev\ant\lib\ant-xalan1.jar;C:\product\JDev\ant\lib\ant-weblogic.jar;C:\product\JDev\ant\lib\ant-vaj.jar;C:\product\JDev\ant\lib\ant-trax.jar;C:\product\JDev\ant\lib\ant-swing.jar;C:\product\JDev\ant\lib\ant-stylebook.jar;C:\product\JDev\ant\lib\ant-starteam.jar;C:\product\JDev\ant\lib\ant-oracle-adfp.jar;C:\product\JDev\ant\lib\ant-nodeps.jar;C:\product\JDev\ant\lib\ant-netrexx.jar;C:\product\JDev\ant\lib\ant-launcher.jar;C:\product\JDev\ant\lib\ant-junit.jar;C:\product\JDev\ant\lib\ant-jsch.jar;C:\product\JDev\ant\lib\ant-jmf.jar;C:\product\JDev\ant\lib\ant-jdepend.jar;C:\product\JDev\ant\lib\ant-javamail.jar;C:\product\JDev\ant\lib\ant-jai.jar;C:\product\JDev\ant\lib\ant-icontract.jar;C:\product\JDev\ant\lib\ant-commons-net.jar;C:\product\JDev\ant\lib\ant-commons-logging.jar;C:\product\JDev\ant\lib\ant-apache-resolver.jar;C:\product\JDev\ant\lib\ant-apache-regexp.jar;C:\product\JDev\ant\lib\ant-apache-oro.jar;C:\product\JDev\ant\lib\ant-apache-log4j.jar;C:\product\JDev\ant\lib\ant-apache-bsf.jar;C:\product\JDev\ant\lib\ant-apache-bcel.jar;C:\product\JDev\ant\lib\ant-antlr.jar;C:\product\JDev\jdk\lib\tools.jar
    [deployDecisionServices] Source file exists. Read Java source file names.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequest.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestType.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestTypeImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponse.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseType.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseTypeImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/ObjectFactory.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ObjectFactory.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/Zustaendig.java to the list of Java sources to compile.
    [deployDecisionServices] Adding C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ZustaendigImpl.java to the list of Java sources to compile.
    [deployDecisionServices] Compiled class(es) "C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequest.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestType.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestTypeImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponse.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseType.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseTypeImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/ObjectFactory.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ObjectFactory.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/Zustaendig.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ZustaendigImpl.java"
    [deployDecisionServices] Error in ant execution: Java compilation failed.
    Failed to compile file(s) "C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequest.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestType.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestTypeImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponse.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseType.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseTypeImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/ObjectFactory.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ObjectFactory.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/Zustaendig.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ZustaendigImpl.java".
    Exception reported is: C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU\GeburtsurkundeProcessRequestTypeImpl.java:39: Class GU.AntragstellerType not found.
    return (AntragstellerType) super.getElement("Antragsteller", "http://xmlns.oracle.com/Geburtsurkunde", (oracle.xml.jaxb.JaxbNode)obj, 0);
    ^
    C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU\GeburtsurkundeProcessRequestTypeImpl.java:50: Class GU.AnschriftType not found.
    return (AnschriftType) super.getElement("Anschrift", "http://xmlns.oracle.com/Geburtsurkunde", (oracle.xml.jaxb.JaxbNode)obj, 1);
    ^
    C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU\GeburtsurkundeProcessRequestTypeImpl.java:61: Class GU.BankverbindungType not found.
    return (BankverbindungType) super.getElement("Bankverbindung", "http://xmlns.oracle.com/Geburtsurkunde", (oracle.xml.jaxb.JaxbNode)obj, 2);
    ^
    3 errors
    Please verify that file C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequest.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestType.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessRequestTypeImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponse.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseType.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/GeburtsurkundeProcessResponseTypeImpl.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\GU/ObjectFactory.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ObjectFactory.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/Zustaendig.java, C:\product\JDev\jdev\mywork\Buergerservice\ruleTest\decisionservices\DecisionService\war\WEB-INF\classes\ZS/ZustaendigImpl.java is valid java file or if all required libraries are included in your classpath.
    classpath: C:\product\JDev\jdev\lib\ojc.jar;C:\product\JDev\ant\lib\ant-oracle.jar;C:\product\JDev\integration\lib\orabpel.jar;C:\product\JDev\integration\lib\orabpel-ant.jar;C:\product\JDev\integration\lib\orabpel-common.jar;C:\product\JDev\integration\lib\orabpel-thirdparty.jar;C:\product\JDev\webservices\lib\orawsdl.jar;C:\product\JDev\lib\xmlparserv2.jar;C:\product\JDev\lib\xml.jar;C:\product\JDev\j2ee\home\lib\oc4j-internal.jar;C:\product\JDev\j2ee\home\lib\adminclient.jar;C:\product\JDev\integration\bpm\support\files;C:\product\JDev\jdev\lib\jdev.jar;C:\product\JDev\ant\lib\xml-apis.jar;C:\product\JDev\ant\lib\xercesImpl.jar;C:\product\JDev\ant\lib\jakarta-oro-2.0.8.jar;C:\product\JDev\ant\lib\commons-net-1.3.0.jar;C:\product\JDev\ant\lib\ant.jar;C:\product\JDev\ant\lib\ant-xslp.jar;C:\product\JDev\ant\lib\ant-xalan1.jar;C:\product\JDev\ant\lib\ant-weblogic.jar;C:\product\JDev\ant\lib\ant-vaj.jar;C:\product\JDev\ant\lib\ant-trax.jar;C:\product\JDev\ant\lib\ant-swing.jar;C:\product\JDev\ant\lib\ant-stylebook.jar;C:\product\JDev\ant\lib\ant-starteam.jar;C:\product\JDev\ant\lib\ant-oracle-adfp.jar;C:\product\JDev\ant\lib\ant-nodeps.jar;C:\product\JDev\ant\lib\ant-netrexx.jar;C:\product\JDev\ant\lib\ant-launcher.jar;C:\product\JDev\ant\lib\ant-junit.jar;C:\product\JDev\ant\lib\ant-jsch.jar;C:\product\JDev\ant\lib\ant-jmf.jar;C:\product\JDev\ant\lib\ant-jdepend.jar;C:\product\JDev\ant\lib\ant-javamail.jar;C:\product\JDev\ant\lib\ant-jai.jar;C:\product\JDev\ant\lib\ant-icontract.jar;C:\product\JDev\ant\lib\ant-commons-net.jar;C:\product\JDev\ant\lib\ant-commons-logging.jar;C:\product\JDev\ant\lib\ant-apache-resolver.jar;C:\product\JDev\ant\lib\ant-apache-regexp.jar;C:\product\JDev\ant\lib\ant-apache-oro.jar;C:\product\JDev\ant\lib\ant-apache-log4j.jar;C:\product\JDev\ant\lib\ant-apache-bsf.jar;C:\product\JDev\ant\lib\ant-apache-bcel.jar;C:\product\JDev\ant\lib\ant-antlr.jar;C:\product\JDev\jdk\lib\tools.jar

    Hi Everyone,
    I've resolved the error. It was the fact that I was pointing to the wrong rmi port. I found out by typing out the "opmnctl status -l" on the command line and realised that my rmi port was 12401 instead of 23791. Hence, under the "deployDecisionServices" namespace in the build.xml file, I modified it from "rmiport="${rmiport}" to "rmiport="12401"" and deploy it and everything works. Thank you everyone for your time and efforts.
    Regards,
    John

  • Oracle Java Environment Error - Not enough java classes defined ?

    I'm using 11gR1, and recently ran into a problem with Java Stored Procedures.
    It was working fine last week, and then this week at runtime I started getting an error:
    Error in Oracle java environment: ops1 - java.lang.Exception: Not enough java classes defined in the database.  Java Stored Procedures are not installed properly.
    I checked both the SYS schema and my user schema's Java classes. Neither had any invalid classes. For my user schema, the number of java classes seems right. For the SYS schema, I haven't figured out how to get past the 2000 rows fetch limit, so it will max out at 2000 - none of which are invalid.
    I cleared out my user schema and re-loaded its classes, and they all compiled/validated fine.
    A google search found no help...
    TIA
    Update (results of class count query):
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> select count (*) from dba_objects where object_type like '%JAVA%';
    COUNT(*)
    28895
    Edited by: GDub on Aug 18, 2010 2:37 PM

    I'm using 11gR1, and recently ran into a problem with Java Stored Procedures.
    It was working fine last week, and then this week at runtime I started getting an error:
    Error in Oracle java environment: ops1 - java.lang.Exception: Not enough java classes defined in the database.  Java Stored Procedures are not installed properly.
    I checked both the SYS schema and my user schema's Java classes. Neither had any invalid classes. For my user schema, the number of java classes seems right. For the SYS schema, I haven't figured out how to get past the 2000 rows fetch limit, so it will max out at 2000 - none of which are invalid.
    I cleared out my user schema and re-loaded its classes, and they all compiled/validated fine.
    A google search found no help...
    TIA
    Update (results of class count query):
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> select count (*) from dba_objects where object_type like '%JAVA%';
    COUNT(*)
    28895
    Edited by: GDub on Aug 18, 2010 2:37 PM

  • What Java compiler for Java Card development ?

    What Java compiler and options should be used for Java Card development with the goal of generating correct, and (secondarily) small or/and fast code after conversion to Java Card bytecode using converter ?
    In particular
    - Is use of JDK 7 approved by Oracle for Java Card development? That would solve security problems associated with (the web components of the JRE of) some earlier JDK, including the latest JDK6. The JCDK 3.0.4 release notes states "+the commercial version of Java Development Kit (JDK software) version 6 Update 10 (JDK 6 Update 10) or later is required+, but that does not answer that question.
    - Anyone had _bad_ experience (like incorrect or disastrous code) with the Java compiler bundled with Eclipse ? I have seen at least one case where org.eclipse.jdt.core_3.7.3.v20120119-1537.jar produced slightly more compact code than javac.
    - Anyone had _bad_ experience with javac in jdk1.3 ? In an applet involving a "finally" clause, I've seen it generating more compact code than later javac (which in my test triplicated the code for the finally clause).

    What Java compiler and options should be used for Java Card development with the goal of generating correct, and (secondarily) small or/and fast code after conversion to Java Card bytecode using converter ?-target -source may be required to generate compatible byte code. Depending on the CAP file converter being used debug information may also help. Remember that Java Card is a subset of the Java language (also there are short opcodes that Java doesn't have etc) so a lot of the work for optimisation is done by the converter or the JCRE. You can look at the JCA code generated to determine what works best for your applets. There are also some ways of stripping out dead code etc from JCA files (return statements after a throw etc) to reduce your code size. Most of the speed optimisations come from your code (avoiding context switches and unnecessary security/access checks).
    The compactness of your Java Card binary may not be directly related to the size of your compiled Java code. It can depend on the converter you use and any optimisaitons the JCRE might try to do when the code is loaded.
    - Is use of JDK 7 approved by Oracle for Java Card development? That would solve security problems associated with (the web components of the JRE of) some earlier JDK, including the latest JDK6. Java Card does not use any of the libraries from the JDK/JRE. All of the libraries are provided by the JCRE on the smartcard.
    The JCDK 3.0.4 release notes states "+the commercial version of Java Development Kit (JDK software) version 6 Update 10 (JDK 6 Update 10) or later is required+, but that does not answer that question.Anything above JDK6u10 is supported. If you use Java 7 you may need to add a -source and -target flag when compiling.
    - Anyone had _bad_ experience (like incorrect or disastrous code) with the Java compiler bundled with Eclipse ? I have seen at least one case where org.eclipse.jdt.core_3.7.3.v20120119-1537.jar produced slightly more compact code than javac.We generally use the Eclipse compiler as we find that we get more deterministic builds. When CAP files are sent for security review it is helpful to have the reviewer able to generate a CAP file that matches the one you sent to confirm the binary is what you say it is.
    - Anyone had _bad_ experience with javac in jdk1.3 ? In an applet involving a "finally" clause, I've seen it generating more compact code than later javac (which in my test triplicated the code for the finally clause).We do not use anything less than Java 6 for compilation.
    - Shane

  • Cannot open Photoshop: get error: To open "Adobe Photoshop CS5.app," you need a Java SE 6 runtime. Would you like to install one now?  However installing Java SE 6 runtime does not fix nor does installing Oracle Java SE 7. Adobe says Apple is problem.

    Searching the internet for solutions to this and some discussion with Adobe.
    Adobe say Photoshop does not use java so it should not be asking for a java runtime.
    The question is how can I stop Photoshop asking to install java since Photoshop does not need or use Java to run?
    Found various links that might be helpful:
    http://apple.stackexchange.com/questions/58203/mountain-lion-with-java -7-only/58841#58841,
    Work around for app that asks fo SE 6 when SE 7 is installed
    Running Java Apps on OS X with Only JRE 7
    How OS X determines an app needs Java,
    Installing & Deinstalling Java SE 6 & SE 7, http://helpx.adobe.com/x-productkb/global/install-java-jre-mac-os.html
    Adobe's Installing Java SE 6
    Java Mac Security and Background to SE 6 to SE 7 Changes
    Java 7 & OS X
    Known Issues with Adobe Software on OS X Lion
    Adobe's Installing Java SE 6

    However as I have Oracle Java SE 7 installed and SE 6  is deprecated and no longer supported for security reasons.
    Apple is actually responsible for Java 6's security. They take Oracle's code and do whatever is needed to make it compatible with Apple's OS. Java 6 is still getting security updates from Apple. Versions 6 and 7 can also exist on the same drive. They won't interfere with each other.
    Also I am assured in no uncertain terms by Chris Cox over at Adobe that Photoshop CS 5 does not use java at all and that the java error message  and so called dependency is just an error on the part of Apple.
    I did find a topic where Chris stated that for CS6, which I know is true. I've installed CS6 (and CC) on a newly formatted drive in Mountain Lion, and neither made any mention of requiring Java. Could have sworn CS5.5 and earlier did you Java for a few functions. Though I likely only assumed that since that version and earlier always causes a prompt to install Java if it isn't already on the drive.
    So is there any way to run Photoshop with SE 7 only installed or even better with no java installed?
    It doesn't really matter much if Java is installed. Java 6 should put an app in the Utilities folder by the name of Java Preferences. Open that, and you can completely disable it by undoing the check boxes.
    Perhaps there is a way to make OS X stop thinking it needs java SE 6 to run Photoshop CS 5.
    Apple would have to make a change to the OS itself. It's a not a user accessible setting.

Maybe you are looking for

  • Please help - Trying to create a realistic liquid morphing

    Hello I'm fairly new to Flash and vector art but have a project to create a Flash based flowchart that is made up of liquid blobs that morph to show the various paths to the chart. I've had a go making the blobs in flash but when l go to animate them

  • Create material view with MATERIAL_MAINTAIN_DARK

    Hello ! I have done a material migration program with FM MATERIAL_MAINTAIN_DARK. The program integrate the basic data, and then each view one by one. It works fine except with material with internal number. It creats the basic data but when i use the

  • Multithreading in Oracle

    Hi All, I am working on Oracle 11g. I have to implement multithreading/asynchronous processing in one of my applications. There is a table, tab1 which contains two columns - ID and SQL. The SQL column is of CLOB datatype and contains a Dynamic SQL st

  • How do you change the iOS 5 tabs back to the page of previews

    i recently updated my ipad 2 to ios 5 and dislike the new tabs bar at the top of the page and would like to change back to the old full page of previews

  • Reg :  vo.writeXML() how to filter the data before generating the xml data

    Hi team, I have table region with multi selection option. My requirement is to fetch the data and generate the xml data for the selected rows. By using : writeXML() --> it is fetching all the data. What are the methods i need to use,so i can fetch on