Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


J# Visual 2005, Oracle JDBC Driver

Posted on 2006-05-10
Medium Priority
Last Modified: 2010-05-18

I'm programming an SQL querier, and need to reference the oracle.jdbc.driver.OracleDriver, which is fine in Java. However, when using J# when I try to reference oracle.jdbc.driver.OracleDriver my program hangs.

Is there somewhere in the MS Visual J# 2005 environment I need to define the Oracle JDBC as an environmental variable?

I have defined it in my Windows Environmental Variables.

It hangs on this line of code -

Question by:kerpoise
LVL 86

Expert Comment

ID: 16648847
Not that J# is Java, but you probably just need to add the driver class to the classpath

Author Comment

ID: 16648864
I've added the class to the Windows classpath, it works fine in Java but J# it doesn't
LVL 15

Accepted Solution

Javatm earned 750 total points
ID: 16648966
I believe this is how you should do it :
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 14

Expert Comment

ID: 16648978
Your Visual J++ 6.0 Project has a project-specific Classpath setting
LVL 15

Expert Comment

ID: 16648983
Just use the driver that you need ;)
LVL 30

Expert Comment

by:Mayank S
ID: 16659738
Since you are running it from Visual Studio, I don't think setting the system class-path will be of any help.

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses
Course of the Month11 days, 13 hours left to enroll

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question