Windows 10: I cannot change my default .jar program to java

Discus and support I cannot change my default .jar program to java in Windows 10 Customization to solve the problem; I have a windows 10 machine. I have run everything fine before I reset my pc. My default now is set to notepad, which was my mistake. The only... Discussion in 'Windows 10 Customization' started by BryceJenkins1, Aug 20, 2018.

  1. I cannot change my default .jar program to java


    I have a windows 10 machine.

    I have run everything fine before I reset my pc.

    My default now is set to notepad, which was my mistake.


    The only options I have to open a file with are apps from the windows store which is not helpful because I need to run this file using Java. Even searching in program files there doesn't seem to be a "java" option.


    yes, I have java installed and it is in my programs on my computer.


    I can add the java installer as a possible app, but this does not work it seems to try to reinstall java and open the file at the same time and causes and error saying it cannot install java again.


    please help


    Thank you.

    :)
     
    BryceJenkins1, Aug 20, 2018
    #1
  2. DaveM121 Win User

    jar files

    Fixing .jar file opening on Windows requires two steps:

    • Open the Control Panel, and chose "Default Programs - Associate a File type or protocol with a program". Find .jar extension (Executable JAR file) there, and pick Java as default program to open this extension. It will probably be listed as "Java Platform(SE)".
      A faster alternative perhaps is straightforward right-click on a .jar file, and then change associated program by clicking on the "Change..." button.
    • Now open the regedit, and open the HKEY_CLASSES_ROOT\jarfile\shell\open\command key. Luckilly for us, we may specify parameters there for the (Default) value. This is normally: C:\Program Files\Java\jre7\bin\javaw.exe" -jar "%1" %*

    I Hope this Answers your Question!
     
    DaveM121, Aug 20, 2018
    #2
  3. How to change default programs to open .jar files in Windowws 10?

    Hello Snott,

    As you are facing issues with setting-up default program to access .jar files, we will help you with this issue.

    Try few of the below steps to change the default program for .jar files and check if it helps.

    • Press Windows key, type default programs
      and select Default Programs.
    • Click on Associate a file type or protocol with a program.
    • Select .jar file type and click on Change program.
    • Choose the program you wish to open with and click
      OK

    Hope it helps. Get back to us with an updated status of this issue for further assistance.

    Thank you.
     
    Deepika Gowda, Aug 20, 2018
    #3
  4. I cannot change my default .jar program to java

    .java to .jar file

    if you know the manual then you know you dont put the code in the program, you convert all of your java class files into a jar file using their compiler.
     
    Easy Rhino, Aug 20, 2018
    #4
Thema:

I cannot change my default .jar program to java

Loading...
  1. I cannot change my default .jar program to java - Similar Threads - cannot change default

  2. I want to open a JAR file with java

    in Windows 10 Network and Sharing
    I want to open a JAR file with java: I want to open up a JAR file through java, I open up the file, right-click on it, press open with and scroll through but cannot find java anywhere, even though I have it installed. in this case, I want to download Optifine for Minecraft 1.14.4. I've been trying to figure this...
  3. Cannot associate .jar files with java on windows 10

    in Windows 10 Customization
    Cannot associate .jar files with java on windows 10: Hi, I've been having trouble associating .jar file type to java on my windows. It's currently associated with internet explorer, and java is not showing up as something I can associate this file type with. What should I do? Java control center is showing up, and I have it...
  4. Cannot change default program for some extensions

    in Windows 10 Customization
    Cannot change default program for some extensions: I cannot change the default "Open with..." program for some file extensions such as .mpeg or .mp4. The "Open with..." dialog appears but there is no "Always use this app for .mp4 files" checkbox. I can change the associations from the "Choose default apps by file type"...
  5. i cant change what i run jar files with to java

    in Windows 10 Network and Sharing
    i cant change what i run jar files with to java: for some reason i am not able to change from notepad to java https://answers.microsoft.com/en-us/windows/forum/all/i-cant-change-what-i-run-jar-files-with-to-java/50a77723-fb25-49dc-aaa9-38a577be2dd2"
  6. Java .jar file is not downloaded as a java file.

    in Windows 10 Installation and Upgrade
    Java .jar file is not downloaded as a java file.: I like playing Minecraft, and I like to play with friends. So I tried to download the sever.jar file and it downloaded a download but, when I wnt to open this file it brought me to internet explorer manage download files page. It asked me if I wanted to save, open, or save...
  7. Java .jar file is not downloaded as a java file.

    in Windows 10 Installation and Upgrade
    Java .jar file is not downloaded as a java file.: I like playing Minecraft, and I like to play with friends. So I tried to download the sever.jar file and it downloaded a download but, when I wnt to open this file it brought me to internet explorer manage download files page. It asked me if I wanted to save, open, or save...
  8. Cannot change file's default program

    in Windows 10 Customization
    Cannot change file's default program: Please do not suggest going to the settings/control panel and "set defaults by app", "choose default apps by file type", "choose default apps by protocol", or by right clicking and selected "set as default program". There are certain types that do not change and when I...
  9. Change default program

    in Windows 10 Installation and Upgrade
    Change default program: Hi I have both OneNote2010 and OneNote2016 installed (because you must the whole 2016-office suite) but I just use the 2010 version After the last Windows update default program for (.one) has changed back to 2016 And I cant find the 2010 version to add How can you...
  10. Windows 10 reassociate .jar files to java

    in Windows 10 Support
    Windows 10 reassociate .jar files to java: I was trying to open a jar file, so I opened with any other program like adobe reader, didn't work. I realized I needed to install Java, and did, but now it wont choose java as one of the apps to use to open it. EDIT: I've tried a lot of things before asking this,...

Users found this page by searching for:

  1. win 10 reset jar to java for default