Donation Goal
Donate Now Goal amount for this year: 799 USD, Received: 100 USD (13%)
Please donate to help support this website. The funds will be used to purchase owned license of LiteSpeed Web Server Enterprise (2-CPU). It provides superior performance in terms of raw speed, scalability and anti-DDoS capabilities.

Install Java Runtime (JRE) Portable in USB Flash Drive

Posted By Raymond In Category: Computer

Jul
28
2010

The good thing about Java is the applet can be ran on different operating system such as Windows, Linux and Mac OS. One good example is the famous JDownloader that simplifies downloading files from One-Click-Hosters such as Rapidshare.com, Megaupload.com and hundreds of other similar websites. There are also free Java games that you can play online, scoreboards that uses Java to display the score live and many other online applications. Although installing Java is nearly a must nowadays, I do know a few people that doesn’t have Java Runtime installed on their computer.
Download Java Runtime Portable
They claim that Java slows down their computer and if you check in your task manager, there is a Java Quick Starter process jqs.exe that loads every time Windows is booted up. It is meant to improve initial startup time for most Java applets and applications. Other than that, people who have Java installed was affected by the Java Drive-By exploit which auto installs virus/spyware/trojan on the user’s computer if the user clicks the Yes button when visiting the website created by the hacker. If you’re using the latest version of Java, you will not be affected by this exploit. Having a good antivirus installed increases the chance of detecting the hidden installation of virus.

It is still possible to run Java applets and applications without installing Java by installing the portable version to your USB flash drive. Here’s a guide on how to do that.


1. First insert a USB flash drive to your computer. Let us say that the drive letter for that USB flash drive is G: drive.

2. Download Java Portable. Once finished downloading, run the downloaded executable file and click Next button twice until you are asked to choose an install location. By default the destination folder shows \CommonFiles\Java, add G: at the front so that it becomes G:\CommonFiles\Java and click the Install button. The installer will then download a 15MB Java.

Install Java Portable

3. When finished installing Java Portable, download Java Portable Launcher and take note of the destination folder again. Add G: infront so that the destination folder becomes G:\JavaPortableLauncher and click the Install button.

4. To run Java applet or application, open my computer and go to G:\JavaPortableLauncher and run JavaPortableLauncher.exe which will open a window asking you to select a JAR file. If you are getting the error “Java Portable Launcher cannot be started. You may wish to re-install to fix this issue. (ERROR: Java Portable [PortableApps.com/JavaPortable] could not be found)“, it means that you install Java Portable at the wrong location in step 2. Make sure that it is Java Portable is installed in G:\CommonFiles\Java (replace G: with the drive of your USB flash drive)

Download Java Portable

Java portable is mostly useful for you to run a Java applet or application on public computers such as library that doesn’t have Java installed. If you open a website that requires Java, then it will not work and the web browser such as Internet Explorer will tell you that “The page you are viewing uses Java. More information on Java support is available from the Microsoft website”. You will need to go to Java.com to download and install Java on that computer.


Related posts:
  • How To Install Windows 7 Faster Using USB Flash Drive
  • How To Check and Test USB Flash Drive
  • Cleaning Up Old Java Installation Files in Windows
  • Looking for a USB Flash Drive with Read Only or Write Protect Switch
  • How To Make a USB Flash Drive Bootable
    • Racketeer

      Sorry Ray, but Java is the personified gaping security hole and should be avoided at all cost. Why would you even consider taking it with you?

    • Ishaan Rodrigues

      Good one Ray!!
      Thx for the info…

    • Toni A

      While talking about JAVA..
      I would encourage people to get “JavaRA” whom have Java installed on their computers..
      –>
      “JavaRa is a simple tool that does a simple job: it removes old and redundant versions of the Java Runtime Environment (JRE). Simply select “Check for Updates” or “Remove Older Version” to begin. JavaRa is free under the GNU GPL version two.”

      Visit it’s homepage at:
      http://raproducts.org/javara.html

      or google for it.

    • Dark Genesis

      What’s about using this way to install Java on my hardisk to use Java only when I need it without installing it as a full install and so avoiding all possible problem you talked about. Will it be possible Raymond ?

      Thank you very much in advance

    • http://www.czarnovel.com/ work from home

      Its good to have portable JRE.

    • http://www.application-install-guide.com Sean Mize

      thanks, now I got an ideas of deploying Java application to all my desktop remotely.

    • http://evilfantasy.wordpress.com/ Kevin

      @ Racketeer – Java (JRE) is not as big of a security risk as some make it out to be. Of the thousands of computers I have cleaned of malware only a few were due to a Java (JRE) exploit. Javascript on the other hand is a huge issue with malware. Sometimes people confuse the two.

      Thanks for this Ray. ;)

    • nb

      is there any offline installer for java portable?

    • Alex

      I can’t locate JavaPortableLauncher.exe on my USB after I’ve installed it. Help please.

    • http://www.talaatsafwat.com Talaat Safwat

      can I do this for a CD ?
      I’m making a java Desktop app and it will be distributed on CDs
      so I don’t want to bother every user with installing JRE :)

    • http://www.talaatsafwat.com Talaat Safwat

      regarding my last comment
      I burned CommonFiles, JavaPortableLauncher and my application folders into a CD and it worked :D

      but I want to ask now
      can I pass the location of my java app to the JavaPortableLauncher ?
      so it will be a fixed launcher for my app

    Copyright © 2005-2012 - Raymond.CC Blog