This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I would like to execute/run a jar file from command prompt. I use the command - This raises a "ClassNotFoundException" while trying to connect to a database. I understand that a certain jar file needs to be present in the classpath.
So, i did a set
However, setting this jar file in the classpath doesn't help me out here. How do i execute this jar file ?