my dog learned polymorphism*
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "RunJavaApplication As Executable Jar" Watch "RunJavaApplication As Executable Jar" New topic
Author

RunJavaApplication As Executable Jar

Nabeel Ahmad
Greenhorn

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
Hello,

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


Thanks,
Sammaiah
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: RunJavaApplication As Executable Jar