• Post Reply Bookmark Topic Watch Topic
  • New Topic

Running a JAR file  RSS feed

 
smitha verghese
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am working with the COMM API for Dailing and transfering the file to the
remote location.I have run the file,the class file is executing very well.

when i convert to a jar file i get an error couldnt not find the main class and exits off.

I dont know how to rectify as i have put in the MANIFEST.mf file as
Manifest-Version: 1.0
Created-By: 1.3.0 (Sun Microsystems Inc.)
Main-Class: Reminder
But it doesnt well.Pls help me.
Thanks in advance.
regards
Smitha
 
Gayathri Prasad
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Did you use packages to create your class.If at all you have used then..
U need to enter the package path in to the manifest file of the jar and then compile the class from the hierarchial package.
Cheers,
Gaya3
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!