![]() I am using Windows 7 Professional 64-bit (Service Pack 1) with latest.creating a new system Environment Variable OPENDS_JAVA_ARGS and setting it to -jar.jar=jarfile and ftype jarfile="C:\Program Files\Java\jre1.8.0_121\bin\javaw.exe" -jar "%1" %* in command line, jar files with C:\Program Files\Java\jre1.8.0_121\bin\javaw.exe, I tried the following methods, with no success: Here is a snapshot of Windows CMD with java -version entered on my PC: I have JDK_HOME set to C:\Program Files\Java\jdk1.8.0_121.įor some period of time, the Java(TM) Platform SE binary disappeared from the Open with list, and I could not add it until I changed the HKEY_CLASSES_ROOT\jar_auto_file\shell\open\command key in regedit.exe to the appropriate version:Ĭ:\Program Files\Java\jre1.8.0_ 121\bin\javaw.exe" "%1". I have JAVA_HOME set to C:\Program Files\Java\jre1.8.0_121. I included %JAVA_HOME\bin and JDK_HOME\bin in the PATH variable. ![]() ![]() jar files successfully execute on my laptop with a double-click. jar files on my PC by double-clicking them. jar file in the command line works fine, but I am unable to execute. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |