File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Cant connect to oracle. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Cant connect to oracle." Watch "Cant connect to oracle." New topic
Author

Cant connect to oracle.

rewati raman
Ranch Hand

Joined: May 22, 2010
Posts: 62
Hi
i made this program. its compileing without error. but it giving error when i am running it.



this is the error i am getting





rewati raman
Ranch Hand

Joined: May 22, 2010
Posts: 62
its still not working
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14685
    
  16

rewati raman wrote:its still not working

This is not going to help you. PatienceIsAVirtue.


[My Blog]
All roads lead to JavaRanch
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14685
    
  16

1. Follow the code conventions and rename your class with a capital letter (something like Data.java)
2. Is this class in your classpath ? If not, try to execute it with "java -cp . Data"
rewati raman
Ranch Hand

Joined: May 22, 2010
Posts: 62
i was able to resolve it but i got another error. i posted it on new thread thanks
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Cant connect to oracle.
 
Similar Threads
JDBC/ODBC class not found exception
java oracle conectivity
oracle.jdbc.driver.OracleDriver
JDBC/ODBC classnot found exception
jdbc