How to create a jar in Android studio?

How to create a Exe file using a Jar file? I created jar file using Netbeans.?

  • I created a Netbeans Java program and made a Jar file from it. But i can't run that jar file in my computer although i have installed Java Runtime Environment 7. When i'm gonna open that jar fill they ask open with what? So i want to make a Executable file from that jar file. So anyone can briefly explain me how to do it? I have watched some videos in youtube but still don't have a correct idea of creating it. Hope you will help me. Thanks.

  • Answer:

    You can run the file through the commandline. java location/file.jar

Michael at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.