i have make jar file but when i click in this file then arr
swhow "no faund main class" plese help me in this problem
becose i want to make a jar file as a dxdcutable file



i have make jar file but when i click in this file then arr swhow "no faund main class" ..

Answer / avi s

You must define the Main class in the Manifest.MF file
When you package the jar file use the Manifest you created
and do not use the default generation of manifest file.
see jar command help.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Java Related AllOther Interview Questions

What is jsr in java?

0 Answers  


I am new to jsf rich faces. I am using rich faces datatable rich:datatable. On entering the value, values get filtered in table. Now how can i get the value i selected in backing bean?

1 Answers   Hexaware, IBM,


What is the difference between Enumeration and Iteration interfaces? What is the way of to retreive the objects from these interfaces ?

1 Answers   Cap Gemini,


How do you count in java?

0 Answers  


In java thread programming, which method is a must implementation for all threads?

0 Answers  






Explain the reason for each keyword of public static void main(string args[])?

0 Answers  


Is java singleton thread safe?

0 Answers  


What is proxy object in java?

0 Answers  


What are struts java?

0 Answers  


What is meant by annotation in java?

0 Answers  


What if I write static public void instead of public static void?

0 Answers  


what is the difference between Collaboration and Java Collaboration definition interms of JAVACAPS terminology?

1 Answers   CSC,


Categories