A portable application can be run from a removable drive (USB flash drive, iPod, portable hard drive, etc) on any Windows computer without installation.
You will carry the program with settings on removable drive and don't modify settings on host computer.
On Vista and above turn off User Account Control (UAC) or run launcher as admin.

17 January 2023

Java Runtime Environment & Plug-in for Portable Apps.
Download Portable Java 8 Update 361 32 bit (47 MB)
Download Portable Java 8 Update 361 64 bit (51 MB)
Download Portable Java 7 Update 79 32-64 bit Online (0.5 MB)

Extract in your PortableApps folder (CommonFiles and *Portable folders at the same level).

59 commentaires:

Compstuff said...

Can't get this to work for me with Chrome... created:

All together and still doesn't work

Bernat said...

If you let the installers of Chrome and Java use the default path you should have:
for Java plugin dll and
for ChromePortable launcher.
(ChromePortable and CommonFiles must be in the same parent folder).

But there is a problem if you test: Chrome says plugin is obsolete and you have to choose run anyway.

Compstuff said...

1) I used the switch --allow-outdated-plugins and it ran without the prompt

2)Is it not possible to rename the folders or MUST we keep the folder names exactly the way the installer creates them?

Bernat said...

1) Thanks for switch: I will add in launcher.

2) Folder name MUST have the same number of characters (14) than ChromePortable.
Read lines 66-68 in ChromePortable\Other\Source\_ChromePortable.nsi

Unknown said...

Thank you very much for all your efforts and all your work on the portable appz project.
this is a long time that i was looking to find a way to send you some feedbacks.
i would like to ask or suggest if it is possible to make the on-line portable launcher to find or load the requested file from the local storage in a case that i already have it instead of redownloading the file. also is it possible to tell to the launcher to repack the portable installer after the download and extraction is complete or located, so we will get a full off-line installer.

Bernat said...

- use downloaded setup: sometimes done(LibreOffice, Total Commander)

- repack: simply use 7-Zip

Unknown said...

Hi, I have firefox portable installed in:


and Java in:


but for some reason it's not working, firefox just do not see java...

Do you have any suggestion to fix this problem?


Bernat said...

For me the test:
run with Firefox 15.0 Aurora 17.0a2 but not Nightly 18.0a1 x64
Check if you have

The_Steph said...


Do you plan to release 64bits version of portable java too?

Thanks for you amazing work.

Bernat said...

Added 64 bit (32 bit compatible).

LUXY said...

I use windows8 and IE10
and link to http://www.java.com/en/download/help/testvm.xml
but it don't work

Bernat said...

Of course if you use a not portable browser such as IE.
Works only with portable browsers of this blog.

LUXY said...

thank you
If I use Chrome portable 23.0.1271.64
and installed in :
JAVA in:
It still don't work

Bernat said...

Working for me:

I had to allow execution:

francis said...

Hi Bernat, thanks for great work in the blog. I have a question: How I can do portable java? I downloaded the latest version 7 update 10, I extracted it, and I copied all files in the path where your launcher made the program portable, but It doesn't run. And there are a posibility that you create a launcher of java 6 update 38, because JDownloader 0.9.581 (portable) only works fine with java 6, not with java 7 (source: Jdownloader forum).

Bernat said...

I can't compile online installer for 7 update 10 because it can use only direct download links.

I will try to build setup extractor for other versions.

For your problem did you update

francis said...

Now I understand, why you don't post a launcher for java 7 update 10

Yes, you are right, I updated the name of file .ini, I observed when I run JDownloader (0.9.581 and 2 beta), the process of java never starts. (Tested with java 6 update 38 and 7 update 10, by copying all files into the path of the previous portable versions).

Thanks for your time, and thanks in advance.

Bernat said...

Perhaps did you just extract core.zip without unpacking lib\*pack to .jar

francis said...

Ops... I didn't unpack the files with extension pack, there were my problem, now I know for the next time. And thanks for the update, I tested the differents versions of java and are working fine. Thanks a lot for your time and for your great effort to keep it up.

JustMe said...

Could you please update the JRE6 extractor, or possibly make it universal (by entering a version number or filename, etc)?

Bernat said...

JRE6 updated to 39.

François_ said...

Comme certains, bien qu'ayant installé correctement, et à la bonne place JavaPortable, Java ne fonctionnait pas.
Et, selon http://www.java.com/en/download/help/testvm.xml, je ne disposais pas de Java.

Je me suis souvenu que précédemment, lorsque j'avais Java d'installé sur mon pc, j'avais décoché l'option : "Activer le contenu Java dans le navigateur", dans la rubrique "sécurité" de Java du "panneau de configuration".

J'ai réinstallé Java afin de le retrouver dans le "panneau de configuration" , et l'option : "Activer le contenu Java dans le navigateur" était toujours décochée.
Preuve que Java garde toujours des traces de configuration dans le registre.

Cependant, après avoir coché l'option d'activation dans le navigateur, et après avoir lancé FirefoxPortable (les deux plugins Java bien présents, Java effectivement détecté et fonctionnel), je n'y ai plus retrouvé de trace ni dans le "panneau de configuration" ni dans C:\Program Files\Common Files !!!!! Et je n'ai rien désinstaller (volontairement)!!!!!!!

En explorant le registre avec JV16, je retrouve 126 clés concernant Java.
Après réinstallation, jv16 me trouve 2175 clés.
Preuve qu'en installant JavaPortable dans un dossier apps, Java se désinstalle de lui-même sur le pc, et ça passe inaperçu!!!!!!!!

Après recherche dans mon registre, il me semble que la clé autorisant ou non d'"Activer le contenu Java dans le navigateur" serait celle-ci :

HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.6.0_03\MSI

Bernat said...

Je n'ai aucune clé de Java dans mon registre et pourtant il fonctionne dans mon FirefoxPortable.

J'ai dû cependant accepter un avertissement de sécurité pour réussir le test.

Le lanceur utilise la variable d'environnement MOZ_PLUGIN_PATH pour indiquer à Firefox où se trouvent les plugins (voir source).

Unknown said...

"Le lanceur utilise la variable d'environnement MOZ_PLUGIN_PATH pour indiquer à Firefox où se trouvent les plugins (voir source)."
C'est donc ça : le "lanceur" détecte une version déjà installé et la désinstalle.

les entrées du registre : HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.6.0_03\MSI
et : HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins devraient alors être examinées avant l'extraction de Java dans le dossier apps portable?? (pour le cas de firefox)

Cette entrée doit aussi avoir son importance dans la configuration de Java : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\SO\JAVAPER

Quoiqu'il en soit, s'il y a problème concernant JavaPortable, une solution est d'installer directement Java sur le pc et de cocher l'option "Activer le contenu Java dans le navigateur"...

François_ said...

J'ai supprimé les clés :
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.6.0_03\MSI
et :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\SO\JAVAPER
, Java désinstallé avec auparavant l'option "Activer le contenu Java dans le navigateur" décochée rien n'y a fait!
une piste ici :

Bernat said...

"le "lanceur" détecte une version déjà installé et la désinstalle"
Pas du tout : voir source ligne 60

shamu726 said...

java 6 Update 43 available.

Bernat said...

Updated but not tested.

jooseng said...

There is a typo error in the 1st screen of the installer of ver 8:

Enter build "date"

Bernat said...

Fixed b to d. Thanks.

Unknown said...

Can you share the source code?
I want create Java Development Kit portable.
Or can you create this portable?

Thanks you!

Alessandro Tristan said...

Dear Bernat,

Thank you for works.

I wonder, if I use Firefox (32 bit) and Waterfox (64 bit), how to make Waterfox recognized the 64 bit Java portable in \CommonFiles\Java64\... folder?


Bernat said...

Waterfox launcher check if found
and set MOZ_PLUGIN_PATH Environment Variable to the path.

The test show only Java version but not architecture.

Alessandro Tristan said...

I change the folder path to
> CommonFiles\Java_64\bin\plugin2\npjp2.dll
Yes, now it detects Java plugin.

Add "MOZ_PLUGIN_PATH=C:\Portable Apps\CommonFiles\Java_64\bin\plugin2"
to the:
> WaterfoxPortable.ini

When I test it, Waterfox just crash out after I click the red verify java button.

Anything I did wrong?

Thanks for the last response, it was fast :)

Bernat said...

