Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Jar file wont run on windows 10

Avatar

Level 1

So I'm trying to run on my terminal

java -jar aem-author-p4502.jar

But the file wont run because it cannot find a manifest for it
My java open JDK version is:

$ java -version
java version "1.8.0_301"
Java(TM) SE Runtime Environment (build 1.8.0_301-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.301-b09, mixed mode)
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @user00111 ,

 

Make sure that only one JDK version is installed in your system and if you are using 2 different versions then please check for which version you have set up the environment variable. If everything is fine then check whether you have given correct path of JDK and if you have set up JRE path then it will not work. 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @user00111 ,

 

Make sure that only one JDK version is installed in your system and if you are using 2 different versions then please check for which version you have set up the environment variable. If everything is fine then check whether you have given correct path of JDK and if you have set up JRE path then it will not work. 

Avatar

Community Advisor

@user00111 can you try running your terminal as an administrator? Maybe your terminal doesn't have permissions to create files in the current directory?