Portable JDK. If your tired of installing the
Java Runtime Environment on every computer you want to work on, this Portable Java tutorial is for you. It explains how to install Java on a
USB Memory Stick. Enabling a user to bring Java with them. Moreover, portable programming tools such as portable netbeans can then use the portable JDK environment, eliminating the need to have JDK installed on the host machine.
Run Java from a Flashdrive – Portable JDK:
Upon completion, the user should be able to
run Java from a flashdrive. The installation process does take some time, however, once completed is well worth the investment.
- Go to the Java Downloads Page and click the Download button next to the latest JDK Update for Windows. We used JDK 6 Update 7
- On the next page, under platform, select "Windows", agree to the License agreement and click Continue
- On the next page, download the "Windows Offline Installation" package
- Once the download is complete, run the file and accept the license agreement
- From the Custom Setup menu, install only the Development Tools and Demos and Samples and then Click Change to change the installation path:
- Next, enter the destination for the Portable JDK install. For Example F:/JDK/, then click Ok to continue:
- Now, click Next and the installer will install Java to your USB flash drive:
- Next, download this js.bat file and save it to the root of your USB flash drive
- To test that Java is now running from your flash drive, do the following:
- Double click the js.bat file from your flash drive
- Now simply type javac (to get a list of compiler options)
No comments:
Post a Comment