java - Installing JDK without administrator privileges -


i trying install jdk @ office laptop says need administrator privileges. have access own account @ work.

how can install java development kit without administrator rights?

here workaround install java without admin privileges or without administrator password. need cygwin installed not require admin privileges. in utils make sure select cabextract.exe install it.

fireup cygwin bash shell.

type cabextract jdk1.6.exe <-- jdk file name

this extract files current directory.

move tools.zip new directory , unzip using cygwin or windows explorer. java directory.

hint: try subsitite 7zip instead of cabextract , cygwin. if works faster.

edit: doesn't working jdk latest versions of jdk 6 , 7. many of jar files (eg rt.jar) compressed need decompressed using unpack200.

just go through each directory looking files .pack extension , unpack them using unpack200, eg: .\jre\bin\unpack200 .\jre\lib\rt.pack .\jre\lib\rt.jar

this allows run java programs still had trouble eclipse there issue annotations, there's step missing.

in answers this similar question on superuser available script automatically finds .pack files , unpacks them in right folders.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -