My first SQLJ example error

I am new to sqlj, I get the following error when I run sqlj at dos prompt:
Warning: Code generator "oracle" cannot be instantiated from class oracle.sqlj.c
odegen.CodeGenFactory: oracle.jdbc.OraclePreparedStatement.
I am using Oracle 9iR2 under Windows2000 I have set classpath as
instructed in oracle docs. Please help me.
Thank you.
D:\sqlj
Usage: sqlj [options] file1.sqlj [file2.java] ...
or sqlj [options] file1.ser [file2.jar] ...
where options include:
-d=<directory> root directory for generated binary files
-encoding=<encoding> Java encoding for source files
-user=<user>/<password> enable online checking
-url=<url> specify URL for online checking
-status print status during translation
-compile=false do not compile generated Java files
-linemap instrument compiled class files from sqlj source
-profile=false do not customize generated *.ser profile files
-ser2class convert generated *.ser files to *.class files
-P-<option> -C-<option> pass -<option> to profile customizer or compiler
-P-help -C-help get help on profile customizer or compiler
-J-<option> pass -<option> to the JavaVM running SQLJ
-version get SQLJ version
-help-alias get help on command-line aliases
-help-long get full help on all front-end options
Note: place -<key>=<value> in sqlj.properties as sqlj.<key>=<value>
unexpected error occurred...
java.lang.NoClassDefFoundError: oracle/jdbc/OraclePreparedStatement
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.sqlj.checker.JdbcVersion.getSqljLibraryName(JdbcVersion.java:4
89)
at sqlj.tools.Sqlj.checkConfiguration(Sqlj.java:713)
at sqlj.tools.Sqlj.statusMain(Sqlj.java:284)
at sqlj.tools.Sqlj.main(Sqlj.java:146)
Error: Exception caught:
Warning: Code generator "oracle" cannot be instantiated from class oracle.sqlj.c
odegen.CodeGenFactory: oracle.jdbc.OraclePreparedStatement.
Total 1 error and 1 warning.

Hi, ur problem is solved???add ORACLE_HOME\jdbc\lib\classes12.zip; in ur classpath & try..
GoodlUCK

