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.
Tested on Windows XP Pro SP3 and Windows 7 Integrale SP1.
On Vista and 7 turn off User Account Control (UAC) or run launcher as admin.
If you found dead links, search on Jooseng's Mirrors.

28 commentaires:
Can't get this to work for me with Chrome... created:
c:\CommonFiles
c:\PortableApps\P-Chrome
c:\PortableApps\CommonFiles
c:\PortableApps\P-Chrome\CommonFiles
All together and still doesn't work
If you let the installers of Chrome and Java use the default path you should have:
X:\PortableApps\CommonFiles\Java\bin\plugin2\npjp2.dll
for Java plugin dll and
X:\PortableApps\ChromePortable\ChromePortable.exe
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.
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?
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
Hello!
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.
- use downloaded setup: sometimes done(LibreOffice, Total Commander)
- repack: simply use 7-Zip
Hi, I have firefox portable installed in:
C:\PortableApps\FirefoxPortable
and Java in:
C:\PortableApps\CommonFiles
but for some reason it's not working, firefox just do not see java...
Do you have any suggestion to fix this problem?
Thanks
For me the test:
http://www.java.com/en/download/help/testvm.xml
run with Firefox 15.0 Aurora 17.0a2 but not Nightly 18.0a1 x64
Check if you have
C:\PortableApps\CommonFiles\Java\bin\plugin2\npjp2.dll
Bernat,
Do you plan to release 64bits version of portable java too?
Thanks for you amazing work.
Added 64 bit (32 bit compatible).
Hi
I use windows8 and IE10
and link to http://www.java.com/en/download/help/testvm.xml
but it don't work
Of course if you use a not portable browser such as IE.
Works only with portable browsers of this blog.
thank you
If I use Chrome portable 23.0.1271.64
and installed in :
E:\PortableApps\ChromePortable
JAVA in:
E:\PortableApps\CommonFiles
It still don't work
Working for me:
http://img839.imageshack.us/img839/7338/javachrome.png
I had to allow execution:
http://img40.imageshack.us/img40/1326/chromejava.png
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).
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
CommonFiles\Java\JavaPortable.ini
with
[JavaPortable]
Version=1.7.0_10
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.
Perhaps did you just extract core.zip without unpacking lib\*pack to .jar
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.
Could you please update the JRE6 extractor, or possibly make it universal (by entering a version number or filename, etc)?
JRE6 updated to 39.
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
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).
"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"...
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 :
http://assiste.com.free.fr/p/abc/c/anti_java.html
"le "lanceur" détecte une version déjà installé et la désinstalle"
Pas du tout : voir source ligne 60
java 6 Update 43 available.
Updated but not tested.
Post a Comment