Java JDK 5/6 on a USB Drive?

memphis_1220

Limp Gawd
Joined
Aug 28, 2004
Messages
499
Is it possible to extract the runtime environment and compiler to a USB drive so that I can compile wherever I go? I'd preferably like it to be a clean install so that it does not mess up whats already on the drive.

The reason I am asking is that some places in Uni do not have the most recent Java release nor do I have the privilages to install a new one. I've tried to set up the path to the existing Java 1.2.2 but to no avail, plus it is not entirely suitable.

Any help would be appreciated as to whether or not it is possible to use a portable drive.
 
Yes, this should be possible. You will just want to also include a .bat that modifies your current PATH to have the copy of Java that is on the thumbdrive come before any other Java that might be present on the PATH.
 
Back
Top