Downloaded java but cant open .jar files






















Asked 8 years, 2 months ago. Active 8 years, 2 months ago. Viewed 3k times. Improve this question. Thomas Thomas 77 3 3 silver badges 7 7 bronze badges. How did you install Java? I have tried both. Braiam Why? EliahKagan you should read the other questions presented by the same user. He is in a quest of a mayor project,and it is asking piece by piece what he found in the way.

This is one of the cases of X and Y situation. Check the coment below and the questions made by the same user. Braiam I've upvoted the answer that solved the specific problem here. Improve this question. Also, you can open a. Does this answer your question? Add a comment. Active Oldest Votes. Improve this answer. Stefano Leone Stefano Leone 3 3 silver badges 13 13 bronze badges. During the installation, pay attention, because you have to keep the installation path.

As soon as you have defined the Environment Variables, you can go to command prompt cdm and run from every path your preferred "java. Your command line can now recognize your "java. Then the "System" window will appear and you have to click on "Advanced system settings".

As a consequence "System properties" window shows. Select the "Advanced" tab and click on "Environment Variables" button. You can now define the aforementioned variables and you're done. You must create a manifest file and specify your class that has the main method. Copy this code to a. Then whenever you double click, the jar file will be executed. Hope this helps. In Netbeans please delete current you create the jar file and on the project explore of Netbeans please clean and build 2 or 3 times and right the project folder in project explore and build the jar file.

Just uninstall the current version of Java , download an older one, then uninstall the older and install the latest again. How it works: Java 's registry keys were messed up, and when you install the older version they get fixed. If the intention of the question is to view the contents of the JAR file, then the following java command would help.. How are we doing? Please help us improve Stack Overflow.

Take our short survey. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. In addition, you can manually select Java as a default app to open the. Jar files. Some people have proven that this solution can fix the Jar file not opening Windows 10 issue. Right-click the. Jar file and select Open with. You will see a list of suggested applications and click on More apps at the bottom.

Scroll down to the bottom and click on Look for another app on this PC link. In the File Explorer , navigate to the Java. Select the Java application and click on the Open button to set it as the default app fro. Some users reported that. Jar file not opening can be fixed by creating a.

Navigate to the. Jar file and create a new Notepad file in the same folder. Table of Contents. I find passion in writing Tech articles around Windows PC and softwares. Comments Command Prompt method works fine. Thanks a lot!!! Leave a Reply Cancel reply Your email address will not be published.



0コメント

  • 1000 / 1000