T
T
Tyrion Lannister2017-04-06 22:00:48
Java
Tyrion Lannister, 2017-04-06 22:00:48

How to create a manifest for a Jar?

There is an app folder. There is a Main class with a main method. I created the META-INF folder in the same place and registered MANIFEST.MF there:

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: MyCompany
Main-Class: Main

But still the jar file won't run.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
gosha-z, 2017-04-07
@gosha-z

So can it run? java-jar

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question