Front end developers must read! Starting from scratch, teach you to build a low code website platform in stages>>>
1. Switch to the directory of the target file, and then run Java – jar
2. After confirming the installation of Java virtual machine, double-click the jar file to be run or right-click the jar file, and select “open mode” → “select default program” in the pop-up menu
3. In the “open mode” setting window, click the check box before the option “always use the selected program to open this file”, and then click the “Browse” button next to it
4. Select the installation folder of Java virtual machine. If Java 7 is installed, the installation folder is generally “C:: program files?Java?Jre7?Bin” (please find the specific folder yourself). Find the javaw.exe file and click the “open” button
5、
At this time, it has been set to use the javaw.exe application to open the jar file, but in fact, there is no response when double clicking the jar file. This is because the open file parameter is not set
Enter “regedit” in the search box of the windows start menu, right-click the file regedit found above, and select “run as administrator” in the pop-up menu
6. In the registry editor, find “HKEY”_ CLASSES_ In the file open command, add the parameter “- jar” (without quotation marks), and the modified value is similar to: “C: program files, Java: jre7, Bin: javaw. Exe” – jar% 1 “(only need to add – jar parameter, no need to modify other information). Save and exit the registry editor
Similar Posts:
- Could not find the main class Program will exit [How to Solve]
- JDK 3 Error: has value ‘1.8’, but ‘1.7’ is required [How to Solve]
- Multiple JDK switch and solution of could not find java.dll exception in win10 environment
- How does eclipse ignore JS files with errors
- [Solved] SQL Server2008 Install Progress to SqlBrowserConfigAction_install_ConfigNonRC_Cpu32 Error
- FreeMind Open Warning: the registry refers to a nonexiste
- IntelliJ IDEA: Clone failed runnerw.exe CreateProcess failed with error 2
- Win7, 2008 prompt Error 1606 Could Not Access Network Location %SystemDrive%/inetpub/wwwroot/ error solution
- Git Upload File Error: fatal: could not read from remote repository. [How to Solve]
- SDK manager cannot open the solution (Android)