A Portable, More Secure Java
Hello, Verge readers! If you didn't notice, there was a post today about the security issues with Java. So at first, I though, "Eh, I'll just disable it in the browser". But then I thought. I really don't use java for anything aside from Minecraft (which I don't really even play THAT often). So, I uninstalled Java.
I introduce to you, jPortable. jPortable is a portable version of Java for Windows. You download it and extract it to a directory, and Java will live there. Read on for how to set it up!
First, you will need to create a folder to let java "live" in. I created it on my Desktop, but you can create it really anywhere. I would probably keep it inside your User folder though, since putting it outside might give it odd permissions.
Alrighty. If you are installing this for Minecraft, and have a 64 bit machine, you should probably go with the 64 bit version. Otherwise, for normal apps (or 32 bit machines), the 32 bit version should work fine. [32 Bit] [64 Bit] Those links will always redirect to the latest versions of portable java, but if you want the original download page, it's here.
[EDIT]:You HAVE to place the installer into your install folder, and don't change the install directory in the next step, or the launcher will fail! So, in my case, I have to put the installer into the "Portable Java" folder.
I will be installing the 64 bit version, because I am on a 64 Bit machine. The directions are the same for 32 bit and 64 bit, aside from the names of the files that you download.
Locate the installer:
...and open it. Then select your language, click next. Some of you probably know the routine.
Click next, agree to the license, and wait a second.
Select the folder you want to install to. You have to place the installer in the folder you want to install to, and can't change the installation directory. It will append \Java64 to the end if you are installing a (you guessed it!) 64 bit version of jPortable.
So, if you install the 64 Bit version, it will install jPortable to ~folderyouselected~\Java64; otherwise it will install to ~folderyouselected~\ Common Files.
Click install, and the installer will download the files, and place them in the folder you chose. Almost there!
my "Desktop\Portable Java" folder
...and inside the Java64 folder
So yeah. You are almost done. There are two versions of the jPortable launcher (which launches your .JARs with the portable java you installed). Download the version corresponding to the type you downloaded. [32 Bit] [64 Bit] Those links will always redirect to the latest versions of the launcher, but if you want the original download page, it's here.
As I said above, the 64 bit launcher failed for me. I would try the 32 bit instead. It works fine, just make sure you read my notes above about install directories.
Alright, locate the launcher you downloaded:
...and open it.
Select your language, click next.
You have to place the installer in the folder you want to install to, and can't change the installation directory.
The installer will append \JavaPortableLauncher (and add "64" like in the image if it is the 64 bit edition). Click install.
And after it installs, you can just close the window (without checking the box)
Bam. That's it.
Download your minecraft jar (or locate the jars you want to run), and place them somewhere you can find them.
Navigate into the \yourfolder\JavaPortableLauncher folder, and open the launcher (it has a bean icon).
Open it, and select you jar. Click open, and it will open just like normal. If you want, you can set the launcher so it always opens JAR files when clicked.
If you have issues, or need help drop a comment!
Thanks for reading, and good luck!