java - How to create runnable jar from multiple eclipse files? -
title; have 2 different classes/java files, 1 driver , 1 class. how can create runnable jar both of these files? when tried exporting runnable jar in eclipse, let me choose 1 file "launch configuration" (not sure means). when tried run .jar wouldn't work.
thanks!
sadly, can't.
in order create runnable jar, meta-inf/manifest.mf
file must created inside jar. , file specification allows 1 main class jar.
the best approach can give (to resolve this) create in conjunction jar file, 2 scripts. each of them, calling 1 of main classes through command console.
or see if can define 2 launching configuration file same project eclipse...
Comments
Post a Comment