I am trying to install JDK at office laptop but it says I need administrator privileges. I have only access to my own account at work.
How can I install the Java Dev
Oracle changed the package format in update 102 as pointed by @Webrjn on a previous answer at this question, but the unpack method still works with two more unzip actions:
.rsrc/1033/JAVA_CAB10/
.111
, which is also a zipped file containing tools.zip. Unzip it to get tools.zip
.tools.zip
to your desired java installation path.Open a windows command prompt and run:
for /r %i in (*.pack) do .\bin\unpack200.exe -r -v %i %~pi%~ni.jar
The unpack200
program complains about garbage at the end of the files, but the unpacked jars are tested ok by 7z.
Java source src.zip
is within the file 110
located inside .rsrc/1033/JAVA_CAB9
.
By the way, update 101 only contains the tools.zip file and can be installed with the previous unpack method.