Raymond.CC Blog
  • Home
  • Forum
  • Giveaway
  • X-Ray 2.0
  • Contact
  • About
  • I’m Feeling Lucky
Search the site...
You are here: Home » Software » How to Install Portable Java Runtime Environment onto USB Flash Drive

How to Install Portable Java Runtime Environment onto USB Flash Drive

Updated by HAL9000 - 1 month ago - Software
3
  • Like
  • +1
  • Tweet
  • Printer Friendly and PDF
java portable icon

Most computer users have heard of the Java programming language because it will be installed on a lot of machines and required on some websites. One good thing about Java is it’s cross platform and runs in it’s own self contained virtual machine, meaning the same applets and programs can be run on different operating systems such as Windows, Linux and Mac OS without using different code.

Some users claim it slows their computer down because of the extra processes loading with Windows such as the Quick Starter process jqs.exe. One thing a Java install does do which annoys a lot of people is leave the previous versions in place to supposedly help with compatibility. The small utility JavaRa was designed to help clean out any old installation files. Exploits do appear from time to time which can potentially allow malware to be installed onto a computer if the user clicks the Yes button when visiting a website created by a hacker, but these exploits are rare and fixed pretty quickly.

Although the Java Runtime Environment (JRE) package requires installation and there is no official portable version, it is still possible to run applets and applications without installing Java into Windows. An unofficial portable version from PortableApps.com allows you to copy Java to your USB flash drive or hard drive folder and run it from there. Here’s a guide on how to do that.

1. First insert a USB flash drive into your computer. For this example the letter of our USB flash drive is the F: drive. Obviously substitute F: for your own drive letter.

2. Download Java Portable from PortableApps.com. Once finished downloading, run the downloaded executable file and click OK -> Next -> I Agree and then you’re asked to choose an install location. By default the destination folder will show {path}\CommonFiles\Java, add F: at the front so that it becomes F:\CommonFiles\Java and click the Install button. The latest Java installer will download which is currently around 30MB.

Install Java Portable

3. When the Portable setup has finished, download and run the PortableApps.com jPortable Launcher tool which is a small program that can execute Java .JAR files. During the install take note of the destination folder again. Add F: in front so that the destination folder becomes F:\JavaPortableLauncher and click the Install button.

4. To run a Java applet or application, open the F: drive and execute the F:\JavaPortableLauncher\JavaPortableLauncher.exe file which will open a file dialog asking you to select the .JAR file of the applet or program you want to run. If you are getting a “jPortable Launcher cannot be started…” error, it means that you installed Java Portable at the wrong location in step 2. Make sure that it is installed in {drive:}\CommonFiles\Java.

jportable launcher cannot be started

You cannot use this method with currently installed software that requires Java to function like LibreOffice or jDownloader or Java applets in web browsers. If you try to open a webpage in an installed browser which requires Java then you’ll just be told it needs to be installed. The torrent client Vuze/Azureus did at least ask for the location of the Java files on install and worked using the portable Java.

The good thing is PortableApps.com have made this version of Java compatible with their portable applications that require or use Java such as LibreOffice or Firefox. Just make sure to have CommonFiles in the same folder as the portable application folder, e.g; F:\folder1\CommonFiles\Java and F:\folder1\FirefoxPortable.


The hugely popular download manager jDownloader is programmed in Java and will obviously need a Java runtime installation to work. Although not officially available at PortableApps.com, it can easily be used in a portable way with the above method. Simply download the MultiOS zip file from “Other” on the jDownloader download page and extract it to your USB flash drive or hard drive folder. Now simply launch JavaPortableLauncher and locate the jDownloader.jar file.

jdownloader running with no java installed

To launch jDownloader directly from a shortcut so you don’t need to open the JAR file manually every time requires a few extra steps, you need to:

1. Copy the contents of the JavaPortableLauncher folder to the jDownloader folder.

2. Create a shortcut of JavaPortableLauncher.exe, right click on the shortcut -> Properties, then append “jDownloader.jar” in the Target box. Create the shortcut AFTER copying the jDownloader folder to its final location or the paths in the shortcut will be incorrect.

The CommonFiles folder HAS to be one folder level up from where you have placed the JavaPortableLauncher.exe. For example, if you have:

“D:\Portable Tools\jDownloader\jDownloader\JavaPortableLauncher.exe”

The CommonFiles folder will be:

“D:\Portable Tools\jDownloader\CommonFiles”

Using this method you can have a portable jDownloader folder with Java included which can be placed in any hard drive folder or external USB drive. Obviously you can do this with many other Java based applications not just jDownloader.

Didn't find what you want? The links below could help:

Easily Install FreeDOS in USB Flash Drive for BIOS FlashingEasily Install FreeDOS in USB Flash Drive for BIOS FlashingMaking iTunes 10 Portable with Spoon Studio 2011Making iTunes 10 Portable with Spoon Studio 2011Installing Windows 7 System Recovery Disc onto USB Flash DriveInstalling Windows 7 System Recovery Disc onto USB Flash DrivePortable Emsisoft Anti-Malware 5.0 from Free Emergency KitPortable Emsisoft Anti-Malware 5.0 from Free Emergency Kit

3 comments on “How to Install Portable Java Runtime Environment onto USB Flash Drive”

  1. Kevin says:
    2 years ago

    Thanks for this Ray. ;)

    Reply
  2. Sean Mize says:
    2 years ago

    Thanks, now I got an idea of deploying Java application to all my desktop remotely.

    Reply
  3. Ishaan Rodrigues says:
    2 years ago

    Good one Ray!!
    Thx for the info…

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recently Updated

  • flash bios icon

    5 Tools to Easily Install FreeDOS or MS-DOS onto USB for BIOS Flashing

  • avast icon

    Reset or Remove avast! Authorization Password to Access Settings

  • U3 icon

    How to Customize U3 USB Smart Drive to Become Ultimate Hack Tool

New Articles

  • task manager replacement icon

    Memory Usage Test to See Which is the Lightest Antivirus Software

  • kaspersky antivirus 2013 icon

    Activate Free Kaspersky Anti-Virus 2013 ROG with 1 Year License

  • remote access software

    Top 8 Remote Access Software for Providing Online Support

Popular Posts

  • Top 10 FREE Data Recovery Software

    Top 10 FREE Data Recovery Software

  • How to Hack Into a Windows XP Computer Without Changing Password

    How to Hack Into a Windows XP Computer Without Changing Password

  • 10 Free Software to Mount CD or DVD ISO Image File as Virtual Drives

    10 Free Software to Mount CD or DVD ISO Image File as Virtual Drives

Recommend on Google
Follow @raymond_cc
Subscribe Youtube »
(c) 2013 Raymond.CC Blog
  • Contact
  • Disclaimer
  • Disclosure
  • Privacy Policy
  • Terms of Use
  • Sitemap