Ravi Kanth D

Greenhorn
+ Follow
since Sep 14, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ravi Kanth D

My bad..the syntax was ok, its just that the divisor value at runtime was zero. The error message was saying "unable to parse expression.." that made me think something wrong with the variable assignment. Thanks.
10 years ago
I am trying to do a calculation within a Jasper report (java based open source reporting tool).
I have a BigDecimal variable that I need to divide by Integer variable, below is my code, please let me know what is wrong.
varBigDecimal1.divide(BigDecimal.valueOf(varInteger1.doubleValue()))
10 years ago
In JDK 1.4, you can just download the MySQL JDBC driver Jar file and put it in the folder:
j2sdk1.4.2/jre/lib/ext/
Hi,
I am trying to access postgresql database (7.3.2 - default with RedHat 9 distro) using JDBC. I have a Linux user called "oracle" that I have created in postgresql server also and gave that user privileges to create a database.
I tried to create a databse using createdb and it works.
The url that I am using in JDBC is: "jdbc ostgresql://localhost:5432/test", "oracle", "". It reverts bck with error that says:
SQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Can anyone plz help? Thanks.
Ravi.
18 years ago
Earlier I did something stupid...so it didn' work. Thx for your help again.
Ravi.
18 years ago
I tried but doesn' work. This is what I am doing...please let me know if I am wrong:
In focusLost event, I said if length() is < 4 then show an error message on the bottom text area...and requestFocus()
When I do not enter a value in first control and click on the second control...it does display the error message correctly...but cursor is still in the second control... I want it to come back to first control. How do I do it? Thanks.
Ravi.
18 years ago
I am using NetBeans IDE which I downloaded from SUN's website along with Java 2 SDK 1.4.2. I am using the AbsoluteLayout which NetBeans provided exclusively in their IDE. Their website claimed: once you drag and drop controls using AbsoluteLayout and finish creating your GUI, you can just change it to GridBagLayout and everything will remain the same. Contrary to that, everything gets messed up when I change to GridBagLayout. Did anyone had similar problems? Please let me know. Thanks.
Ravi.
Upon validating a JTextField value on the focusLost event, how do I retain the focus back on the same JTextField until correct value is entered? Thanks.
Ravi.
18 years ago
I tried to install the rpms which were missing....but it says much recent versions of those rpm's are already installed. I am stuck now. Can you plz help?
18 years ago
I have a dual boot (XP/RH9) on Dell Inspiron 5000e Laptop.
In the Add/Remove Applications section there is an option that says :
Development Tools
These tools include core development tools such as automake, gcc, perl, python and debuggers
When I tried to install them it shows a table like this:
Unlocatable Package-----------------Required By
krb5-libs = 1.2.7-10--------------------krb5-devel
openssl = 0.9.7a-2---------------------openssl-devel
I tried installing KDE desktop and Webserver tools, and it installed them fine...it even aked me to insert the relevant Red Hat CD's and when I did, the installation went on smooth. Only for this Development Tools option, it shows me this error.
My questions are:
1) Would this problem be solved if I choose Server Installation as opposed to Desktop Installation which is what I have it on rt now.
2) And if thats the case, can I just upgrade it using the Red Hat CD's that I have already downloaded from their website?
3) Since I don' have enough space on the existing Linux partition, is there any tool in RH9 that I can use to free some space from another unused partition or can I just use Partition Magic? Because I heard if you partition the disk with other tools after installing Linux, it doesn' know how to boot.
Thanks.
18 years ago
I saw the .bashrc file and it doesn' have anything about PATH in it. On the other hand, there is a file bash_profile (I think) in my Home directory which has PATH mentioned in it. So do I add the above code to that bash_profile file then? Sorry...but being a starter in Linux everything seems so confusing rt now.
18 years ago
Thanks for the info...and my question is:
so in the second line of the code above...it should not be JDK_HOME....but it should be JAVA_HOME which was mentioned in the first line right?
18 years ago
I would also aappreciate if you can give a little explanation on the code you have mentioned. I was wondering since in the first line we mentioned the location of Java in "JAVA_HOME"...do we also need to mention the same in the second line like this: PATH="${JAVA_HOME}/bin:${PATH}" ??
18 years ago
Hey...sorry....but I couldn' find that .bashrc file? Where exactly is it located...since you said I have to add the PATH thing to this code rt?
18 years ago
I have downloaded the Java 2 SDK and the IDE combo package from Sun.com and have installed it. But strangely there was no info as to what class paths I need to set under Linux and how to do it? Can anyone plz help? Thanks.
18 years ago