Monday, August 2, 2010

Installing MYSQL Connector/J JDBC on Microsoft Windows



Obtaining Connector/J MySQL JDBC Driver



Go to MySQL.com's JDBC section and click the 'Production Release' link for Connector/J:


Click the 'production release' link for Connector/J JDBC Driver


Click the 'production release' link for Connector/J JDBC Driver.

A list of mirrors will be displayed to you. Pick a mirror and download Connector/J driver. Once you are done with downloading the .zip or .gz file, unzip or untar the file to extract the files in a temporary folder.


Installing Connector/J MySQL JDBC Driver


Among the extracted files will be a JAR file with a name like 'mysql-connector-java-3.0.8-stable-bin.jar'. Copy this file to your %JAVA_HOME%/jre/lib/ext folder which on my system happens to be D:\j2sdk1.4.2\jre\lib\ext>.

You should also add the complete path to this JAR file in your CLASSPATH environment variable. In case if you don't know how to do that, go to Start -> Settings -> Control Panel -> System -> Advanced (tab) -> Environment Variables. Double-click 'CLASSPATH' if it is already listed there or click 'New' to create one with the name of 'CLASSPATH'. If you already had a 'CLASSPATH environment variable listed, simply type in (or paste) the complete path including file name in the window that opens up *at the end of* existing CLASSPATH values. If you are creating a new 'CLASSPATH' environment variable then simple enter '.;' and then append the complete path to Connector/J's JAR file.


Note:

The CLASSPATH variable contains a list of semi-colon separated folders and JAR files where JVM will search for Java class files. You should always separate paths with semi-colon (;) so that JVM can understand where one path ends and next one begins. Also keep in mind that in CLASSPATH variable paths, the first path is always '.' (single dot) which means current folder, so that JVM starts the search for Java class files from the current folder.




Window - Environment Variables

Window - Environment Variables



Window - Edit System Variable

Window - Edit System Variable


If you've correctly added the path to Connector/J JDBC driver's JAR file in your CLASSPATH environment variable then you are done with installing MySQL Connector/J JDBC driver.

Tip:

When you make changes to any of your environment variables (like CLASSPATH), close and re-open any open command prompt windows so that they refresh their environment variable value's cache.

Friday, June 18, 2010

IT GIRL to IT WIFE -- The Transformation!!!



When i was posting i just came across an interesting picture,Just have a read and here the real life scenario is best depicted!

Sunday, June 13, 2010

Philosophy in Life

Bhagavad Gita is the most unusual and the one of the most important scriptures. Its is the divine voice of the God. One can be spiritually benefited by mediating and contemplating on the Gita. One's all doubts are removed and by following it, one can attain Him. This Celestial Song was sung by Lord Krishna.






Whatever happened, it happened well.
Whatever is happening, it is happening well.
Whatever will happen, it will also happen well.
What of yours did you lose?
Why or for what are you crying?
What did you bring with you, for you to lose it?
What did you create, for it to be wasted or destroyed?
Whatever you took, it was taken from here.
Whatever you gave, it was given from here.
Whatever is yours today, will belong to someone else tomorrow.
On another day, it will belong to yet another.
This change is the law of the universe.

Perfect Shots!


Talk about stretch armstrong, that soccer player has to have the worlds longest arm.


Everybody Legs up! now this is kinda of a crazy coincident, even the dogs are joining in!


Headless ice figure skater, just the right angle to catch this show, the poor girl is headless.


Headless man and statue, now this is one is a another crazy coincident, not just that the man is headless in those but the statue is as well!


Headless Mirror Man, kind of a neat shot,the mirror is a nice touch to make it looks like both hands are out there.


Now we have all seen the commercials of the lamp heads, this is proof they do exist!



That is one tall man, this is a perfectly light up reflection of the bottom half of another man at just the right second to line the two up.


Awe such a pretty picture, they got the perfect shot of her in that magazine!


This man is Kicking over the leaning tower of pizza!


Sniper cat, this is one cat you don't want to mess with!



That statue just got a three pointer!


Super stretch cat! thats one of the longest cats i have ever seen, right though the fence and back out again.


That man on the bench has three feet!


Three legged soldier, is this really true, think he can run sooo fast.


Favorite Movie -- The Secret!

A number of exceptional men and women discovered the Secret, and went on to become known as the greatest people who ever lived. Among them: Plato, Leonardo, Galileo, Napoleon, Hugo, Beethoven, Lincoln, Edison, Einstein, and Carnegie, to name but a few.

