1 Reply Latest reply on Dec 29, 1999 2:50 AM by 3004

    Pls help me settle the loadjava problem

    3004
      I try to load helloword sample java store procedure into oracle server,
      and got the following error messages. Please help! Thanks.

      loadjava -u scott/tiger@daviddb -r -v testj.java

      The error messages :

      internal error: unanticipated exception:
      java.lang.NoClassDefFoundError: oracle/aurora/sqljdecl/SqljDecl

      java.lang.NoClassDefFoundError: oracle/aurora/sqljdecl/SqljDecl
      at
      oracle.aurora.server.tools.SourceFileReader.getScanner(SourceFile
      Reader.java:52)
      at
      oracle.aurora.server.tools.SourceFileReader.getFirstName(SourceFi
      leReader.java:61)
      at
      oracle.aurora.server.tools.LoadJava.processLoadAndCreate(LoadJava
      .java:1094)
      at
      oracle.aurora.server.tools.LoadJava.process(LoadJava.java:1021)
      at
      oracle.aurora.server.tools.LoadJavaMain.run(LoadJavaMain.java:193
      )
      at
      oracle.aurora.server.tools.LoadJavaMain.main(LoadJavaMain.java:49
      )
      resolver :
      loadjava: 1 errors
      null
        • 1. Pls help me settle the loadjava problem
          3004

          sounds like your on win nt when executing this command.

          add the translator.zip file found in the sqlj folder or its subfolder to your classpath on the platform running the "loadjava" command.

          if no "classpath" variable exists in the "environment" tab of the "system" icon in the "control panel" -- then add it.

          make sure you shutdown and restart your dos command line window to pickup the change.

          i hope this helps ...