View source: R/download_cruncher.R
configure_jwsacruncher | R Documentation |
Function configure the 'JWSACruncher' with a portable version of 'Java'.
configure_jwsacruncher(jwsacruncher_path, java_path)
jwsacruncher_path |
Path to the file |
java_path |
Path to the file |
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 replace java
by the path to the file java.exe
of the portable version. For example, if the portable
version of 'Java' is installed under D:/Software/Java
, the path to java.exe
should be at
D:/Software/Java/bin/java.exe
and the new line 71 would be
if "%JAVACMD%"=="" set JAVACMD="D:\Software\Java\bin\java.exe"
.
The function configure_jwsacruncher()
does the steps 2 and 3.
download_cruncher()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.