File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes RunJavaApplication As Executable Jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "RunJavaApplication As Executable Jar" Watch "RunJavaApplication As Executable Jar" New topic

RunJavaApplication As Executable Jar

Nabeel Ahmad

Joined: Oct 06, 2009
Posts: 1
Hi all

I have an java application running fine in Eclipse.But when i try to run application as .jar in console i am getting the following excepti

Any help.How to solve this problem.

sammaiah kyatham
Ranch Hand

Joined: Aug 03, 2003
Posts: 104

Welcome to Javaranch!!

Regarding your problem, you have used wrong syntax for specifying Main-Class in Manifest file. Update it with below.

Main-Class: com/wateen/cvp/test/CRMServTest

I agree. Here's the link:
subject: RunJavaApplication As Executable Jar
jQuery in Action, 3rd edition