Error while compiling java class (ora-29535 source requires recompilation)

Hello. I`m new with oracle and i`m having a problem with java classes. Few days ago i loaded java classes (loadjava) from jar file(biojava3-structure-3.0.2.jar) and compiled ( everything compiled with status valid). Now i`m writing my own class and i can`t import classes from biojava3. I`m getting error:
Projekt:7: cannot access org.biojava.bio.structure.Atom
bad class file: null
class file has wrong version 50.0, should be 49.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import org.biojava.bio.structure.Atom;
I have tryed to change jdk version in netbeans from 1.7 to 1.6. I created java class in sql plus That still not resolved my problem.
Please help me.

consider posting in Java forum instead of Database forum
https://forums.oracle.com/forums/category.jspa?categoryID=285

Similar Messages

  • Jdev3.1;EJB deploy;ORA-29535: source requires recompilationjava.lang.NullPointer

    Hi,
    I got problem with deploying an EJB session component (error log below).
    My working environnement:
    Oracle8.1.6 release2, Jdev31, WindowsNT server4.0.
    Also, I' m not able to download any soft from oratechnet; when I click on the zip file to download I get the " Page cannot be displayed".
    Compilation errors in oracle/aurora/ejb/gen/_test_JYM_ejb_test2Pkg/Test2PkgModule/EjbObject_RemoteTest2PkgModule:ORA-29535: source requires recompilationjava.lang.NullPointerException at sun.tools.java.Environment.error(Environment.java) at sun.tools.java.Environment.error(Environment.java) at sun.tools.java.Environment.error(Environment.java) at sun.tools.java.OracleClassLocator.getHandle(OracleClassLocator.java) at sun.tools.java.OracleClassLocator.getLocationEntry(OracleClassLocator.java) at sun.tools.java.OracleClassLocator.getClassLocation(OracleClassLocator.java) at sun.tools.java.OracleClassLocator.getClassLocation(OracleClassLocator.java) at sun.tools.java.OracleClassLocator.getBinaryClassLocation(OracleClassLocator.java) at sun.tools.java.OracleClassLocator.getBinaryClassLocation(OracleClassLocator.java) at sun.tools.java.LocatorFinder.find(LocatorFinderFactory.java) at oracle.aurora.compiler.SqljInterface$MyFinder.find(SqljInterface.java) at oracle.aurora.compiler.MemoizedFinder.find(Mem
    izedFinder.java) at oracle.aurora.compiler.CacheUsingFinders$Key.<init>(CacheUsingFinders.java) at oracle.aurora.compiler.CacheUsingFinders.get(CacheUsingFinders.java) at oracle.aurora.compiler.CacheUsingFinders.get(CacheUsingFinders.java) at sun.tools.javac.AuroraEnvironment.classExists(AuroraEnvironment.java) at sun.tools.java.Environment.classExists(Environment.java) at sun.tools.java.Environment.classExists(Environment.java) at sun.tools.java.Environment.classExists(Environment.java) at sun.tools.java.Environment.resolvePackageQualifiedName(Environment.java) at sun.tools.java.ClassDefinition.resolveName(ClassDefinition.java) at sun.tools.java.Environment.resolveNames(Environment.java) at sun.tools.java.Environment.resolveNames(Environment.java) at sun.tools.javac.SourceMember.resolveTypeStructure(SourceMember.java) at sun.tools.javac.SourceClass.resolveTypeStructure(SourceClass.java) at sun.tools.javac.SourceClass.basicCheck(SourceClass.java) at sun.tools.java.ClassDeclaration.getClassDefin
    tion(ClassDeclaration.java) at oracle.aurora.jdkcompiler.JdkDriver.compile(JdkDriver.java) at oracle.aurora.rdbms.Compiler.doCompile(Compiler.java) at oracle.aurora.rdbms.Compiler.compile(Compiler.java)<no file>: An exception has occurred in the compiler; This is a compiler bug not an error in source. Info: 1 errors
    thanks in advance for any advice and help

    Hi,
    I got problem with deploying an EJB session component (error log below).
    My working environnement:
    Oracle8.1.6 release2, Jdev31, WindowsNT server4.0.
    Also, I' m not able to download any soft from oratechnet; when I click on the zip file to download I get the " Page cannot be displayed".
    Compilation errors in oracle/aurora/ejb/gen/_test_JYM_ejb_test2Pkg/Test2PkgModule/EjbObject_RemoteTest2PkgModule:ORA-29535: source requires recompilationjava.lang.NullPointerException at sun.tools.java.Environment.error(Environment.java) at sun.tools.java.Environment.error(Environment.java) at sun.tools.java.Environment.error(Environment.java) at sun.tools.java.OracleClassLocator.getHandle(OracleClassLocator.java) at sun.tools.java.OracleClassLocator.getLocationEntry(OracleClassLocator.java) at sun.tools.java.OracleClassLocator.getClassLocation(OracleClassLocator.java) at sun.tools.java.OracleClassLocator.getClassLocation(OracleClassLocator.java) at sun.tools.java.OracleClassLocator.getBinaryClassLocation(OracleClassLocator.java) at sun.tools.java.OracleClassLocator.getBinaryClassLocation(OracleClassLocator.java) at sun.tools.java.LocatorFinder.find(LocatorFinderFactory.java) at oracle.aurora.compiler.SqljInterface$MyFinder.find(SqljInterface.java) at oracle.aurora.compiler.MemoizedFinder.find(Mem
    izedFinder.java) at oracle.aurora.compiler.CacheUsingFinders$Key.<init>(CacheUsingFinders.java) at oracle.aurora.compiler.CacheUsingFinders.get(CacheUsingFinders.java) at oracle.aurora.compiler.CacheUsingFinders.get(CacheUsingFinders.java) at sun.tools.javac.AuroraEnvironment.classExists(AuroraEnvironment.java) at sun.tools.java.Environment.classExists(Environment.java) at sun.tools.java.Environment.classExists(Environment.java) at sun.tools.java.Environment.classExists(Environment.java) at sun.tools.java.Environment.resolvePackageQualifiedName(Environment.java) at sun.tools.java.ClassDefinition.resolveName(ClassDefinition.java) at sun.tools.java.Environment.resolveNames(Environment.java) at sun.tools.java.Environment.resolveNames(Environment.java) at sun.tools.javac.SourceMember.resolveTypeStructure(SourceMember.java) at sun.tools.javac.SourceClass.resolveTypeStructure(SourceClass.java) at sun.tools.javac.SourceClass.basicCheck(SourceClass.java) at sun.tools.java.ClassDeclaration.getClassDefin
    tion(ClassDeclaration.java) at oracle.aurora.jdkcompiler.JdkDriver.compile(JdkDriver.java) at oracle.aurora.rdbms.Compiler.doCompile(Compiler.java) at oracle.aurora.rdbms.Compiler.compile(Compiler.java)<no file>: An exception has occurred in the compiler; This is a compiler bug not an error in source. Info: 1 errors
    thanks in advance for any advice and help

  • Error while compile .Java to .class

    I am new in java card. I have some problem when compile java card applet.
    1. I installed j2sdk1.4.2_07 and java_card_kit- 2_2_2 to build a sample java card. I set the environment as:
    @echo off
    set JC_HOME=C:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2
    set JAVA_HOME=c:\j2sdk1.4.2_07
    set PATH=.;%JC_HOME%\bin;%JAVA_HOME%\bin;%PATH%
    I created a java applet and saved in C\STCard, and I use windows command to compile, the command is:
    c:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2\samples>javac -g -classpath c:\STCard;..\lib\api.jar;..lib\installer.jar c:\STCard\*.java
    but the error is: "cannot access javacard.framework.APDU"
    What am I wrong?
    2. I use eclipse 3.3.2, eclipse jcde 0.1, java_card_kit-2_2_2, jdk1.6.0 to compile java card applet. The compilation from .java to .class was no problem, but from the .class to .cap has problem:
    java com.sun.javacard.converter.Converter -config .\converter2.opt
    error: stcard.STCard: unsupported class file format of version 50.0.
    What should I do to convert from .class to .cap?
    Thx all

    I have a typically problem , I am a student and learning core java am just a beggineer in java,i have sucessfully installed my JavaEE1.5 software on my computer but have got a problem while compiling my Java programs ,while passing the commands in my command prompt i am encounteering a problem ,am geeting an error message in my command prompt" 'javac' is not recoginized as an internal or external command ,operable program or batch file".i had also tried my own software cd of JavaEE1.5 version and installed at others computers it is running sucessfully but can i know Why it is not geeting in to my Pc & giving compilation error while compiling my java programs. so kindly sujjest me my remedy of my problem.

  • Error while compiling java file using J2SE 1.5.0

    Dear Sir,
    I'm getting the following error while compiling the java file.The code is also given.
    package test;
    public class TestRowSet {
    public TestRowSet() {
    "TestRowSet.java": cannot access java.lang.Object,bad class file: D:\Program Files\Java\jdk1.5.0\jre\lib\rt.jar\java\lang\Object.class,class file has wrong version 49.0, should be 48.0,Please remove or make sure it appears in the correct subdirectory of the classpath. at line 4, column 1
    Please help me out.
    --Suketu Naik.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    But I'm compiling within "Borland JBuilder 9.0". I've
    set the JDK path of the current project to point to
    the path of JDK 1.5.0 . I've also tried to compile at
    command prompt with "javac". I'm getting the same
    error of "Undefinedclassloader" with long StatckTrace.
    I don't know anything about JBuilder either. If you use the command prompt and enter the full path to the 1.5 javac.exe then that will prove whether the issue is using an older javac or not. For example "c:\j2sdk1.5.0_01\bin\javac HelloWorld.java"

  • Error while compiling java file

    Hi, im newby in java,
    i was trying to compile java files, and after that i will use it in JSP as javabean.
    I have 2 files already, the first file is a connection code, and its compiled successfully, it looks like this
    i named this as ConnectionBean.java
    package my_package;
    import java.sql.*;
    public class ConnectionBean {
         private Connection con;
         private static final String driver = "org.postgresql.Driver";
         private static final String url = "jdbc:postgresql://localhost:5432/PSQLDS";
         private static final String username = "postgres";
         private static final String password = "mypassword";
         public ConnectionBean() {
         public Connection logOn() {
              try {
                   Class.forName(driver); con = DriverManager.getConnection(url, username, password); }
              catch(ClassNotFoundException e) {
                   System.err.println("ConnectionBean: driver unavailable..."); con = null; }
              catch (SQLException e) {
                   System.err.println("ConnectionBean: driver not loaded..."); con = null; }
              return con;
         public void logOff() {
              try {
                   con.close(); }
              catch (Exception e) {
                   e.printStackTrace(); }
    as you can see above im using "package", and yes i have manage to put all my java files within the correct path (ROOT\WEB-INF\classes\my_package)
    And also, i have test this class as javabean on JSP file and it works.
    There for i continue to create the second java file, as a purpose to create a back engine for JSP. I use the same package as ConnectionBean.java, it looks like this
    i named this as ListPageEngine.java
    package my_package;
    import java.beans.*;
    import java.sql.*;
    public class ListPageEngine {
         public static void main(String[] args) {
              ConnectionBean conBean = new ConnectionBean();}
    on compiling process using command "javac ListPageEngine.java", i get this error message
    ListPageEngine.java:11: cannot find symbol
    symbol : class ConnectionBean
    location: class my_package.ListPageEngine
    ConnectionBean conBean = new ConnectionBean();}
    ^
    ListPageEngine.java:11: cannot find symbol
    symbol : class ConnectionBean
    location: class my_package.ListPageEngine
    ConnectionBean conBean = new ConnectionBean();}
    ^
    2 errors
    I think, i am pretty much sure that all my configuration (wheater its Apache TomCat, Environment Variable or PostgreSQL server) was good, as a prove, i was able to use ConnectionBean.class in my JSP file.
    I susspect the problem is related with "package", seems i cannot use ConnectionBean class within ListPageEngine class when i use package.
    For another information, i didn't install such thing as J2EE, i only install JDK 1.5, i also guess this might be the cause.
    Right now im all stuck, i try to find thread which might be related with my problem but i failed to find it, most of them get the same answer by UncleSAM which are
    Try the following forum (about JSP technology)
    http://forum.java.sun.com/forum.jspa?forumID=45
    JavaBeans spec contains nothing about JSP, but JSP spec describes using of beans.
    i hope my question is clear so anyone who might have experience or clue with this problem might be able to help me.
    Thanks before

    finally folks, i found answer to my own problem hehehehe..
    the problem is on the compiling command (javac ... my_file.java), i found that i need to add some parameter on the command to make it works.
    This problem solved.

  • NoSuchfieldName error while compiling a class that was produced by sqlj

    hello all,
    could you please tell me where the following error code came from when i
    tried to execute java TestInstallSQLJ?
    I could use sqlj TestInstallSQLJ.sqlj to translate it into java code, but
    then....
    thank you for your help.
    Exception in thread "main" java.lang.NoSuchFieldError
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Error.<init>(Error.java:50)
    at java.lang.LinkageError.<init>(LinkageError.java:43)
    at
    java.lang.IncompatibleClassChangeError.<init>(IncompatibleClassChangeError.java:43)
    at java.lang.NoSuchFieldError.<init>(NoSuchFieldError.java:45)
    at
    oracle.sqlj.runtime.OraDynamicClosure.getSQLType(OraDynamicClosure.java:68)
    at
    oracle.sqlj.runtime.OraBasicClosure.<init>(OraBasicClosure.java:47)
    at
    oracle.sqlj.runtime.OraClosureFactory.addStandardTypes(OraClosureFactory.java:138)
    at
    oracle.sqlj.runtime.OraClosureFactory.get81Closures(OraClosureFactory.java:50)
    at
    oracle.sqlj.runtime.OraClosureFactory.getTypeClosures(OraClosureFactory.java:33)
    at
    oracle.sqlj.runtime.OraCustomization.getProfile(OraCustomization.java:95)
    at
    oracle.sqlj.runtime.OraCustomization.getProfile(OraCustomization.java:87)
    at sqlj.runtime.profile.ref.ProfileImpl.getConnectedProfile(Compiled
    Code)
    at
    sqlj.runtime.ref.ProfileGroup$ConnectedGroup.getProfile(ProfileGroup.java:154)
    at
    sqlj.runtime.ref.ConnectionContextImpl.getConnectedProfile(ConnectionContextImpl.java:183)
    at
    sqlj.runtime.ExecutionContext.registerStatement(ExecutionContext.java:279)
    at TestInstallSQLJ.runExample(Compiled Code)
    at TestInstallSQLJ.main(TestInstallSQLJ.java:56)

    following is my environment:
    sqlj -version-long
    Oracle SQLJ Release 8.1.6.0.0 - SDK
    Build version: 1.0.4.4 - Built on Apr 14, 1999
    IDE interface version: 8.1.6.0.0/1.0.4.4
    JDBC version: non Oracle driver version 0.0 (0.0.0.0)
    java -version
    java version "1.2.1"
    Solaris VM (build Solaris_JDK_1.2.1_03, native threads, sunwjit)
    echo $PATH
    a long path +
    /examples/sqlj/bin
    echo $CLASSPATH
    a long CLASSPATH +
    /examples/sqlj/lib/translator.zip:
    oracle JDBC driver8.1.7
    it translated my sqlj files but then it can't interprete my java classes.
    thank you a lot for your help

  • Error while importing java class into oracle forms 10g

    Hi
    I have generated a web service client using jdeveloper 10g. It consists of complex type methods. I am trying to import the class files using java importer in oracle form 10g. I am able import all of them successfully except one. That one is the main method. Please see the error and suggest me how to overcome this error.
    Exception occurred: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    Thanks in advance

    Do you see oracle/jdeveloper listed in "Import Java Classes" when you try to import?
    If not, make sure you add C:\DevSuiteHome_1\jdev\lib\jdev.jar to FORMS_BUILDER_CLASSPATH in registry
    Also excetion indicates: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    If you typing it - type: oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub

  • Error While Importing Java Classes

    I have Forms 6i and when i am trying to import Java classes i am getting the following error
    "PDE-UJI001 FAILED TO START THE JVM".
    i think i have not set the path and classpath properly.i am having Windows 2000 server as my OS. please help me how to solve this problem

    The Java Importer tool needs the JDK 1.2.2 to be installed on
    the machine to run properly. This JDK can be downloaded from the
    Sun web site at http://www.sun.com
    If there is no JDK 1.2.2, the Java Importer tool cannot be started.
    Either that or its not being found in the classpath.
    Regards
    Grant Ronald
    Forms Product Management

  • Error when compiling java class

    I am trying to compile the DVDService class which instiates the DVD class which is in the same package, but I get cannot resolver sumbol error because it could not recognise DVD class. I have included the current dir also in the class path. Can someone tell me where I am going wrong. DVD.class is the same subfolder aws DVDService.java
    THanks
    Meena
    package com;
    import java.util.*;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2006</p>
    * <p>Company: </p>
    * @author not attributable
    * @version 1.0
    public class DVDService
      public DVDService() {
    public DVD getDVD()
        List obj;
        obj = new ArrayList();
        obj.add("Denzel");
        obj.add("kamal");
        obj.add("rajini");
        DVD dvd = new DVD();
        dvd.setId("1");
        dvd.setTitle("Siege");
        dvd.setLength("120");
        dvd.setActors(obj);
        return dvd;
      public String getString(String s)
      return s;
      public Vector getVector(String[] a)
        Vector v = new Vector();
        String s1;
        for(int i = 0; i<a.length; i++)
          s1=a;
    v.add(s1);
    return v;
    public float getfloat(int i)
    return i;
    public static void main(String[] args) {
    DVDService dvdservice = new DVDService();
    DVD dvd1 = dvdservice.getDVD();
    String id = dvd1.getId();
    System.out.println("The value of id is " +id);
    String title = dvd1.getTitle();
    System.out.println("The value of title is " +title);
    String length = dvd1.getLength();
    System.out.println("The value of length is " +length);
    List list = dvd1.getActors();
    Iterator iter = list.iterator();
    while (iter.hasNext()) {
    System.out.println("The value of next element is " + (String) iter.next());
    String u = dvdservice.getString("chinna");
    System.out.println("Value of String u is " +u);
    Vector v1 = dvdservice.getVector(new String[] {"meena","chinna","karthick"});
    iter = v1.iterator();
    while(iter.hasNext())
    System.out.println("The valeu of vector elemet is " +(String)iter.next());
    float f = dvdservice.getfloat(2);
    System.out.println("The float output is " +f);

    If your directory structure looked like this, for example:
    c
    |_java
        |_applications
              |_com
                  |_pgm1
                  |_pgm2... Then back up to the 'applications' directory and compile as:
    javac com\*.java
    Run as:
    java com.pgm1
    ~Bill

  • Error while loading java file in Oracle

    Hi,
    I am facing error while loading java class into oracle . Can you please help
    -bash-3.2$ cd /export/home/sacuser/
    -bash-3.2$ loadjava -user sacuserdb/sacuserdb@BLM - resolve Oracle_Validator/src/com/nec/blm/oracle/validator/Validate.java
    unrecognized or badly formed option -
    loadjava: Usage: loadjava [-definer] [-encoding encoding] [-force] [-genmissing] [-genmissingjar jar] [-grant grant                                          s] [-help] [-nousage] [-noverify] [-oci8] [-order] [-resolve] [-resolver resolver] [-schema schema] [-synonym] [-th                                          in] [-tableschema schema] [-user user/password@database] [-verbose] classes..jars..resources..properties...
    -bash-3.2$ loadjava -user sacuserdb/sacuserdb@BLM -resolve Oracle_Validator/src/com/nec/blm/oracle/validator/Validate.java
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0x0
    Function=[Unknown.]
    Library=(N/A)
    NOTE: We are unable to locate the function name symbol for the error
          just occurred. Please refer to release documentation for possible
          reason and solutions.
    Current Java thread:
            at oracle.jdbc.driver.T2CConnection.t2cCreateState(Native Method)
            at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:346)
            at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:413)
            at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:131)
            at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:77)
            at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:752)
            at java.sql.DriverManager.getConnection(DriverManager.java:512)
            - locked <0xf5fdc448> (a java.lang.Class)
            at java.sql.DriverManager.getConnection(DriverManager.java:140)
            - locked <0xf5fdc448> (a java.lang.Class)
            at oracle.aurora.server.tools.loadjava.DatabaseOptions.getConnection(DatabaseOptions.java:180)
            at oracle.aurora.server.tools.loadjava.DatabaseOptions.connect(DatabaseOptions.java:123)
            at oracle.aurora.server.tools.loadjava.LoadJavaState.getConnection(LoadJavaState.java:409)
            at oracle.aurora.server.tools.loadjava.LoadJavaState.getOldMD5(LoadJavaState.java:696)
            at oracle.aurora.server.tools.loadjava.ClientSchemaObject.getOldMD5(ClientSchemaObject.java:52)
            at oracle.aurora.server.tools.loadjava.SchemaObject.doCreate(SchemaObject.java:172)
            at oracle.aurora.server.tools.loadjava.SchemaObject.process1(SchemaObject.java:215)
            at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:532)
            at oracle.aurora.server.tools.loadjava.LoadJava.addSource(LoadJava.java:574)
            at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:439)
            at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:380)
            at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:349)
            at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:652)
            at oracle.aurora.server.tools.loadjava.LoadJava.processDeferredFiles(LoadJava.java:617)
            at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:818)
            at oracle.aurora.server.tools.loadjava.LoadJava.command(LoadJava.java:251)
            at oracle.aurora.server.tools.loadjava.LoadJavaMain.run(LoadJavaMain.java:103)
            at oracle.aurora.server.tools.loadjava.LoadJavaMain.main(LoadJavaMain.java:28)
    Dynamic libraries:
    0x8050000       /opt/oracle/product/10g/jdk/jre/bin/java
    0xfef80000      /lib/libthread.so.1
    0xfef40000      /lib/libdl.so.1
    0xfee10000      /lib/libc.so.1
    0xfea00000      /opt/oracle/product/10g/jdk/jre/lib/i386/client/libjvm.so
    0xfedd0000      /usr/lib/libCrun.so.1
    0xfedb0000      /lib/libsocket.so.1
    0xfe960000      /lib/libnsl.so.1
    0xfed90000      /lib/libm.so.1
    0xfedc0000      /usr/lib/libsched.so.1
    0xfe900000      /lib/libm.so.2
    0xfed40000      /lib/libscf.so.1
    0xfe8e0000      /lib/libdoor.so.1
    0xfe8b0000      /lib/libuutil.so.1
    0xfe890000      /lib/libgen.so.1
    0xfe870000      /lib/libmd.so.1
    0xfe850000      /lib/libmp.so.2
    0xfe830000      /opt/oracle/product/10g/jdk/jre/lib/i386/native_threads/libhpi.so
    0xfe3d0000      /opt/oracle/product/10g/jdk/jre/lib/i386/libverify.so
    0xfe3a0000      /opt/oracle/product/10g/jdk/jre/lib/i386/libjava.so
    0xfe380000      /opt/oracle/product/10g/jdk/jre/lib/i386/libzip.so
    0xf9e80000      /opt/oracle/product/10g/lib32/libocijdbc10.so
    0xf0e00000      /opt/oracle/product/10g/lib32/libclntsh.so.10.1
    0xf0c60000      /opt/oracle/product/10g/lib32/libnnz10.so
    0xf9e60000      /lib/libkstat.so.1
    0xf9e30000      /lib/libaio.so.1
    0xf1b60000      /lib/librt.so.1
    Heap at VM Abort:
    Heap
    def new generation   total 576K, used 237K [0xf1e00000, 0xf1ea0000, 0xf22e0000)
      eden space 512K,  45% used [0xf1e00000, 0xf1e3a058, 0xf1e80000)
      from space 64K,   8% used [0xf1e90000, 0xf1e915c0, 0xf1ea0000)
      to   space 64K,   0% used [0xf1e80000, 0xf1e80000, 0xf1e90000)
    tenured generation   total 1408K, used 204K [0xf22e0000, 0xf2440000, 0xf5e00000)
       the space 1408K,  14% used [0xf22e0000, 0xf23130f0, 0xf2313200, 0xf2440000)
    compacting perm gen  total 4096K, used 2662K [0xf5e00000, 0xf6200000, 0xf9e00000)
       the space 4096K,  65% used [0xf5e00000, 0xf6099a38, 0xf6099c00, 0xf6200000)
    Local Time = Mon Jun 17 16:29:08 2013
    Elapsed Time = 0
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_05-b04 mixed mode)
    # An error report file has been saved as hs_err_pid27805.log.
    # Please refer to the file for further information.
    Abort (core dumped)

    Please try to compile your java source file with jdk avaiable in ORACLE_HOME\jdk\bin\javac.
    load the compiled class file in oracle DB using loadjava utility.
    loadjava -user scott/tiger javafile.class

  • Error while compiling the ejb java source files.................

    hi,
    i am new to ejb.......
    i have got error while compiling the ejb java source files............
    while compiling..........of this three i ahve got err in ejb home interface....
    ejb remote interface - succeded
    ejb bean class - succeded
    ejb home interface - error
    the error..............is in the return type of the ejb create() method in ejb home interface(which is the type of remote interface).
    the error message is cannot resolve symbol

    Hi,
    thanks for ur reply .....
    i have done enough searching in all sites including sun forum but in vain
    i have pasted my error below...
    can u plz predict anything from it
    D:\>path=%path%;c:\j2sdk1.4.2_12\bin;
    D:\>set classpath=%classpath%;d:\Sun\AppServer\lib\j2ee.jar;
    D:\>javac d:\Librarys\Library.java
    D:\>javac d:\Librarys\LibraryBean.java
    D:\>javac d:\Librarys\LibraryHome.java
    d:\Librarys\LibraryHome.java:8: cannot resolve symbol
    symbol : class Library
    location: interface Librarys.LibraryHome
    public Library create(String id, String name, String address, String phoneNo
    ) throws RemoteException, CreateException;
    ^
    d:\Librarys\LibraryHome.java:9: cannot resolve symbol
    symbol : class Library
    location: interface Librarys.LibraryHome
    public Library findByPrimaryKey(String id) throws FinderException, RemoteExc
    eption;
    ^
    2 errors
    thanks in advance...

  • Error while compiling VO  java files

    I am getting following error while compiling VO java class in my instance
    Exception in thread "main" java.lang.ClassFormatError: com.sun.tools.javac.main.Main (erroneous method access flags)
    at JvClassReader.throw_class_format_error(byte) (/usr/lib/libgcj.so.5.0.0)
    at JvClassReader.handleMethod(int, int, int, int) (/usr/lib/libgcj.so.5.0.0)
    at JvClassReader.read_methods() (/usr/lib/libgcj.so.5.0.0)
    at JvClassReader.parse() (/usr/lib/libgcj.so.5.0.0)
    at JvDefineClass(java.lang.Class, byte[], int, int) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)
    at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.CodeSource) (/usr/lib/libgcj.so.5.0.0)
    at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
    at JvFindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at JvBytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)
    at JvVerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
    at JvPrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at JvWaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
    at JvThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
    at JvRunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
    at __libc_start_main (/lib/tls/libc-2.3.4.so)
    Please advise me to get rid of this one.
    -- Manoj
    Edited by: 856261 on May 4, 2011 12:55 AM

    I created custom VO and files in my local JDev and it is working properly.
    I wanna migrate it to actual instance.So my question is is it mandatory to compile custom java file in application server or i can use same which i used in my local machine(windows)?
    -- Manoj

  • Suffering an complie error when trying to compile java class in EBS11i

    Hi,
    When I trying to compile java classes with which imported the HttpServletResponse class, will get the follow error message:
    package javax.servlet does not exist
    cannot resolve symbol
    symbol : class HttpServletResponse
    It seems the javax.servlet package is not included in the classpath. But I checked the $CLASSPATH, it seems no problem.
    echo $CLASSPATH
    /u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/u02/applvis/viscomn/java/appsborg2.zip:/u02/applvis/visora/8.0.6/forms60/java:/u02/applvis/viscomn/java
    Does anyone know the reason?
    environment: ebs 11i
    Thanks&Regards,
    Xiaofeng

    resolved this issue.
    1. Edit $APPL_TOP/admin/adovars.env file -
    Add the following jar files to the AF_CLASSPATH line -
    Full path of /...../iAS/Apache/Jsdk/lib/jsdk.jar
    Full path of /...../iAS/Apache/Jserv/libexec/ApacheJServ.jar
    2. Bounce the concurrent manager in order to have the changes take effect.

  • ORACLE error 1031 while importing java classes

    Hello Guys,
    We are seeing following errors while importing SYS/SYSTEM objects.
    IMP-00017: following statement failed with ORACLE error 1031:
    IMP-00003: ORACLE error 1031 encountered
    IMP-00090: Unexpected DbmsJava error -1031 at step 6666 while creating JAVA CLASS "javax/swing/plaf/basic/BasicTreeUI$KeyHandl
    er"
    We are doing platform migration of Oracle Apps instance from Solaris to Linux using exp/imp.
    These errors are same for numorous classfiles. Seems like some privileges are lacking but not sure what they are. If any of you had similar experiences before please share with us. We have an open P1 SR with Oracle running for almost 3 days but no solution yet ...
    Thank you,
    Aditya

    Pl post your full versions of OS, EBS and database. Pl verify that you are following these MOS Docs
    238276.1 - Migrating to Linux with Oracle Applications Release 11i
    567703.1 - Debugging Platform Migration Issues in Oracle Applications 11i
    HTH
    Srini

  • Error loading a java class to oracle db

    hi,
    my oracle server: 8i Enterprise Edition Release 8.1.7.0.0
    i want to load a simple java class into my oracle server.
    java source:
    public class Ping
         java.lang.String server;
         public static void main(java.lang.String[] args)
              System.out.println(new Ping().runCmd(args[0]));
         public static java.lang.String runCmd(String cmd)
    boolean result=false;
    int timeout=5000;
    try {            
    java.net.InetAddress byName=java.net.InetAddress.getByName(cmd);
                   result=byName.isReachable(timeout);
    catch(java.io.IOException e)
    e.printStackTrace();
         java.lang.String retVal=java.lang.Boolean.toString(result);
              return retVal;
    after compiling the java file. i'm using loadjava at dos prompt.
    loadjava -user uname/pwd@db -resolve Ping.class
    this command results in
    ORA-29545: badly formed class:
    loadjava: 1 errors
    alternatively i had used a command
    loadjava -user uname/pwd@db -noverify -resolve Ping.class
    this command results in
    Error while turning off verifier
    ORA-29532: Java call terminated by uncaught Java exception: java.security.Ac
    cessControlException: the Permission (oracle.aurora.security.JServerPermission V
    erifier ) has not been granted by dbms_java.grant_permission to SchemaProtection
    Domain(SMSPGS|PolicyTableProxy(SMSPGS))
    ORA-29545: badly formed class:
    loadjava: 2 errors
    but user is having sufficient rights (javasyspriv)
    what is wrong above, please help me.
    regards,
    s.mohamed asif

    hi,
    thanks for your response
    Ping.class just checks whether the specified node is reachable or not.
    result=byName.isReachable(timeout);
    the jdk loaded in oracle DB is older one and the method above java.net.InetAddress.isReachable(java.lang.int) is available since
    jdk 1.5
    source:
    public class Ping
    java.lang.String server;
    public static void main(java.lang.String[] args)
    System.out.println(new Ping().runCmd(args[0]));
    public static java.lang.String runCmd(String cmd)
    boolean result=false;
    int timeout=5000;
    try {
    java.net.InetAddress byName=java.net.InetAddress.getByName(cmd);
    result=byName.isReachable(timeout);
    catch(java.io.IOException e)
    e.printStackTrace();
    java.lang.String retVal=java.lang.Boolean.toString(result);
    return retVal;
    }how to load the new jdk set into existing oracle db server and replace the existing jdk.
    what can be done to achieve this ?
    regards,
    s.mohamed asif

Maybe you are looking for