portable java (windows) October 21, 2009 01:30PM |
Registered: 15 years ago Posts: 26 |
@echo off rem script runs FreeRapid jar file using portableapps.com portable JVM rem credits JavaPortableLauncher.nsi rem (*) = change the version number string to reflect the installed FRD version rem 1. download portable Java from portableapps.com and install it in your portable rem application folder, say x:\port. So java ends up in x:\port\Common Files\Java rem 2. unzip FRD in x:\port, so frd.exe ends up in x:\port\FreeRapid-0.83\ (*) rem 3. create folder x:\port\FreeRapid-0.83\tools\portablejava (*) rem 4. Copy the batch file below in x:\port\FreeRapid-0.83\tools\portablejava\runportable.cmd (*) rem 5. Double-click runportable.cmd to start FRD. rem The download save path is saved relative to folder portablejava. rem In other words, if you tell FRD to save into X:\downloads, you will find rem the bits in X:\port\FreeRapid-0.83\tools\portablejava\downloads. setlocal pushd "%~dp0" set jarpath=%CD%\..\..\frd.jar if not exist "%jarpath%" echo FRD not found && pause && goto ERROR rem portableapps.com app folder structure assumed, change below if needed set portableappspath=..\..\.. set JAVAHOME=%portableappspath%\CommonFiles\Java if not exist "%JAVAHOME%" echo JVM not found && pause && goto ERROR pushd "%JAVAHOME%" set JAVAHOME=%CD% popd set CLASSPATH=. if not exist Data mkdir Data if not exist Data\AppData mkdir Data\AppData set APPDATA=%CD%\Data\AppData cd %APPDATA% start "" "%JAVAHOME%\bin\javaw.exe" -Duser.home="%APPDATA%" -jar "%jarpath%" --portable %* echo ================================================================= echo REMINDER: do not let FreeRider auto-restart after plugin updates. echo Just close it and restart it again with %~n0. echo ================================================================= pause goto OK :ERROR set status=1 :OK popd quit %status% endlocal & rem NOTREACHED
Re: portable java (windows) October 21, 2009 01:36PM |
Admin Registered: 20 years ago Posts: 2,425 |
Re: portable java (windows) October 22, 2009 11:54AM |
Registered: 15 years ago Posts: 26 |
Re: portable java (windows) October 22, 2009 11:57AM |
Admin Registered: 20 years ago Posts: 2,425 |
Re: portable java (windows) October 24, 2009 05:53AM |
Registered: 15 years ago Posts: 26 |
Re: portable java (windows) October 24, 2009 06:43AM |
Admin Registered: 20 years ago Posts: 2,425 |
Re: portable java (windows) October 24, 2009 03:41PM |
Registered: 15 years ago Posts: 26 |
Re: portable java (windows) October 25, 2009 01:17PM |
Registered: 15 years ago Posts: 26 |
C:\FreeRapid-0.83\tools\portablejava\runportable.cmd 2207 C:\FreeRapid-0.83\tools\portablejava\Data\AppData 2131 C:\FreeRapid-0.83\tools\portablejava\Data\AppData\R 2526 C:\FreeRapid-0.83\tools\portablejava\Data\AppData\tools 2207 C:\FreeRapid-0.83\tools\portablejava\Data\AppData\app.log 2207 C:\FreeRapid-0.83\tools\portablejava\Data\AppData\app.log.lck 2526 C:\FreeRapid-0.83\tools\portablejava\Data\AppData\tools\portablejava 2526 C:\FreeRapid-0.83\tools\portablejava\Data\AppData\tools\portablejava\Data 2526 C:\FreeRapid-0.83\tools\portablejava\Data\AppData\tools\portablejava\Data\AppData 2526 C:\FreeRapid-0.83\tools\portablejava\Data\AppData\tools\portablejava\Data\AppData\R 2819 C:\FreeRapid-0.83\tools\portablejava\Data\AppData\tools\portablejava\Data\AppData\R\WF52.rar.6546390411820692819.part
Oct 24, 2009 8:22:07 PM org.apache.commons.httpclient.SimpleHttpConnectionManager getConnectionWithTimeout WARNING: SimpleHttpConnectionManager being used incorrectly. Be sure that HttpMethod.releaseConnection() is always called and that only one thread and/or method is using this connection manager at a time.
Re: portable java (windows) October 26, 2009 08:23PM |
Admin Registered: 20 years ago Posts: 2,425 |
Re: portable java (windows) October 27, 2009 10:59AM |
Registered: 15 years ago Posts: 26 |