Cannot find OracleDataSource in Windows

I am trying to run a simple query in Windows. I am getting the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource
oracle.jar and classes12.zip are in my CLASSPATH.
I do not have any problems when I run the app in Eclipse. Now I need to transfer it to a windows environment and I cannot get it to find the oracle classes. Does anyone know what I can do to fix this? I am out of ideas.
Thanks.

I guess that is my problem. I have always used the system classpath without any problem. Not sure what I need to do from here.
how do I include oracle.jar in the CLASSPATH? I ran the following on the command line:
javac -classpath C:\jars\oracle.jar app.java
once I ran this, it tells me that the package javax.sql does not exist. This is part of the Java load (j2ee.jar), why couldn't it be found? I am able to get simple programs to run, HelloWorld and an addition app that adds two numbers and displays the result. Why can't I get an oracle connection to work? Or, does anyone know how I can view what the settings are in Eclipse and why it works fine there.
I am trying to run a simple query in Windows. I am
getting the following error:
Exception in thread "main"
java.lang.NoClassDefFoundError:
oracle/jdbc/pool/OracleDataSourceThis means you don't have that class in your
CLASSPATH.
oracle.jar and classes12.zip are in my CLASSPATH.The JVM disagrees with you. Check your assumptions.
Use the -classpath option on javac.exe and java.exe to
set the CLASSPATH. Don't depend on a system
environment variable - that's the wrong way to go.
I do not have any problems when I run the app in
Eclipse. Now I need to transfer it to a windows
environment and I cannot get it to find the oracle
classes. Does anyone know what I can do to fixthis?
I am out of ideas.Don't use an IDE unless you understand CLASSPATH
thoroughly. Every Java developer should know how to
compile, deploy, and run an application without an
IDE. You never know when it won't be available to
you.