Similar Messages

  • How do i use home.html in the first Jboss example

    how do i use home.html in the first Jboss example? i got the example to work through the command line method. i also got the CD example to work.
    the documentation does not tell you how to use the home.html file. the file suggests that i can call the servlet because it has this line:
    <form action="InterestServlet" method="POST" >
    from my knowledge of servlets, i should be able to put the home.html file in the same directory that the servlet is in, and as long as a web browser can access it in that location, then this should work... right?
    can someone tell me specifically what they did to get it to work? i CANNOT FIGURE OUT what the servlet URL is. my first guess would be http://localhost/servlets/InterestServlet . This doesnt work. Does anyone understand where i am coming from??
    I am using ANT, and the normal install of the latest JBoss. i do not have a web server running because the JBoss server says in the console "[INFO,WebService] Starting
    [INFO,WebService] Started webserver with address: null port: 8083
    [INFO,WebService] Codebase set to: http://thor:8083/
    [INFO,WebService] Started" and so i assume there is a web service there?????

    ADDENDUM:
    i still cant figure out my servlet question, so please help, if you can.
    i just figured out that i need to download the JBoss Tomcat/Catalina server. I got it running except that the Catalina web server only is working when i run it standalone, and i cant figure out why. It keeps throwing this exception:
    [INFO,EmbeddedCatalinaServiceSX] StandardHost[localhost]: MAPPING configuration error for request URI
    [ERROR,EmbeddedCatalinaServiceSX] HttpProcessor[8080][4] process.invoke
    java.lang.NullPointerException
    at org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatcherValve.java:280)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
    at java.lang.Thread.run(Unknown Source)

  • Exit Code: 6 Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW050 ...

    Exit Code: 6 Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW050 ... Exit Code: 6 Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW050 ... -------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 2 error(s), 0 warning(s) ERROR: DW050: The following payload errors were found during install: ERROR: DW050:  - Microsoft Visual C++ 2010 Redistributable Package (x64): Install failed ERROR: DW050:  - Microsoft Visual C++ 2010 Redistributable Package (x86): Install failed -------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 2 error(s), 0 warning(s) ERROR: DW050: The following payload errors were found during install: ERROR: DW050:  - Microsoft Visual C++ 2010 Redistributable Package (x64): Install failed ERROR: DW050:  - Microsoft Visual C++ 2010 Redistributable Package (x86): Install failed
    PS CS6,Please help!

    Errors "Exit Code: 6," "Exit Code: 7"
    Mylenium

  • Kernel-Power Event ID 41: The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly.

    Hello,  Currently we are seeing this issue with a couple of our Lenovo T420s laptops with a Solid State Drive.  ruffly about 10 or so.  The Reboots happen randomly and do not create a dump file.  We have contacted Lenovo and they are
    not sure why its happening.  Since this Crash I set it for Minidump this did not work my next steps will be to Disable Automatic restart on System Failure to see if it brings anything up.  I am also looking at using Procmon to dump to a file as well. 
    If anyone has any other ideas please let me know.
    The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly.
    + System
      - Provider
       [ Name]  Microsoft-Windows-Kernel-Power
       [ Guid]  {331C3B3A-2005-44C2-AC5E-77220C37D6B4}
       EventID 41
       Version 2
       Level 1
       Task 63
       Opcode 0
       Keywords 0x8000000000000002
      - TimeCreated
       [ SystemTime]  2012-02-01T00:02:48.677610900Z
       EventRecordID 8270
       Correlation
      - Execution
       [ ProcessID]  4
       [ ThreadID]  8
       Channel System
       Computer LR8K6TLC.cntr.thrivent.corp
      - Security
       [ UserID]  S-1-5-18
    - EventData
      BugcheckCode 0
      BugcheckParameter1 0x0
      BugcheckParameter2 0x0
      BugcheckParameter3 0x0
      BugcheckParameter4 0x0
      SleepInProgress false
      PowerButtonTimestamp 129725280988099400
    Event 89, Kernel-Power
    ACPI thermal zone ACPI\ThermalZone\THM0 has been enumerated.            
    _PSV = 0K            
    _TC1 = 0            
    _TC2 = 0            
    _TSP = 0ms            
    _AC0 = 0K            
    _AC1 = 0K            
    _AC2 = 0K            
    _AC3 = 0K            
    _AC4 = 0K            
    _AC5 = 0K            
    _AC6 = 0K            
    _AC7 = 0K            
    _AC8 = 0K            
    _AC9 = 0K            
    _CRT = 371K            
    _HOT = 0K            
    _PSL - see event data.
    ---- Details
    +
    System
    Provider
    [ Name]
    Microsoft-Windows-Kernel-Power
    [ Guid]
    {331C3B3A-2005-44C2-AC5E-77220C37D6B4}
    EventID
    89
    Version
    0
    Level
    4
    Task
    86
    Opcode
    0
    Keywords
    0x8000000000000020
    TimeCreated
    [ SystemTime]
    2012-02-01T00:02:49.270411900Z
    EventRecordID
    8271
    Correlation
    Execution
    [ ProcessID]
    4
    [ ThreadID]
    68
    Channel
    System
    Computer
    LR8K6TLC.cntr.thrivent.corp
    Security
    [ UserID]
    S-1-5-18
    EventData
    ThermalZoneDeviceInstanceLength
    21
    ThermalZoneDeviceInstance
    ACPI\ThermalZone\THM0
    AffinityCount
    1
    _PSV
    0
    _TC1
    0
    _TC2
    0
    _TSP
    0
    _AC0
    0
    _AC1
    0
    _AC2
    0
    _AC3
    0
    _AC4
    0
    _AC5
    0
    _AC6
    0
    _AC7
    0
    _AC8
    0
    _AC9
    0
    _CRT
    371
    _HOT
    0
    _PSL
    0000000000000000
    Thank you.

    We have tested and checked both the Bios and firmware of the SSD Drive's
    Bios was up to date and no issue
    Firmware was also up to date as well.  
    Users are still experiencing random Reboots.   I tried to capture the issue with Procmon but since the PC shutdown (Goes to a black screen no power at all even when turning the "Automatically
    restart" off under Startup and Recovery) No dmp files as of yet.  Unable to configure Procdump due to not knowing where the issue is and what is causing it to happen.
    Going to replace one of the PC's with a New one with different hardware to see if this resolve the issue.  If anyone has any idea's to be able to capture what maybe happening that would
    be great.
    Thank you.

  • Failed to install Ligthroom CC  Exit Code: 9999 Please see specific errors below for troubleshooting. For example, ERROR:  Summary  0 fatal error(s), 0 error(s) Mac

    Failed to install Ligthroom CC  Exit Code: 9999 Please see specific errors below for troubleshooting. For example, ERROR:  Summary  0 fatal error(s), 0 error(s) Mac

    Exit Code: 6, Exit Code: 7 Installation Errors - http://helpx.adobe.com/creative-suite/kb/errors-exit-code-6-exit.html
    Troubleshoot with install logs | CS5, CS5.5, CS6 - http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html for information on how to review your installation logs

  • Exit Code: 7 Please see specific errors below for troubleshooting. For example,  ERROR: DW013 ...  -------------------------------------- Summary --------------------------------------  - 0 fatal error(s), 6 error(s)   ERROR: -------------------- BEGIN -

    Exit Code: 7
    Please see specific errors below for troubleshooting. For example, ERROR: DW013 ...
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 6 error(s)
    ERROR: -------------------- BEGIN - Initialization Failures - BEGIN --------------------
    ERROR: Fatal error initializing from proxy files.
    ERROR: The following proxy files could not be loaded
    ERROR: /tmp/AB24A935-0FB4-4D57-A6C8-73C0BF15A96E/proxy.xml
    ERROR: -------------------- END - Initialization Failures - END --------------------
    ERROR: DW013: Cannot initialize payload session

    cs5,cs5.5: https://helpx.adobe.com/creative-suite/kb/errors-exit-code-6-exit.html
    lightroom: http://helpx.adobe.com/lightroom/kb/exit-code-7-displays-installing.html
    photoshop elements 13: https://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-installation-errors-exit- codes-6-7.html
    premiere elements: http://helpx.adobe.com/premiere-elements/kb/updated-installation-instructions-premiere-ele ments.html

  • Exit Code: 7 Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW042 ... WARNING: DW066 ...  -------------------------------------- Summary --------------------------------------  - 0 fatal error(s), 1 error(s), 2 war

    Exit Code: 7
    Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW042 ... WARNING: DW066 ...
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 1 error(s), 2 warning(s)
    WARNING: DW066: OS requirements not met for {FA19351D-E98C-48C1-B5E1-0C8C42B5E11C}
    WARNING: DW066: OS requirements not met for {F7FD5B5C-CE79-4657-AEB7-B0EE4626C912}
    ERROR: DW042: ARP Entry couldn't be created for language : en_US
    What the heck does this mean???

    Trying to install Photoshop Elements 11 on Mac OS 10.6.8 with Quicktime 7 also installed. Machine is 21.5" iMac 3.06GHz Core 2 Duo. It was on there before. Had a problem and threw it out to reinstall. Any attempt at reinstall gets same error. Even downloaded the installer from Adobe's site and get same error.

  • I have tried to install Adobe Ilustrator but I receive an error Exit Code: 6 Please see specific errors below for troubleshooting. For example,  ERROR:    -------------------------------------- Summary --------------------------------------   - 0 fatal er

    Exit Code: 6 Please see specific errors below for troubleshooting. For example,  ERROR:   -------------------------------------- Summary --------------------------------------  - 0 fatal error(s), 4 error(s)    ----------- Payload: Microsoft Visual C++ 2012 Redistributable Package (x64) 11.0.61030.0 {3E272A93-C06B-4206-AD02-0EBE02535E20} -----------  ERROR: Third party payload installer vcredist_x64.exe failed with exit code: -2147024546  ERROR: Failed to install Microsoft Visual C++ 2012 Redistributable Package (x64). Please try installing it by double clicking on the executable at "C:\Users\amorales\AppData\Local\Temp\{6A3B9341-4D14-415F-8A21-85327165545E}\Illustrator_18_LS20_win64\Adobe Illustrator CC 2014\payloads\Microsoft VC 2012 Redist (x64)\vcredist_x64.exe", or download and install the latest Microsoft Visual C++ 2012 Redistributable Package (x64) from Microsoft website - www.microsoft.com  ----------- Payload: Microsoft Visual C++ 2012 Redistributable Package (x86) 11.0.61030.0 {873BE68F-480F-49A6-9649-F98CAB056AFC} -----------  ERROR: Third party payload installer vcredist_x86.exe failed with exit code: -2147024546  ERROR: Failed to install Microsoft Visual C++ 2012 Redistributable Package (x86). Please try installing it by double clicking on the executable at "C:\Users\amorales\AppData\Local\Temp\{6A3B9341-4D14-415F-8A21-85327165545E}\Illustrator_18_LS20_win64\Adobe Illustrator CC 2014\payloads\Microsoft VC 2012 Redist (x86)\vcredist_x86.exe", or download and install the latest Microsoft Visual C++ 2012 Redistributable Package (x86) from Microsoft website - www.microsoft.com  -------------------------------------------------------------------------------------

    Errors "Exit Code: 6," "Exit Code: 7"
    Mylenium

  • I can't download flash cc.  It says" Exit Code: 16 Please see specific errors below for troubleshooting. For example,  ERROR: DW039 ...  -------------------------------------- Summary --------------------------------------  - 0 fatal error(s), 1 error(s)

    I can't download flash cc. 
    It says" Exit Code: 16 Please see specific errors below for troubleshooting.
             For example,  ERROR: DW039 ... 
             -------------------------------------- Summary --------------------------------------
              - 0 fatal error(s), 1 error(s)   ERROR: DW039: Failed to load deployment File
    I use mac.

    read the instructions to run the cleaner, Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    and then install.

  • Every time I try to update Muse to 2014.3 version in my mac (OS X 10.10.2) I get this error message: "Exit Code: 39 Please see specific errors below for troubleshooting. For example,  ERROR: DW042 ...  ---- Summary   - 0 fatal error(s), 2 error(s)   ERROR

    Every time I try to update Muse to 2014.3 version in my mac (OS X 10.10.2) I get this error message: "Exit Code: 39 Please see specific errors below for troubleshooting. For example,  ERROR: DW042 ...  ---- Summary   - 0 fatal error(s), 2 error(s)   ERROR: Failed CreateAlias ERROR: DW042: ARP Entry couldn't be created for language : es_ES". I've tried both to uninstall the app and run CleanTooler, but there's no way. What else should I do?

    Davidv82268468 have you removed and reinstalled Adobe Muse using the steps listed in CC desktop lists applications as "Up to Date" when not installed?

  • I have tried downloading about 6 times and this is the message I keep getting.  Pls. tell me what to do!!Exit Code: 7 Please see specific errors below for troubleshooting. For example,  ERROR:--- Summary -----  - 0 fatal error(s), 2 error(s)     ERROR: Th

    I have tried downloading about 6 times and this is the message I keep getting.  Pls. tell me what I am doing wrong
    Exit Code: 7
    Please see specific errors below for troubleshooting. For example, ERROR:
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 2 error(s)
    ERROR: This installer does not support installation on a 64-Bit Windows operating system. Please download the 64-Bit version of Photoshop Elements.
    ERROR: System check returned with error : 6I have tried downloading about 6 times and this is the message I keep getting

    Exit Code: 6, Exit Code: 7 Installation Errors - http://helpx.adobe.com/creative-suite/kb/errors-exit-code-6-exit.html
    Troubleshoot with install logs | CS5, CS5.5, CS6 - http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html for information on how to review your installation logs

  • I cannot install i got this : Exit Code: 7 Please see specific errors below for troubleshooting. For example,  ERROR:   -------------------------------------- Summary --------------------------------------  - 0 fatal error(s), 0 error(s)

    i cannot install the newer version
    i got this  :
    Exit Code: 7
    Please see specific errors below for troubleshooting. For example, ERROR:
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 0 error(s)

    Code 6 & Code 7 http://helpx.adobe.com/creative-suite/kb/errors-exit-code-6-exit.html
    AND JUST FOR MAC USERS - Some 10.9.3 links
    -Mac 10.9.3 workaround https://forums.adobe.com/thread/1489922
    -more Mac 10.9.3 https://forums.adobe.com/thread/1491469
    -Enable Mac Root User https://forums.adobe.com/thread/1156604
    -more Root User http://forums.adobe.com/thread/879931
    -and more root user http://forums.adobe.com/thread/940869?tstart=0

  • Estou com problemas para baixar o photoshop erro: PRE Exit Code: 6 Please see specific errors below for troubleshooting. For example,  ERROR:    -------------------------------------- Summary --------------------------------------   - 0 fatal error(s), 2

    estou com problemas para baixar o photoshop erro:<PRE>Exit Code: 6 Please see specific errors below for troubleshooting. For example,  ERROR:    -------------------------------------- Summary --------------------------------------   - 0 fatal error(s), 2 error(s)     ----------- Payload: Microsoft Visual C++ 2012 Redistributable Package (x64) 11.0.61030.0 {3E272A93-C06B-4206-AD02-0EBE02535E20} -----------  ERROR: Third party payload installer vcredist_x64.exe failed with exit code: -2147024546  ERROR: Failed to install Microsoft Visual C++ 2012 Redistributable Package (x64). Please try installing it by double clicking on the executable at "C:\Users\Silviap\AppData\Local\Temp\{E86F7F7E-85C2-4AC8-8B1A-255B142161A5}\Photoshop_15_ LS20_win64\Adobe CC 2014\payloads\Microsoft VC 2012 Redist (x64)\vcredist_x64.exe", or download and install the latest Microsoft Visual C++ 2012 Redistributable Package (x64) from Microsoft website - www.microsoft.com  -------------------------------------------------------------------------------------  </PRE>

    Code 6 & Code 7 http://helpx.adobe.com/creative-suite/kb/errors-exit-code-6-exit.html

  • Exit Code: 16 Please see specific errors below for troubleshooting. For example,  ERROR: DW039 ...  -------------------------------------- Summary --------------------------------------  - 0 fatal error(s), 1 error(s)   ERROR: DW039: Failed to load deploy

    Exit Code: 16
    Please see specific errors below for troubleshooting. For example, ERROR: DW039 ...
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 1 error(s)
    ERROR: DW039: Failed to load deployment File

    what os?
    what are you doing (or trying to do) when you see that message?

  • Exit Code: 16 Please see specific errors below for troubleshooting. For example,  ERROR: DW039 ...  Summary - 0 fatal error(s), 1 error(s)   ERROR: DW039: Failed to load deployment File

    Exit Code: 16
    Please see specific errors below for troubleshooting. For example,  ERROR: DW039 ...
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 1 error(s)
    ERROR: DW039: Failed to load deployment File

    if this is related to the installation of an adobe product, Troubleshoot with install logs | CS5, CS5.5, CS6, CC

Maybe you are looking for