You are not logged in.
Pages: 1
Hi,
I installed Arch linux yesterday and it is the first time I ever touch to linux so please be gentle.
The directory is /home/intel/temp/java/jar/install.jar
I installed the packages: jre8-openjdk and then jre7-openjdk because it wasn't working with jre8...
The command I use is:
#java -jar /home/intel/temp/java/jar/install.jar
I get:
no main manifest attribute, in /home/intel/temp/java/jar/install.jar
I searched on the web and all the post I see are about people having problem compiling which is not my case... What am I doing wrong? I bet I need an extra package...
Offline
http://docs.oracle.com/javase/7/docs/te … r/jar.html
.jar files (zip files really) need a META-INF directory and a MANIFEST.MF file (and others) there.
is it really a valid .jar file?
Offline
Please close, problem solved.
Last edited by Mooder (2016-03-03 06:00:12)
Offline
How did you solve it? Please share!
Offline
@Mooder, as mariusmeyer said, please share your solution.
Offline
There was 2 problems:
1- the jar file was broken.
2- using the command cd, I moved to the directory where there was an install.txt and simply did ./install
Thanks for the help!
Offline
Pages: 1