Jar file wont run on windows 10 | Community
Skip to main content
December 20, 2021
Solved

Jar file wont run on windows 10

  • December 20, 2021
  • 2 replies
  • 1034 views

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)
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by MayurSatav

Hi @eduardo.lasso ,

 

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. 

2 replies

MayurSatav
Community Advisor and Adobe Champion
MayurSatavCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
December 20, 2021

Hi @eduardo.lasso ,

 

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. 

BrianKasingli
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
December 21, 2021

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