Similar Messages

  • Safari cannot find websites while windows can

    Safari says it cannot find wunderground.com - weather and it cannot find Drudgereport.com -- what is up?

    Can you run a nslookup (or dig) from MAC OS X Terminal?
    dig drudgereport.com
    ; <<>> DiG 9.8.3-P1 <<>> drudgereport.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12073
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;drudgereport.com. IN A
    ;; ANSWER SECTION:
    drudgereport.com. 544 IN A 98.158.19.137
    drudgereport.com. 544 IN A 98.158.27.203
    dig  wunderground.com
    ; <<>> DiG 9.8.3-P1 <<>> wunderground.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10950
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;wunderground.com. IN A
    ;; ANSWER SECTION:
    wunderground.com. 184 IN A 38.102.136.104

  • PCI-GPIB card cannot find instruments in Windows 7

    hello, i am new to use Labview to control lab equipments. would be very appreciated any help in advance. Here is my case.
    We have two NI PCI-GPIB card in lab. They are working well in old PCs with Windows XP. I installed them to new PC with Windows 7 enterprize edition. Labview version is 2014. The NI-488.2 14.0 and Ni-VISA 14.0.1 is also installed. 
    when running NI MAX, i could see PCI-GPIB card, so far everthing is fine, no error code. But when i click scan for instruments. there is no result, also no error code message. I borrowed a GPIB-USB-HS controller from another lab. It woks well with the same GPIB cable and equipment. i could see the equipment and communicate. i tried both our PCI-GPIB card and got the same result.
    Does someone happen to see the similar problem?
    Thank you.
    Yutong

    Hi thanks for looking into my problem. here is some update.
    first, i installed the PCI card to the new PC, it does not work as described above. then, i took it from the PC and installed the GPIB-USB-HS controller. It works well to find our equipment and everything is fine.
    second, the oringinal old pc with this PCI card is down, so i used another old pc. this makes problems more complicated. i installed the PCI card on the old PC and it not work. then I connected the USB controller, it works fine. same problem as the new PC.
    third, i tried both PCI card. they have the same problem. i think it is unlikely these two cards are both damaged.
    I also followed instruction from  KnowledgeBase 1UO68A5P: "Scan for Instruments" Fails in Measurement & Automation Explorer. does not improved. the settings of PCI card is shown as attached.
    thank you.
    Attachments:
    old pc.JPG ‏194 KB

  • Satellite A100-906 PSAA9E: I cannot find drivers for Windows 2003 R2 Server

    I found and installed some drivers from http://ru.computers.toshiba-europe.com/cgi-bin/ToshibaCSG/download_drivers_bios.jsp?service=RU
    Look at the screenshots of my computer please.
    "Device Manager" window:
    http://www.disa.ho.com.ua/toshiba/1.GIF
    http://www.disa.ho.com.ua/toshiba/2.GIF
    http://www.disa.ho.com.ua/toshiba/3-1.GIF
    http://www.disa.ho.com.ua/toshiba/3-2.GIF
    http://www.disa.ho.com.ua/toshiba/4-1.GIF
    http://www.disa.ho.com.ua/toshiba/4-2.GIF
    http://www.disa.ho.com.ua/toshiba/5-1.GIF
    http://www.disa.ho.com.ua/toshiba/5-2.GIF
    How can I solve this problem?
    ps: sound not working

    Hi
    As mentioned above you will not find Toshiba drivers designed especially for the Windows 2003 R2 Server.
    But dont worry and dont give up.
    The simply Windows XP drivers should be compatible and you should be able to install the Xp drivers on the Win2003 Server OS.
    good luck

  • Cannot find FireFox 4 Windows en-US installer

    Why is Firefox 4 installer not available?
    I need to install it for doing QA work on a website.
    Thanks

    Use Firefox 19, that is the current Release version used by most people. Once installed it will by default to update correctly with future releases.
    The usual source and information
    * http://www.mozilla.org/en-US/firefox/all/
    * [[Install Firefox on Windows]] (articles also exist for Mac & Linux)
    The Beta, Aurora & Nightly channels are for more experienced users willing to assist with versions in earlier stages of development, with the Beta being the one about to be released next and as near as possible in a final state for imminent Release, (within 6 weeks).
    In fact personally I wish more users would run and test Firefox Beta. The current Fx19 Release crashes some Windows AMD machines, and with more testers this should have been really easy to spot and fix before release.
    edit, see also (and links/icon buttons, within those articles)
    * www.mozilla.org/en-US/firefox/channel/
    * http://nightly.mozilla.org/

  • I use AVG and SuperAntiSpyware, neither have been detecting cookies in the past week. If I go under Privacy tab it shows cookies. What path/folder is Firefox 4.0.1 putting these cookies? I cannot find them using Windows Explorer "Search". Thanks!

    I am worried that some hack or odd software is hiding the cookies from AVG & SuperAntiSpyware. They used to detect sometimes 100+ cookies per week, now it's zero....
    Thanks again,
    dorothy

    Cookies are stored in a cookie jar and thus are shared among all open tabs and windows.
    Only all Private Browsing mode tabs/windows use a separate cookie jar that is used for all PB mode tabs.
    Note that session restore stores cookies of open tabs in the sessionstore.js file as part of stored session data.
    * http://kb.mozillazine.org/browser.sessionstore.privacy_level

  • Photosmart C4780 install fails at "system cannot find specified file"

    My problem started simply with the printer, an HP Photosmart C4780 which has always had a wireless connection and would not print.  At first, the network connection checked out fine from the printer control panel.  I ran a Microsoft printer troubleshooter, which found a block in the print queue, and cleared it.  The first test page would not print, but the "inner test page" did print.  I didn't understand whatever that meant, so I looked for help from the HP site.
    I ran the HP Print and Scan Doctor, and it suggested I reinstall the driver.  I downloaded and saved the current one from HP (PS_AIO_06_C4700_USW_Full_Win_enu_140_175.exe) and then uninstalled the existing driver.  When I attempted to install the new one, a window popped up saying, "The system cannot find the specified file," with only one box to click which said simply "OK".  The installation went through to "review installation options", after which came “checking updates, downloading updates, installing updates” and then it was while “checking system” that the “cannot find the file” window popped up, and when I clicked “OK”, the installation window as well as the error message box, just disappeared.  What I assume was the file path was in the frame of the window, but the whole thing didn't fit so it didn't show the end.  What I could read was “C:\Users\ … \Local\Temp\7zS588E\Setup\.\Setup\hpzpnp40 …
    I found one topic on the same problem for the same model printer in the forum, which offered this fix:
    You will need to first complete a level 3 uninstall of the software. I have included the steps below for this.
    1. Press the Windows key, and the letter R
    2. Type %temp%, and click OK
    3. Open the 7z folder (most recent one if there are multiples)
    4. Open the util folder
    5. Open the ccc folder
    6. Double click on the Uninstall_L3
    Once the Uninstall_L3 has completed, please delete all items listed in the temp folder. Note, you will  not be able to to delete all items, please skip the ones that you cannot. Next please empty the trash, and perform a clean boot. I have included the document 'How to perform a clean boot in Windows'. If your computer does not request it, please restart your computer.
    Once your computer is back up, you will need to reinstall the printers software. You can either do this by using the Installation CD, or downloading the software.
    I did what was suggested, until it got to the point where it said it did not recommend removing any further items if I intended on using the HP Officejet printer (yes I have a second HP printer attached to the network) anytime in the future.  Not really understanding how this all works, I decided to stop what I was doing, so unfortunately it did not solve my problem.
    Do I need to uninstall both HP printers before I can reinstall one?  And if I do that, is there any reason I would not be able to reinstall both printers?  Sounds like I'm asking for trouble.  Bottom line... I still cannot install the driver.
    I have tried to install both the full and basic versions of the driver and always get the same result.
    I have an HP Pavilion dv6-3100t notebook, running Windows 7 Home Premium, version 6.1.7601 service pack 1, 64 bit.  I haven't installed any new hardware or software.  This printer has always had a wireless connection.  The router I use is a Netgear 54 Mbps WGR614 v6 (supplied by my cable company), and the network includes not only my notebook and the Photosmart printer, but also an ASUS desktop, another HP printer, an Officejet 6300 series (used only for printing graphics and photos with a wired connection to the router), and a Vizio smart-TV.  I use Norton 360 Premier Edition and disabled the anti-virus auto-protect when I downloaded and attempted to install the driver.
    Please help!  And thanks in advance for your time and attention.
    This question was solved.
    View Solution.

    Hi wakey-wakey,
    I would recommend accessing your Temp folders, rename a Temp folder to 7zS588E and run the installation from that folder. 
    Please keep me posted.
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • Windows cannot find my HP Laserjet 3600 jetdirect connected printer on my home network

    Some of my PCs on my Windows network cannot find my HP 3600 priner. Others can. The ones that cannot are on the same router as the domain controller. I can ping and telnet the printer by name,  but those PCs using MS Vista or XP can find the printer nor can the HP3600 installation disk software.  Any ideas?

    Have you tried this utility?  
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • HT201317 I am trying to upload photos from my Windows 7 machine, and I was told to drag them into the photo stream in the iCloud control panel. I have downloaded the control panel several times, but cannot find the place to upload the photos from my Windo

    I am trying to upload photos from my Windows 7 desktop, and was told to go to the iCloud control panel and drag the photos into the
    upload to photo stream icon. I have downloaded the contol panel several times and cannot find the icon to get this done.  HELP 

    If you're trying to add photos to photo stream on your PC, you drag them to your photo stream uploads folder (normally My Pictures\Photo Stream\Uploads).

  • When I try to download Firefox for Windows, it unzips the file and says it cannot find 7-Zip file and stops download

    I have windows 7 on a desktop. I had firefox before which worked fine then I attached a router to my computer that may have been defective and may have damaged the computer. I took the router off. Firefox suddenly reverted back to the start up page of when you are new to firefox, e.g. here's how it works, and stopped loading my normal home page. Even though I entered the tabs I wanted for my startup home page every time I shut down my computer it went back to the beginning thinking I had only just loaded it. I did lots of system diagnostics but nothing appeared to be wrong with my computer so I uninstalled Firefox, restarted, then downloaded it again. When I download it, it says run or save and I choose run. Then it extracts the file and a message comes up that says "7-Zip. Cannot find file. Then nothing more happens. No files are downloaded to my computer and it's as though I never tried to download it.

    SAVE the installer to your hard drive (do not use the "Run" option); save it to your Desktop so that you can find it. When the download is complete, close whatever browser you have open, click or double-click the file you downloaded and see if it installs without a problem.
    The downloader is a self-extracting archive and should not need or use 7-zip. I have 7-zip installed on my system and it does not interfere with nor is it used in the Firefox install process. Hopefully, you have not set the downloading of .exe files to be associated with 7-zip.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • I keep getting the message, "Windows cannot find 'c:\Program Files (x86)\Mozilla Firefox\firefox.exe'. Make sure you typed the name correctly, and then try again." I get it when I either try to open it from the Start menu or from the desktop icon.

    I've just installed Firefox on my laptop and keep getting the message, "Windows cannot find 'c:\Program Files (x86)\Mozilla Firefox\firefox.exe'. Make sure you typed the name correctly, and then try again." I get this message whenever I either try to open it from the Start menu or from the desktop icon. I've never gotten it to work and even uninstalled it and then redownloaded it and still cannot get it to open. Any help would be greatly appreciated!!!!

    Are you installing from the official site? http://www.mozilla.com/firefox
    If you use Windows Explorer (My Computer) to check that path, is the Mozilla Firefox folder there? That is the normal installation location, but I think it's worth checking.
    If the folder isn't there or firefox.exe is not in it, I wonder whether some other software might be interfering. You might want to run some supplemental security scans. These two tools are highly regarded:
    Malwarebytes Anti-malware : http://www.malwarebytes.org/products/malwarebytes_free
    SUPERAntiSpyware : http://www.superantispyware.com/

  • I cannot find videos (not movies) that i have transferred to my macbook pro from an external hard drive, these files used to be on my windows PC!

    I cannot find videos (not movies) that i have transferred to my macbook pro from an external hard drive, these files used to be on my windows PC. Photos and a few of the videos came over but i am missing the majority of the videos. Help please!!! I have tried omnidisksweeper with no success in finding them.
    in my Usage it says i have over 40 gb of movies when i only have about 9gb which i can see using spotlight search. i really hope the other amount is my missing videos! these are videos of my kids as babies.

    Read this post and do the migration again, putting the library in a portable shape first if necessary.
    tt2

  • Receiving an error message when connecting to internet saying: windows cannot find "address" but it connects anyway???

    The error message that appears when trying to access internet says that windows cannot find "address" and asks to make sure it was typed in correctly. It continues to connect but is a hassle to deal with the error message each time. Any suggestions?

    What is the ip address you are getting on the Vista Computer..?
    Click Start >> All Programs >> Accessories >> Command Prompt...A black box will appear(Command Prompt)...In the Command Prompt window type ipconfig and press 'Enter'...Look for Wireless Network Connection IP Address , Subnet Mask and Default Gateway...
    IP Address should be 192.168.1.x, Subnet Mask : 255.255.255.0, Default Gateway : 192.168.1.1 (assuming your router is 192.168.1.1)...
    If you get the above mentioned IP Address, Subnet and Gateway Address then you should ping the Gateway, type ping 192.168.1.1 and press Enter...If it gives you request timed out then disable any firewalls, security softwares on the computer...
    If you get 4 replies then type ping 4.2.2.2 and press Enter, if you get request timed out, then you need to upgrade your router's firmware...If you get 4 replies then type ping yahoo.com and press Enter...If you get replies for Yahoo then you should get the Internet after adjusting the browser settings...
    Adjusting Browser Settings : Open an IE, click Tools >> Internet Options, then delete all files, cookies, history, forms...Goto "Connections", make sure Never Dial a Connection is checked, click on LAN Settings and make sure all the options are unchecked...Once you are done click on O.k...Close the IE and re-open it...
    If yahoo times out then provide static DNS on your LAN Connection...
    Click on the Start button >>> Settings >>> Control Panel >>>Network Connections- Right click on the icon for Wireless Network Connection and go to properties- On the 'General' tab select 'Internet Protocol TCP/IP' and click on the Properties button- Select 'Use the Following DNS Settings' Preferred DNS 4.2.2.2 Alternate DNS - 192.168.1.1>>Click on Ok button to Save and Click on "Close" on main Properties window...You should be able to go online... 

  • Cannot find shared windows printer with NEW macbook running leopard HELP!

    I just bought a new Macbook this past week. Woo Hoo. I love everything about it with the exception of file sharing and printer sharing. I have a less than one year old pc running vista that is connected to a hp 1300 series all in one printer. I can not even find this printer anywhere on the mac. i have been able to connect to my pc server via the ip address and share files this way. I am at a loss and really have no knowledge of mac. it is really disheartening, as I had way less trouble setting up windows networks for my roommates in college.
    Also, as a side helper, how can I setup a shared folder that can be accessed from both the mac and the pc. I would like something that I can set on the desktop of both in order to share files better and more efficiently than connecting to a server everytime I want to do this. Please help, and explain as if I am as stupid as I appear.
    Thanks.

    Here are two articles that may help:
    Mac OS X- Cannot locate a shared Windows printer.
    Mac OS X 10.5- Compatibility with Windows-shared printers.

  • HT201317 I have a PC with Windows Vista but I cannot find my photo stream anywhere. I followed the directions on the FAQ but it led me nowhere. What do I do?

    I have a PC with Windows Vista but I cannot find my photo stream anywhere. I followed the directions on the FAQ but it led me nowhere. What do I do?

    Well I linked to an article produced and hosted by Apple so I suppose if they have an issue with it the would have to spank themselves
    In addition the US Supreme Court has ruled that making a copy of a DVD for personal use or as a backup is perfectly legal, we've been doing that with CDs for as long as it has been possible, same for video tapes.
    What is illegal is breaking any DRM protection on the media (this holds true for all media not just DVDs) and actually even this is a bit murky. What is definitely illegal is to sell software to break DRM.  However if you write your own DRM breaking software and use it to make personal copies or backups the law gets real gray.
    So again as long as there is no DRM involved its OK, with DRM you're best to leave it alone.
    regards

