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
Answer Posted / 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 View All Answers
What is a java proxy?
Why oracle type 4 driver is named as oracle thin driver?
What is type_scroll_insensitive in java?
What is messaging queue in java?
How do I export a java project?
What is a java executable jar file?
Does netbeans need jdk?
What if I write static public void instead of public static void?
What is a flatmap?
What is lambda expression in mvc?
Why java?
What is connection pooling in java?
Who is at risk in java? : java security
What is a delimiter in java?
I have deployed a .war file in my application server comprising of struts and hibernate.If i want to change the "dialect" property of hibernate cfg file how can i change(I have only .war file)... Thanks in advance