my project structure is as following
--Project
-- bin
-- code ( consists of the main class "f.class" along with other classes and java files)
-- META-INF
-- MANIFEST.MF(manifest file containing info of main class " mainclass: package.f"
-- resources
My question how shall i build a runnable jar for above structure of the project.
jar cvf project.jar [path upto project]
this command isn't working. says no manifest. What is the correct command to build the jar for above mentioned project structure?