Without exception, every human being has the ability to transform any weakness or challenge into strength, power, perfect peace, health and abundance.

Now for the first time in history, all the pieces of the Secret come together in a revelation that is life transforming for all who experience it.

This is the Secret to life.

Watch The Secret


Learn how to apply the law of attraction to your life with the movie that attracted the attention of Oprah Winfrey, Ellen DeGeneres, and Larry King.

In 2006, Rhonda Byrne released The Secret, which interviews teachers like Bob Proctor, Jack Canfield, John Assaraf, and Michael Beckwith among many others. The movie focuses on three steps to receiving whatever it is you desire: ask, believe and receive.

Ask – Become clear about what you want and ask the universe for it.

Believe – Visualize and behave as if whatever you want is on its way to manifesting in your life.

Receive – Align yourself with the universe to be open to receiving your desire




Saturday, June 5, 2010

Google doodle's






Internet giant, Google is marking British-Hungarian inventor and electrical engineer, Dennis Gabor’s 110th birthday with a doodle on the website. Google has changed the main image on its search engine.
Denni Gabor was given a noble prize in Physics in 1971 for inventing holography. Gabor was born in on June 5th, 1900 in Budapest and he died on 9th February, 1979 in London. Gabor’s contributions are well recognized. The Hungarian government gives awards on his name to the young scientists. The government gives the award for acknowledged distinction of interdisciplinary work between the life sciences with other subjects. The holograms are used in today’s products for districting them from fakes. Holograms and holography technology are used in areas of data storage, security, art, etc.



Buckyball Google Doodle On 25th Birthday Anniversary Of The Discovery

Google Doodle spinning animated Buckyball on 25th birthday anniversary of discovery of the “buckyball”. This is not the first time when Google used an animated/interactive Google Doodle. Earlier Google had animated logos for Issac Newton, Pacman and many others.

On Saturday, September 4th if visited Google home page you will see a special Google logo. The logo is of a buckyball or fullerence, which is any molecule composed entirely of carbon, in the form of a hollow sphere, ellipsoid, or tube.

The best part of this Google Doodle is you spin it with your mouse and you can click on the buckyball to open a search result page for ‘Buckball’.

The buckyball, is also known as buckminsterfullerene, it was discovered on Sep 4, 1985 by Harold Kroto, Robert Curl, James Heath, Sean O’Brien and Richard Smalley at Rice University in Houston, Texas.

Buckminsterfullerene was named after ‘Richard Buckminster Fuller’ an architect and designer who popularized the geodesic dome. Buckyballs have been studied extensively for use in technology including material science, electronics, and nanotechnology.

Tuesday, June 1, 2010

Difficult Questions and Intelligent Answers!!!


Question and the Answer given by Candidates, oh sorry, they are IAS Officers now.



Q.How can you drop a raw egg onto a concrete floor without cracking it?

A.Concrete floors are very hard to crack! (UPSC Topper)

————————-
Q.If it took eight men ten hours to build a wall, how long would it take four men to build it?

A. No time at all it is already built. (UPSC 23 Rank Opted for IFS)

————————-
Q.If you had three apples and four oranges in one hand and four apples and three oranges inthe other hand, what would you have?

A. Very large hands.(Good one) (UPSC 11 Rank Opted for IPS)

————————-
Q. How can you lift an elephant with one hand?

A. It is not a problem, since you will never find! an elephant with one hand. (UPSC Rank 14 Opted for IES)

————————-
Q. How can a man go eight days without sleep?

A. No Probs , He sleeps at night. (UPSC IAS Rank 98)

————————-

Q. If you throw a red stone into the blue sea what it will become?

A. It will Wet or Sink as simple as that. (UPSC IAS Rank 2)

————————-
Q. What looks like half apple ?

A : The other half. (UPSC – IAS Topper )

————————-

Q. What can you never eat for breakfast ?

A : Dinner.

————————-
Q. What happened when wheel was invented ?

A : It caused a revolution.

————————-
Q. Bay of Bengal is in which state?

A : Liquid (UPSC 33Rank )

————————-
Interviewer said “I shall either ask you ten easy questions or one really difficult question.
Think well before you make up your mind!” The boy thought for a while and said, “my choice is one really difficult question.”
“Well, good luck to you, you have made your own choice! Now tell me this.
“What comes first, Day or Night?”

The boy was jolted into reality as his admission depends on his answer, but he thought for a while and said, “It’s the DAY sir!”

“How” the interviewer asked, “Sorry sir, you promised me that you will not ask me a SECOND difficult question!”

He was selected for IIM!