Maybe you are looking for

  • IPhone cannot be synced. An unknown error hs occurred (13010) Windows XP 3G

    Hi, I've a 3G iPhone not yet upgraded to V4. Recently moved my iTunes Library and music onto an external drive. Attempted a sync with iphone and while backup appears to have been successful, and new apps have copied across into itunes I am getting th

  • HTTP Client, URL Encoding

    Hi there, got a bit of a problem here and hoping that someone might have an idea. 2 servers, Web AS 6.20 SP45 (Java and ABAP) same Kernel releases, DB releases, patch levels, components and everything. Same program (transported from one to the other)

  • Is it possible to use a non-null sender in auto-reply / out of office messages?

    I am using a smarthost that blocks null senders by default.  They have indicated that they can provide an override for our server to allow null senders, but the e-mail from null senders will go out a "high risk" IP that is likely to get blacklisted b

  • CSS Images

    Hi, Is there anyway to find out the CSS images delivered with SAP Portals. For ex. I am trying to customize the light detailed tree delivered with Portal. When I downloaded lightdetailed tree from Portal and imported into NWDS,  CSS images in the /di

  • Set PXIe 4330 Exitation Voltage to Zero?

    Hi, I was wondering if there is anyway I could set the  PXIe 4330 Exitation Voltage to Zero in Labview as a safety precaution when wiring the card? I have tried to do so with the DAQmx Reset Device.vi but it has no effect.  As well, I tried DAQmx Cre