473,397 Members | 2,084 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

can not connect to oracle from jar

Hi Guys,
i have created a java application in netbeans which connect to database oracle,and populate some textfields and do some other random stuff, everything is working fine in netbeans but when i create .jar file then it is not able to connect to database although .jar is running application.

I have already added ojdbc5.jar file in project library folder.
Dec 24 '13 #1
1 1370
Nepomuk
3,112 Expert 2GB
Hi vijaypalmanit and welcome to bytes.com!

This problem could have many causes, without more information we can only guess which one it may be. What I'd recommend doing is adding log output to your program (if it's not there already) and then checking the logs for any anomalies. Maybe some environment variables aren't set? Is your program accessing local files with fixed paths? Does it need libraries not in the classpath?
Jan 2 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Yanick Quirion | last post by:
Hi all, I'm trying to find a simple code to connect to an Oracle Database (9i) with C under linux. I have a script that read a form from the web and I want to access my Oracle database with...
1
by: minhnguyen19 | last post by:
I use Oracle 9i release 9.0.1.1 I want to connect Oracle with C# by OCI, but I can't add reference to using OCI.dll? What should I do???
1
by: gobirahul | last post by:
Hi Freinds, please, let me know if u have any idea How Can connect Oracle DB to Microsoft Access???? i have the oracle DB but want get this tables in Microsoft Access. Its urgent....
4
karan8985
by: karan8985 | last post by:
i can not connect the windows services with oracle. i did check all the privilages of oracle and NTFS permissions also ..but still i cant connect please give me solution, thanks...
2
by: dounax | last post by:
Hello, I want to connect to an Oracle 9.2 database from a web site. - I have created a DSN file, I access the database from Excel - I have written the following vbScript, that works: ...
1
by: sindhujanan | last post by:
hai, anyone plz tell the code to connect oracle using database
3
by: techquest | last post by:
Hi, I want to connect into oracle database and export the table data into a flat file using UNIX shell scripts. I cant use other GUI tools to do this, as the dataload will be in millions. hence if...
1
by: Aaryan kumar | last post by:
i want to connect ORACLE with C/C++ , plz can you help me to do so....if possible . i will be very kind to you
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.