user3376587 user3376587 - 10 months ago 44
Java Question

jar.exe is missing from jdk 8u91?

I got a new computer recently, and I downloaded the JDK 8u91. However, I just found out today, from trying to create a jar file, that I do not have the jar.exe. I thought at first that it wasn't in the Path variables in System > Environment Variables, but that wasn't the problem. When I go to the bin folder for java, the jar.exe is missing. In fact, now that I'm looking again, javac.exe is missing too. I tried downloading jdk 8u91 again, and still no luck. Is this an issue anyone else is experiencing? Everywhere else, the problem seems to only be that people don't have the correct PATH variable or they've only downloaded the JRE and not the JDK.

EDIT >> PLEASE READ: I have searched my entire computer for the jar.exe file. It does not show up in the search. I am looking in all folders, specifically the bin folder, it does not show. Check comments below for the existing .exe's I found in the bin folder. I have already looked at the common answers to similar questions on past posts here on stack exchange before I posted this question. But understand this, the file is still missing.

Answer Source

I believe you are inadvertently looking for the Java development tools in a JRE installation directory. I recently installed the same JDK release (1.8.0_91) on Windows 8 and the jar.exe and javac.exe dev tools are definitely there (for me, the path is: C:\Program Files\Java\jdk1.8.0_91\bin).

Double-check and make sure you aren't getting confused and accidentally looking for the files in the JRE directory: C:\Program Files\Java\jre1.8.0_91. I have made that same mistake myself; it can be confusing because both installations share the same root path by default: C:\Program Files\Java.