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.

Similar Messages

  • In which directory should i keep java class files in oracle apps

    hi
    I have one problem, In which Top & directory should i keep java class files in oracle apps
    krishna

    Hi
    By itself its available in oracle\visappl\au\11.5.0\java\
    thats were the location needs to be placed in the apps.zip.
    Thanks
    Riyas

  • Where should I store the rendered files?

    (My Color projects are in "Documents")
    Where should I store the rendered files?
    On my external HD with my FCP media? Or on my Hard Disk is fine ?
    Can I calculate that 1 Go of DV NTSC = 1 Go of rendered file in 10 bits?
    Many thanks

    this came up as a topic at a recent FCPUG seminar.
    Since the dawn of time, it is recommended practice to keep your media off the application drive.
    The more disks you have spinning, the better the chance that you will get the data throughput rates that will support the demands of your media. Whether that's a RAID or a JBOD, its up to you how you value your time and assets.
    I keep things as 'external' as possible, mostly because clients are anxious to get the material back, but I'd have to keep moving stuff around just to maintain the space. And I still have to get merciless with all the temporary FCP render stuff.
    jPo

  • Where can I find classes12.zip

    I have oracle 8.1.6 on HP-UX and try to use JDBC1.2, but I could not find classes12.zip file. Where can I download it from? Thanks

    Try to search on the Oracle Home directory on your HP_UNIX box that you installed Oracle. Usually, the drive will be in an sub folder called jdbc. Good luck!

  • 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

  • Where do I get 10gR3Labs.zip file?

    Hi,
    I have just started out working on Oracle Workshop for Weblogic g10r3. I am following the jee-hol-131280.pdf hands on guide
    http://www.oracle.com/technetwork/developer-tools/workshop/overview/jee-hol-131280.pdf
    and came across this zip file called 10gR3Labs.zip. Where do I get this zip file from? I have been hunting for almost half a day but did'nt get it.
    Please could someone let me know how to download it.
    Thanks a lot,
    Rohit

    Pl see if this link helps - http://download.oracle.com/otndocs/technology/products/workshop/W4WL10gR3_labs.zip
    More links are available on this page - http://www.oracle.com/technetwork/developer-tools/workshop/overview/index.html
    HTH
    Srini

  • Where should I store the collatoral files that are associated with photos stored in lightroom?

    Where should I store the collatoral files that are associated with photos stored in lightroom? Items such as pdf files, word documents, etc. How should I connect them to each other so I can find both the photo and the related data?

    Lightroom itself will not help you with pdf, word, etc.
    However, there is a plugin you can use called AnyFile which will allow you to manage these documents in Lightroom (by assigning keywords and other metadata) so that you can search for all documents (photos, pdf, word, music, powerpoint, etc.) with given metadata.
    Because you do this via metadata, it doesn't matter where you put these files. Put them anywhere you want.

  • Where should I keep mail jar in jws,mssql

    Dear all
    hi!
    I am writing code for java mail. But where shold I keep mail jar files in server(java web server and mssql)
    My programme is giving error:
    Package javax.mail not found in import. import javax.mail.*;
    ^
    Please guide me,
    thanx,
    Samir

    The error seems to come when trying to compile your code.
    Put the JavaMail package onto the class path!

  • Where can I get xomLite45.zip file?

    Hi,
    where can I get xomLite45.zip file?
    Thax
    Shankar

    Hi Sankar,
    Xomlite45:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bf0e8a97-0d01-0010-f0a2-af3b18b7f4eb
    BR,
    Alok
    Edited by: Alok Sharma on May 5, 2008 11:54 AM

  • Where does WL keep my Java files that it creates from JSPs?

    Hi,
    I'm using WL 9.2.2 on Solaris 9 (JDK 1.5). When WL builds a JSP page, it presumably converts those JSP pages to Java files before compiling them. Where does it keep those Java files? I'm having a hard time figuring out where my NullPointerException is occurring ...
    java.lang.NullPointerException
    at jsp_servlet._jsp._groups.__addgroup._jspService(__addgroup.java:810)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:394)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:525)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:261)
    at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
    at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.myco.nps.im.plugin.NPSIMIntercepter.forwardRequestDirect(NPSIMIntercepter.java:852)
    at com.myco.nps.im.plugin.NPSIMIntercepter.doFilter(NPSIMIntercepter.java:193)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3229)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1362)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Thanks, - Dave

    It deletes them by default. If you want to preserve them, set the "keepgenerated" and "working-dir" (this one so you don't have to hunt for them) elements in the "jsp-descriptor" element in the weblogic.xml file.
    [http://e-docs.bea.com/wls/docs103/webapp/weblogic_xml.html#wp1038491]

  • Where to put 3rd party zip file

    Hi,
    I am testing wls8.1 and got all the third party library under APP-INF/lib including
    one zip file. but when I start the server, it says can't load the class which
    is in zip file. Where can I put the zip file?
    Thanks

    you mean I have to unzip it? why it won't read zip file which normally ok for classloader.
    Can i find any documentation on this issue?
    Thanks
    "Deepak Vohra" <[email protected]> wrote:
    >
    Copy the zip file containing Java utility classes to the APP-INF/classes/
    directory.
    "Jen " <[email protected]> wrote:
    Hi,
    I am testing wls8.1 and got all the third party library under APP-INF/lib
    including
    one zip file. but when I start the server, it says can't load the class
    which
    is in zip file. Where can I put the zip file?
    Thanks

  • HT2509 Where should I keep my fonts folder on my HD

    Where should I keep my fonts folder on my HD?

    I assume you mean third party fonts you've added? If so, pretty much anywhere you want.
    There are already three Fonts folders on the hard drive they're at:
    /System/Library/Fonts/
    /Library/Fonts/
    ~/Library/Fonts/
    The first obviously belongs to the system. If you don't know what you're doing in that folder, leave it alone. The second is the Library you see when you double click the icon of the hard drive on your desktop. Any fonts in that folder can be used by any user account. The last refers to the Fonts folder of the active user. That is, whoever is logged in at the moment. Only that user can access fonts within their account.
    It's not a good idea to activate hundreds, and especially not thousands of fonts at a time. They take up space in RAM when active. They more you have open, the less RAM is available for other apps. Long font lists in apps also very much slow down those menus.
    I would create a folder for your fonts anywhere outside of the three locations I listed above. You can put is right at the root of the drive is you want, next to Applications, Users, etc. You can even call the folder Fonts if you want to. OS X will pay no attention to it, despite the name. It only automatically looks into the three main Fonts folders.
    From there, you can activate fonts within that folder using Font Book, or any other third party font manager. If you're using Font Book, I strongly suggest using Library sets rather than normal sets. With the former, the fonts stay where they are (activated in place) rather than being copied into your user account (a waste of time and disk space).

  • For WebLogic 5.1, where should I put my class files for my JavaBeans?

    With JBuilder4, I have built an application with JSP and a few Java Beans (Those JavaBeans are instantiated in those JSP files). There are no EJBs. The package name is called 'onlinetrade'. I have tested the application on JBuilder's web server, it works pretty well.
    Now I am moving this application to WegLogic 5.1. I have encountered a problem with WebLogic 5.1
    and do not know where I should place my JavaBean class files --
    Originally, the JSP files for my application are in package path-- ..onlinetrade\jsp
    and the class files for my beans are in the package path -- ..onlinetrade\jsp\bean\*.class
    Now, with WebLogic 5.1,
    1) I have put my JSP files in
    C:\weblogic\myserver\public_html\onlinetrade\jsp
    2) I have created subdirectory and put my bean class files in
    C:\weblogic\myserver\classfiles\onlinetrade\jsp\bean
    When I started weblogic and the first page - login.jsp page can be up and accessed. But when I login and forward to another JSP page called 'controller.jsp', where a bean is instantiated, I got the following error
    Compilation of 'C:\weblogic\myserver\classfiles\jsp_servlet\_onlinetrade\_jsp\__controller.java' failed:
    C:\weblogic\myserver\classfiles\jsp_servlet\_onlinetrade\_jsp\__controller.java:210: cannot access jsp_servlet._onlinetrade._jsp.registerBean
    probably occurred due to an error in /onlinetrade/jsp/controller.jsp line 53:
    registerBean registerBeanInstance = new registerBean();
    I know the javac is working, and a java file is created upon the JSP page, but the problem is -- the bean class files cannot be found!!!
    Where should I create the package path and put my bean class file so that my JSP pages can pick them up?
    Any help is greatly appreciated!
    Thanks.
    --Tim

    I have mine in WEB-INF/classes

  • Where should I store the image file?

    I registered a schema, created a table, then inserted a XML file which contains following lines
    <material>
    <matimage imagtype="image/gif" uri="image2.gif">
    </matimage>
    </material>
    My question is where should I store this image2.gif so it can be displayed when my application retrieve this XML file?
    Thanks,

    In the XML DB repository.. See dbms_xdb.createResource().

  • Where should the third party JAR files be placed ?

    Hi,
    We have a requirement to perform encryption / decryption of supplier bids. In this case we require to use third party provider JAR files with OA framework code. Where should the JAR files generally be placed in such a scenario ?
    Thanks and Regards,
    Sandhya

    Checkout this post.
    How to inclue a third party .jar file in OA fwk classpath Class not found

Maybe you are looking for