Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am currenlty working in a controlled enviroment where I dont have access to admin rights. Now, I am looking for some way to install Java on this vary machine. I have got a java installer.

Is there exist some way to achieve this?

share|improve this question

migrated from stackoverflow.com Sep 9 '11 at 7:07

This question came from our site for professional and enthusiast programmers.

I don't think so. A workaround is to install the JDK on a machine you have full control of. Then copy the whole directory to the controlled machine, I've never seen a JDK that really requires any registry keys... –  home Sep 9 '11 at 6:58
@home: Correct. See heraly.be/wiki/doku.php?id=java:setupportablejava for proof that it works. –  unforgettableid Jan 15 at 2:44
Dear OP: 1. Why didn't you have admin rights? 2. Why didn't the sysadmin install the JDK for you? 3. Perhaps you could have created a VM on the machine, and installed the JDK into the VM. 4. Really, you could have used a Windows equivalent of the Unix fakeroot tool. This is a tool which lies to applications and makes them think that they are running as the local administrator when they are, in fact, not. I don't know whether or not a Windows equivalent of fakeroot exists. –  unforgettableid Jan 15 at 2:48

3 Answers 3

Do you need the compiler or just the JRE?

If it's only the JRE you should take a look at: http://portableapps.com/apps/utilities/java_portable

share|improve this answer
I need Full JDK. –  Vijay Shanker Sep 9 '11 at 6:59

You can install it in a per-user location, and place the path to JDK in the Path environment variable. You could use a setup authoring tool like Advanced Installer or InstallShield, of free tools like WiX or NSIS.

That should make it accessible to other apps searching for the JDK tools. Not the best way, but can't see any other choice in lack of admin privileges.

share|improve this answer
and for install these installer you need admin rights. It is not seems a solution. –  user710818 May 29 '13 at 7:43

Maybe not so good idea, but you can try to download Processing, it is a Java covered programming language as it contains a portable version of Java JDK. You can erase everything except Java an use it.

share|improve this answer
I was looking for a way to install a JDK without an installer, so your suggestion looked promising. Are you sure it is a Java JDK? I don seem to be able to find javac.exe –  Peter Hofman Jan 23 '14 at 11:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.