CLASSPATH=$ORACLE_HOME/jdbc/lib/classes12.zip not recognized

I have included classes12.zip in my CLASSPATH for the user oracle but everytime I try to compile JdbcCheckup.java,
I get the error
Can't find type "oracle/jdbc/driver/OracleDriver"
why can't my Linux machine recognize the driver inside classes12.zip?
Do I need to unzip it and put it in the proper path.
(I tried that with OracleDriver.class , but then I get some other error
i.e
java.lang.NoClassDefFoundError: antlr/collections/AST
at at.dms.kjc.Main.beautifyParseError(Main.java:692)
at at.dms.kjc.Main.parseFile(Main.java:488)
at at.dms.kjc.Main.run(Main.java:119)
at at.dms.kjc.Main.compile(Main.java:449)
at at.dms.kjc.Main.main(Main.java:432)
Somebody, anybody help.
p/s I had the same problem when I was using 8.1.6.2. I have since installed 8.1.7 and JDK 1.2.2, and I still have the same problem.

Sasan,<br>
The file translation.zip is supposed to be located at the mentioned folder.<br>That was right till 9.2. That does no more the case from 10g. <br>Translator.zip was replaced by translator.jar.<br>
Download JPublisher 10g Release 10.2, you will find translator.jar which you need to add at your CLASSPATH instead of translator.zip.<br>
<br>
Nicolas.

Similar Messages

  • I could not find the ORACLE_HOME\sqlj\lib\ transalator.zip

    Hi there;
    I have a 10g installed, and I am looking for a file called translator.zip. This file is supposed to be in ORACLE_HOME\sqlj\lib\transalator.zip. But it is NOT.
    Could any one probably help me where to download this file from?
    Without this file the translation is not possible.
    I also searched all the oracle installation files but nothing came up.
    Thanks;
    Sasan Ebadian

    Already responsed in similar post

  • Help!: JDBC driver classes12.zip

    I use Oracle8i v. 8.1.6 release 2 under Linux platform (RH 7).
    I found out that there's no 'classes12.zip' file (the JDBC Driver supports JDK1.2) in my $ORACLE_HOME/jdbc/lib. It only got:
    classes111.zip
    classes111_g.zip
    jndi.zip
    jta.zip
    nls_charset11.zip
    What should I do?
    Is there any download/cure for this?
    Thank you.

    Hi,
    download at http://otn.oracle.com/software

  • Wher should i keep classes12.zip file

    Hi,
    I am new to java and oracle.I want to connect to database to database using thin driver, but i am un able to connect.I am using j2sdk1.4.2_10 and oracle 8i.
    I have downloaded classes12.zip but don't know where to keep .Can any one help me regarding this issue.
    If possible tell me how many ways we can connect to oracle using java.
    Ashok.

    Ashok,
    The Oracle database distribution should include the JDBC driver. It should be in directory:
    ORACLE_HOME/jdbc/lib
    Where "ORACLE_HOME" is an environment variable, so for a Windows platform it would be:
    %ORACLE_HOME%\jdbc\lib
    And for a UNIX/linux platform it would be:
    $ORACLE_HOME/jdbc/lib
    In any case, it doesn't matter where the "classes12.zip" file is located, you just need to tell java where it is located. There are several ways to do this and the best way depends on the type of application you are using. If you are using a simple, stand-alone java class, then simply use the "-classpath" option of the java command, for example (using UNIX):
    java -classpath $ORACLE_HOME/jdbc/lib/classes12.zip:. YourJavaClass(Note that I have assumed that "YourJavaClass" is in the current directory.)
    Good Luck,
    Avi.

  • Classes12.zip problem :-((

    Hi all, I had a problem when I open a jsp page when I use JDBC connection with classes12.zip. I currently have classes12.zip under c:\Oracle\Ora81\jdbc\lib and I set my environment variable:
    1st try to set: CLASSPATH=c:\Oracle\Ora81\jdbc\lib
    2nd try to set: CLASSPATH=%CLASSPATH%;c:\Oracle\Ora81\jdbc\lib
    3rd try to set: CLASSPATH=$ORACLE_HOME\jdbc\lib
    Then I reboot my machine and start my Tomcat Server. None of these setting is working at all. Here is the error that I get when I load my jsp page:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compiling 1 source file
    [javac] Since fork is true, ignoring compiler setting.
    [javac] C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\t_jsp.java:8: package oracle.jdbc.driver does not exist
    [javac] import oracle.jdbc.driver.*;
    [javac] ^
    [javac] C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\t_jsp.java:59: cannot resolve symbol
    [javac] symbol : class OracleDriver
    [javac] location: package driver
    [javac]           DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    [javac] ^
    [javac] 2 errors
    I read several classes12.zip problem that posted on this forum, but none of them help me at all. By the way my OS is Window 2000 and Tomcat 4.1, Oracle 8.1.7 Enterprise
    Please give me some advices how to fix this.
    Thanks

    Thanks for all your advices, I did try Weiming Zhao
    and 734 instruction, but still not working. By the way, when I do javap oracle.jdbc.driver.OracleDriver, I got the following:
    C:\Dev>javap oracle.jdbc.driver.OracleDriver
    Compiled from OracleDriver.java
    public class oracle.jdbc.driver.OracleDriver extends java.lang.Object implements
    java.sql.Driver {
    public static final char slash_character;
    public static final char at_sign_character;
    static final java.lang.String oracle_string;
    static final java.lang.String user_string;
    static final java.lang.String password_string;
    static final java.lang.String database_string;
    static final java.lang.String server_string;
    static final java.lang.String access_string;
    public static final java.lang.String protocol_string;
    public static final java.lang.String dll_string;
    public static final java.lang.String logon_as_internal_str;
    static final java.lang.String prefetch_string;
    static final java.lang.String row_prefetch_string;
    static final java.lang.String default_row_prefetch_string;
    static final java.lang.String batch_string;
    static final java.lang.String execute_batch_string;
    static final java.lang.String default_execute_batch_string;
    static final java.lang.String remarks_string;
    static final java.lang.String report_remarks_string;
    protected static java.sql.Connection m_defaultConn;
    static {};
    public oracle.jdbc.driver.OracleDriver();
    public boolean acceptsURL(java.lang.String);
    public java.sql.Connection connect(java.lang.String, java.util.Properties) t
    hrows java.sql.SQLException;
    public java.sql.Connection defaultConnection() throws java.sql.SQLException;
    public static java.lang.String getCompileTime();
    public int getMajorVersion();
    public int getMinorVersion();
    public java.sql.DriverPropertyInfo getPropertyInfo(java.lang.String, java.ut
    il.Properties)[] throws java.sql.SQLException;
    public boolean jdbcCompliant();
    There is a SQLException, is this normal? This classes12.zip stop me for the last 4 days. Please advise.
    Thanks

  • CLASSPATH and JDBC Drivers in a Jar File

    Hi all, I am creating an application in JDev that uses JDBC to connect to a 10g database. I am deploying my application to a jar and running it on the database server using the jdk installed with the database. $ORACLE_HOME/jdk/bin I want to also use the jdbc driver installed in $ORACLE_HOME/jdbc/lib instead of including the driver in my application jar file. How can I cause my jar file to find the jdbc lib?
    Can I register it directly with the DriverMannager using the file? My app knows the $ORACLE_HOME.
    Or do I just include the jdbc driver in my jar?
    John

    I was hoping it would be that easy. But I am still having problems. Here is my setup.
    export MON_JAVA="$ORACLE_HOME/jdk/bin/java -classpath /u01/app/oracle/product/10.2.0/db_1/jdbc/lib/ojdbc14.jar"
    $MON_JAVA -jar PMonitor.jar -c trace
    and I get this error when connecting to the database.
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jdbc/OracleDriver
    I also tried the classes.jar with the same results.

  • Where is classes12.zip being accessed by OC4J?

    Hi
    Does anyone know where OC4J in 9.0.2 or 9.0.3 is reading the jdbc driver?. I think is $ORACLE_HOME/jdbc/lib but I'm not sure.

    Yes it does read it from the path you have specified. You can check it by removing the files temporarily from this directory and starting the oc4j server. It will shout for JDBC driver classes.
    Chandar

  • Setting the classpath of classes12.zip for Tomcat

    Hi
    I am using Apache Tomcat webserver and while trying to run a jsp page which intializes oracle.jdbc.driver.OracleDriver it throws an error
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    Please suggest how to set the classpath of classes12.zip in Apache Tomcat
    My Code Snippett
    <%@ page import="java.util.*,java.sql.*,javax.servlet.*"%>
    <body>
         <%
         Connection con ;
         ResultSet rs ;
         Statement stmt ;
         ResultSetMetaData rsmd ;
         try{ 
         Class.forName("oracle.jdbc.driver.OracleDriver");
         catch(Exception e)
         out.println(e);//print the exception on the command prompt
    %>

    The simplest way to do this is to copy classes12.zip to the WEB-INF/lib directory. The JSP should then find this automatically.
    As a side note, that is an ancient JDBC driver - you might want to upgrade to something from this millennium.

  • Regarding classes12.zip files for JDBC usage

    Hello friends,
    I need classes12.zip file for oracle 10g database, & where we need to place them....
    Regards,
    sai.

    Hello sai,
    I need classes12.zip file for oracle 10g databaseI'd recommend to download "general" JDBC drivers from the corresponding OTN page: [url http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html]. I'm not sure if you really want the "classes12.zip", as these drivers are for the outdated Java versions 1.2 and 1.3. Especially these do not (fully) support the current 11.2 XE release. If you can, choose the most recent 11.2 driver download that fits to the JDK version you actually want to use, e.g.      ojdbc6.jar for JDK 6. If you really need to old classes12.zip, you'll find the latest version of these in the [url http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-10201-088211.html]JDBC drivers for 10.2.
    where we need to place them....You need to place them in the classpath of the application that is supposed to use them. Since you didn't tell us anything about it, that's really hard to tell.
    -Udo

  • Is there a way to restore photos from Drop box to my desktop iPhoto in a large batch instead of one at a time? I tried and a zip file was downloaded but won't open. Says file format not recognized.

    Is there a way to restore photos from Drop box to my desktop iPhoto in a large batch instead of one at a time? I tried and a zip file was downloaded but won't open. Says file format not recognized. I see how to do it one at a time with the "download" button in Dropbox but that's so cumbersome for lots of photos.

    Have you tried these avenues?
    Contact us - Dropbox
    Dropbox Help Center
    Dropbox Forums
    Submit a help request - Dropbox
    OT

  • Path in Classpath for file SapMetamodelWebdynproContent.zip not found.

    How to get rid of these warnings?
                   [Warning]: Path in Classpath for file SapMetamodelWebdynproContent.zip not found.          
    Warning               [Warning]: Version for file SapMetamodelWebdynproContent.zip not found.          
    Warning               [Warning]: Versions of 'SapDictionaryTypeServices.jar' have different prefix.          
    Warning               [Warning]: Versions of 'SapDictionaryTypesRuntime.jar' have different prefix.     
    thanks in advance.

    Hi,
    This is a common problem when you import projects to NWDS. Do like this.
    1.Change to Navigator tab in NWDS and delete gen_wdp folder.
    2.Switch to Web Dynpro Explorer. Select the Project -> Right click-> Select properties -> in the wizard select Java Build Path -> Select Libraries tab -> You will find jar files with warnings
    3.Remove the jar and add the jar file with same name to the project one by one.
    4.For each jar file repeat step 3.
    5.Save the project
    Or
    removed the read-only property from all folders / files of the project and it solved my problem.
    Hope this helps!!
    Thanks & Regards
    Vijay K

  • Uploading SCO to Connect, .zip file not recognized?

    I am working in Articulate Storyline 2, packaging as a swf/html5 compliant SCO using SCORM 2004 v.4. When I test the file at SCORM Cloud, the manifest is good and the project launches without issue. When I take the same file and attempt to load it to Connect, the system reports an error - "file format not recognized" I have no idea where to go with this - the Articulate site and this site have no ther instances of this issue - anyone? anyone? Bueller?????

    Hello!
    I know just enough about Articulate and Presenter to be dangerous, so I'll reply.
    Do you happen to have Adobe Presenter 7? I'm not sure about Storyline specifically but I know that with Adobe Presenter 7, you can edit files from Articulate Presenter 8, which can then be uploaded into Connect. Not sure if this is possible with Adobe Presenter 8+, but, it's still in the help files.
    http://helpx.adobe.com/presenter/using/creating-presentations.html
    Now, I do know of some people who did directly upload Articulate Presenter courses directly to Connect without issue. I'll ask though - have you tried setting the content to track for AICC? I would recommend that,then republish.
    Lauren

  • Oracle 9i Driver (classes12.zip) WL 6.1

    I have added the classes12.zip into the CLASSPATH of WL and configured the connection pool to point to an Oracle 9i database. WL starts up with no problem, but here's my 2 questions:
    1. How can I be sure that WL is really using the Oracle 9i JDBC driver instead of the 8i version (included with WL)? Is there a command that I can type to find out?
    2. On some instance of WL, after I point it to an Oracle 9i WL automatically adds dll=ocijdbc9 to the properties text box, but on some WL instance it doesn't add the dll=ocijdbc9 to the properties text box. I am using type 3 driver and not type 2 driver so dll=ocijdbc9 doesn't really matter, just curious on why WL sometime automatically add the dll=ocijdbc9 and sometime it doesn't.
    Any inputs from anyone will be greatly appreciated.
    Thanks!
    Robert

    Hi Robert,
    weblogic should work with any JDBC 2.0 compatible driver.
    Generally certification means that the driver has passed all
    weblogic tests and thus officiall support is provided for related
    issues. In other words, the fact that driver for 9.2 has not been
    certified for weblogic 6.1 doesn't mean that it can not be used
    with 6.1.
    Regards,
    Slava Imeshev
    "Robert Simpson" <[email protected]> wrote in message
    news:3d949c5a$[email protected]..
    Thank you Joe for your response. I really appreciate it! Two morequestions please....
    >
    I believe WL6.1sp2 is not certified to work with Oracle 9.2 and WL7.0sp1is certified to work with Oracle 9.2, am I right?
    >
    So the certification is referring to the internal WL type 2 driver(jdriver) and not referring Oracle 9.2 database and if that's the case, we
    can still download the classes12.zip (Oracle JDBC driver), but since this is
    a 3rd party JDBC driver, WL still do not officially certified it?
    >
    Bottomline if we want to use Oracle 9.2 we should use WL7.0sp1 since thisis officially certified by BEA. Am I right?
    >
    Thanks again!
    Robert

  • The driver: sun.jdbc.odbc.JdbcOdbcDriver could not be loaded with I use jws

    Hi,
    I use Java web start and the problem is that java web start can't be loaded the driver.
    Here is my error message :
    See com.borland.dx.dataset.DataSetException error code: BASE+83
    com.borland.dx.dataset.DataSetException: The driver: sun.jdbc.odbc.JdbcOdbcDriver could not be loaded. This could be a problem with the driver itself, or that the driver is not found on the classpath.
    at com.borland.dx.dataset.DataSetException.a(Unknown Source)
    at com.borland.dx.dataset.DataSetException.driverNotLoadedAtRuntime(Unknown Source)
    at ...
    In my .jnlp I put :
    <resources>
    <j2se version="1.3+" />
    <jar href="ManipulationLigneAS400.jar" /> it's my application
    <jar href="classes12.zip" />
    </resources>
    I don't know what .jar I have to put?
    Someone could help me please?

    Hi,
    see your thread http://forum.java.sun.com/thread.jsp?forum=31&thread=385994
    Ulrich

  • 'ant' is not recognized as an internal or external command Error

    Hi,
    I am trying to run ant command to build file. However I am getting error as
    'ant' is not recognized as an internal or external command.
    I have given following environment variables
    ANT_HOME - C:\10gDevHome\jdev
    CLASSPATH - .;C:\Program Files\Java\jre1.6.0_02\lib\ext\QTJava.zip
    JAVA_HOME - C:\Program Files\Java\jre1.6.0_02
    PATH - %PATH%;%ANT_HOME%\bin;%JAVA_HOME%\bin;
    Inside C:\10gDevHome\jdev\bin, I have ant.jar file
    and C:\Program Files\Java\jre1.6.0_02\bin has my jvm
    I have kept my build.xml in my project folder and running it from cmd promt form the same folder with command ant -f build.xml run.
    Can someone help me for getting correct my environment variable path for running ant command?

    after unzipping ant zip add the folder name to classpath.Then restart the machine

Maybe you are looking for

  • FI Customer Account Statement with Debit and Credit Columns

    Hi SAP Expert, We are using form (developed from T-code: SE71) to send customer account statment for only open items this is working fine. Now My wants customer account statement for all transactions but with debit and credit in a separate columns. i

  • How to restore my iPhone , no internet , I cloud setting on and forgot passcode

    I Have an iPhone 4 I can't remember my passcode so My phones disabled i have my iCloud setting on but not internet so  I can't restore via find my laptop or find my iPhone Please can someone tell me how to restore my phone or atleast get into it MANY

  • JDBC to RFC Sync Error

    Dear All, I'm creating JDBC to RFC Sync scenario. Configured according to below link, http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/12/04/jdbc-to-jdbc-synchronous-scenario-with-rr-beans-and-without-bpm-and-rfc-lookup Sender JDBC struct

  • Cross platform question

    I made a DVD that plays fine on my Mac but won't play on a PC running either XP or Vista. What can I do to correct this? It was very embarrassing and almost cost me a gig.

  • Suitable Apple Extention  for a PC video

    I own a CD Rom of a video that can only be opened by WIndows 95 or higher, PC format only. It is part of a course on vocal improvement. A friend has a PC, and thinks he can copy the video for me, but he is not current with Apple requirements, and has