java - How to execute a source Code provided as a jar file? -


iam trying test lattice monitoring framework in virtual environment. downloaded source monitoring-src-0.6.4.jar lattice. executed using

java -jar monitoring-src-0.6.4.jar 

but iam getting message no main manifest attribute, in monitoring-src-0.6.4.jar

i checked manifest.mf in meta-inf

"manifest-version: 1.0

ant-version: apache ant 1.7.1

created-by: 14.3-b01-101 (apple inc.)"

no main class there. dont know 1 main class.

then downloaded compiled version monitoring-0.6.4.jar lattice , executed

java -jar monitoring-0.6.4.jar 

but gives me same error "no main manifest attribute, in monitoring-0.6.4.jar". dont know do?? please me solve problem?? dont know whether iam doing correct thing.

you can't execute source code. you're doing, download compiled version.


Comments