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.
59 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.
There is a typo error in the 1st screen of the installer of ver 8:
Enter build "date"
Fixed b to d. Thanks.
Can you share the source code?
I want create Java Development Kit portable.
Or can you create this portable?
Thanks you!
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?
Regards,
~Al
Waterfox launcher check if found
CommonFiles\Java_64\bin\plugin2\npjp2.dll
and set MOZ_PLUGIN_PATH Environment Variable to the path.
The test show only Java version but not architecture.
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 :)
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.
Thanks. It works now.
I was using PortableApps.com portable JRE, I thought it's just the same.
Merci bien!
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?
Thanks.
Same line of script in all launchers (using MOZ_PLUGIN_PATH Environment Variable).
Should be a bug of alpha versions.
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
Tested working with Chrome and Opera.
Hmmm maybe my damn provider is blocking... I will try a different location... thanks
Java_Portable_8.0.5.13_32-64_bit_Online.exe
Thanks VERY much Bernat... sure enough my cable company is blocking that host... your link worked perfectly
the aceptation is on http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#jdk-7u55-oth-JPR
Thanks, this is now http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html#jre-6u45-oth-JPR
Updated.
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?
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.
Hi Bernat
I could not use Java 7 Online because it says "Forbidden"
I downloaded both setup files manually and i have these now:
Java_Portable_7.0.750.13_32-64_bit_Online.exe
jre-7u75-windows-i586.exe
jre-7u75-windows-x64.exe
. 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
Thanks
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.
Thanks Bernat
The Setup Extractor works very well
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?
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 : 11.31.2.13
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 : 11.31.2.13
Emplacement : C:\PortableApps\CommonFiles\Java_64\bin\plugin2\npjp2.dll
Type : NPAPI
The Installer for Java 9.0.1 seems to be Version 9.0.0.
Can you please check/fix it?
Nothing to fix:
downloaded setup is 9.0.1
displayed version is 1.9.0-ea
exe version is 9.0.0.68
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 9.0.1.0.
I can only extract files from msi setup.
If you have better links than:
http://javadl.oracle.com/webapps/download/AutoDL?BundleId=227986
http://javadl.oracle.com/webapps/download/AutoDL?BundleId=227985
(also "original")
I will update.
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.
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
thanks
You must have this folder tree.
Read Tutorial.
Post a Comment