Windows 10: .jar File Problem

Discus and support .jar File Problem in Windows 10 Gaming to solve the problem; Hello, I've seen a few posts about this and read through a bunch of answers to solve this problem but sadly have not worked. Cutting to the things I've... Discussion in 'Windows 10 Gaming' started by Kian W, Jun 18, 2021.

  1. Kian W Win User

    .jar File Problem

    Hello, I've seen a few posts about this and read through a bunch of answers to solve this problem but sadly have not worked. Cutting to the things I've done; The latest Java application is fully installed and has been set to the default opener of jar files, thinking I was safe I went and installed some Minecraft addons to joins a friends Survival Multiplayer but the mod files did not open up. They would simply flash a black square which seems to be the command panel. I can't do anything with it, it will just appear then disappear and I saw people had the same thing going on. I did place the Mo

    Kian W, Jun 18, 2021
  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, Jun 18, 2021
  3. GSquadron Win User
    .java to .jar file

    Hi guys!
    I have a problem i think i dont know how to do this little thing
    I have searched around the web, but i cant find anyone to explain it how to
    and where to put this code down here in order for the compilator to convert it
    from .java to a .jar file so the program or games i do in neatbeans can be executed in
    my mobile phone!
    Anyone can help??? The code is this one:
    jar cf jar-file input-file(s)
    GSquadron, Jun 18, 2021
  4. temp02 Win User

    .jar File Problem

    .java to .jar file

    As a side note to Easy Rhinos comment, you can only jar .class files, meaning that you need to compile all the .java files and them jar the .class files resulting from the compilation. Example:
    Code: javac jar cf Teste.jar Test.class[/quote]
    temp02, Jun 18, 2021

.jar File Problem

  1. .jar File Problem - Similar Threads - jar File Problem

  2. Java .jar problem

    in Windows 10 Network and Sharing
    Java .jar problem: I have some friends and family that are trying to install Java and set it up for the default .jar app, but it is only letting them use Internet Explorer, or find another app on the Microsoft store. We have tried using the OPEN WITH option in File Explorer for their .jar...
  3. .Jar files not opening

    in Windows 10 Ask Insider
    .Jar files not opening: ive tried everything, jarfix CMD pathing , BAT file, javaw.exe fucking nothing. submitted by /u/jmantechno [link] [comments]
  4. jar files

    in Windows 10 Network and Sharing
    jar files: I downloaded a jar file but accidentally connected it to a app so when ever i open it it opens the app. I dont want it to do this and its not letting me fix it.
  5. jar files

    in Windows 10 Drivers and Hardware
    jar files: Hi! I have downloaded a jar file before and haven't had this problem so this is new to me. I downloaded the .jar file onto my desktop and when I went to look for it on my desktop, it was not found. I went to quick access and opened up the file location and my desktop...
  6. .jar file problem

    in Windows 10 Customization
    .jar file problem: 1. when trying to get my jar files to work i noticed they started up in nch, and everyone's else would open up in java so I went into chose deafult apps by file and it wouldn't let me choose java for .jar or .jav only .jnlp NOT .JNPL Problem also my .jar is under a Express...
  7. .jar files

    in Windows 10 Network and Sharing
    .jar files: Hello, I've accidentaly changed .jar files to be opened with notepad. They should be opened with Java program. Could you help me change it back, please?
  8. .jar files

    in Windows 10 Network and Sharing
    .jar files: I was trying to download some things for games and I accidentally changed what they should open with and now I cant change it back to the original thing, meaning that whenever I download a .jar file it will automatically try to open with Internet Explorer and when I try to...
  9. .jar files

    in Windows 10 Customization
    .jar files: I'm attempting to switch the program I use to open .jar files from Internet Explorer to java but when I head to settings and choose "Choose Default Apps By File Type" I scroll down to .jar and press the button in order change the default app but it only gives me the options...
  10. .jar file

    in Windows 10 Network and Sharing
    .jar file: My .jar file is not opening as it opens a cmd applictaion and then dissapears it is a Jar file as i would need it to be an excecutable jar file i do have java downloaded aswell as jdk latest version need help pleas...