Configure the 'JWSACruncher' with a portable version of 'Java'
Source:R/download_cruncher.R
configure_jwsacruncher.Rd
Function configure the 'JWSACruncher' with a portable version of 'Java'.
Details
Since the version 2.2.0, the 'JWSACruncher' needs 'Java' 8 or higher to run. For versions 3.0.0 and higher, 'JWSACruncher' needs 'Java' 17 or higher. In 'Windows' versions 3.0.0 and higher of 'JWSACruncher' includes a portable version of 'Java'. For lower version of 'JWSACruncher', if you cannot install 'Java' (for example for security reasons) you can install a portable version of 'Java' (that does not require administrator rights) and configure the 'JWSACruncher' to use this portable version. To do it you have to:
Unzip the downloaded file of the 'JWSACruncher';
Open, with a Text Editor, the file
jwsacruncher.bat
that is in the sub-folder/bin/
of the 'JWSACruncher';Edit the line 71 that contains
if "%JAVACMD%"=="" set JAVACMD=java
and replacejava
by the path to the filejava.exe
of the portable version. For example, if the portable version of 'Java' is installed underD:/Software/Java
, the path tojava.exe
should be atD:/Software/Java/bin/java.exe
and the new line 71 would beif "%JAVACMD%"=="" set JAVACMD="D:\Software\Java\bin\java.exe"
.
The function configure_jwsacruncher()
does the steps 2 and 3.