Create a Java application launcher with Eclipse -


so know how compile java project class files, don't know how run without eclipse. think have create specific java executable (.jar) launches class files or compile class files java executable, i've searched , found nothing on that.

to make jar launchable, e.g. java -jar fun.jar, need add 1 line manifest.mf (which can done number of ways):

main-class: a.b.c.mainclass

where a.b.c.mainclass name of class file containing main(..) method should invoked.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -