Unable to execute the java -jar

Posted 20 days ago by Ub

Post a topic
Answered

Hi,

 I have recorded a test and execute it and did the build executable.

Then I have downloaded the "Download Source" and opened command prompt and ran the Command

"java -jar 25-10-2024.jar".


I see the command is failing. Is there any settings I am missing or any configuration should i need to change? 

Note: I have java 8 installed prior to this test.


I have attached screenshots in the attachments.


Any help in this issue is much appreciated.


Thanks

0 Votes

B

Bakar posted 20 days ago Best Answer

Hi Ub,


Thankyou for the screenshots you provided that helped me to confirm why you are getting the error.

There is not need to change the configuration or settings, as you have downloaded a wrong file.

I see from your screenshots that, you have downloaded the "Download Source" file rather that "Download Executable".


Note:

Download Source is the zip file which contains the source code of the tests you have and is used in sharing the source code.

Download Executable is the jar file which is used to execute the file from command prompt.


So, you need to download the "Download Executable" and save it in your desired location and then run the command "java -jar suitename.jar" pointing to the folder structure in command prompt where you downloaded.


I hope this helps!


Thankyou

Bakar Ahmed



0 Votes


1 Comments

B

Bakar posted 20 days ago Answer

Hi Ub,


Thankyou for the screenshots you provided that helped me to confirm why you are getting the error.

There is not need to change the configuration or settings, as you have downloaded a wrong file.

I see from your screenshots that, you have downloaded the "Download Source" file rather that "Download Executable".


Note:

Download Source is the zip file which contains the source code of the tests you have and is used in sharing the source code.

Download Executable is the jar file which is used to execute the file from command prompt.


So, you need to download the "Download Executable" and save it in your desired location and then run the command "java -jar suitename.jar" pointing to the folder structure in command prompt where you downloaded.


I hope this helps!


Thankyou

Bakar Ahmed



0 Votes

Login or Sign up to post a comment

© Orasi Software, Inc. | All Rights Reserved.