You have nothing to add to WaterfoxPortable.ini.
All is done by launcher WaterfoxPortable.exe.

The line you added is useless but this entry is not used by launcher and can't make crash.

Delete WaterfoxPortable.ini and retry.

My test.

Alessandro Tristan said...

Thanks. It works now.

I was using PortableApps.com portable JRE, I thought it's just the same.

Merci bien!

happysurf said...

I have Firefox final, Aurora and Nigtly portable at same level to Java (Common Files Folder) but only the final/beta launcher recognize Java portable.
Any idea?

Bernat said...

Same line of script in all launchers (using MOZ_PLUGIN_PATH Environment Variable).
Should be a bug of alpha versions.

Compstuff said...

Can't seem to get to the download for the 8u5 always getting the following:

Oops! Google Chrome could not connect to rghost.net

Access a cached copy of rghost.­net/­54201147

Bernat said...

Tested working with Chrome and Opera.

Compstuff said...

Hmmm maybe my damn provider is blocking... I will try a different location... thanks

Bernat said...


Compstuff said...

Thanks VERY much Bernat... sure enough my cable company is blocking that host... your link worked perfectly

Unknown said...

the aceptation is on http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#jdk-7u55-oth-JPR

Bernat said...

Thanks, this is now http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html#jre-6u45-oth-JPR

Unknown said...

I tried to run the Program "TV Browser". But it did'n work. (Error Message "TV Browser requieres Java"). Is there a Way to get this fixed?

Bernat said...

This portable version of Java can be used only by portable programs.
Portable TV Browser is not in this blog.
For an installed program you have to install Java.

Hdi said...

Hi Bernat
I could not use Java 7 Online because it says "Forbidden"
I downloaded both setup files manually and i have these now:
. Just I have request that please modify Java Online file to first of all looks at current folder and locates to jre-7u75-windows-i586.exe and -or- jre-7u75-windows-x64.exe files and uses theme to make Java Portable version

Bernat said...

Download Portable Java 7 32-64 bit Setup Extractor (0.5 MB)
In first screen enter 75.
Setup extractor backup previous version by renaming folders.

Hdi said...

Thanks Bernat
The Setup Extractor works very well

swede said...

I have Chrome Portable (40.0.2214.111, 64-bit) in C:\PortableApps\ChromePortable and Portable Java in C:\PortableApps\CommonFiles\Java_64\bin\plugin2\npjp2.dll.

I can't get java to work in my Win7 and verify it on https://www.java.com/en/download/installed.jsp?detect=jre&try=1.

My setup has been running smootless for ages but not since a while. What am I doing wrong?

Bernat said...

Paths are corrects.
Check if you have th good ChromePortable.exe (md5: b8663da977579ba5056c440c877ca399 date: 25/01/2015)

Type chrome://plugins/ in address bar:
Java(TM) - Version :
Next Generation Java Plug-in 11.31.2 for Mozilla browsers
Nom : Java(TM) Platform SE 8 U31
Description : Next Generation Java Plug-in 11.31.2 for Mozilla browsers
Version :
Emplacement : C:\PortableApps\CommonFiles\Java_64\bin\plugin2\npjp2.dll
Type : NPAPI

tarkett said...

The Installer for Java 9.0.1 seems to be Version 9.0.0.
Can you please check/fix it?

Bernat said...

Nothing to fix:
downloaded setup is 9.0.1
displayed version is 1.9.0-ea
exe version is

tarkett said...

Sorry, but if I download the Original from Oracle I get the following Java Version.

java version "9.0.1"
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)

The Fileversion is

Bernat said...

I can only extract files from msi setup.
If you have better links than:
(also "original")
I will update.

tarkett said...

Okay, I understand. The Java MSI Installer seems to be differ to the "public" Download Version for the private customer.

I download from http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jre-9.0.1_windows-x64_bin.tar.gz. And this Version 9.0.1 shows the other Version info.

Many thanks to clarify this and for your perfect work all the times. I like it.

ARIO said...

hello bernat
Please make a package which contains java too [for azareus portable]
man I put java in all subfolders and folders I found in this page but still NOTHING
please create an azareus portable package which already has java and your app can detect and run azareus portable

i will update the java

Bernat said...

You must have this folder tree.
Read Tutorial.

Post a Comment