I am interested in using "arara" package. According to it's manual my below code should run without any error:

% arara: pdflatex

Hello world.

but I get nothing and have problem with this code. It should be mentioned that I install Java after installing LaTeX. Error:

Process started: "C:/texlive/2015/bin/win32/arara.exe"

C:\texlive\2015\bin\win32\runscript.tlu:680: C:\texlive\2015\bin\win32\runscript.tlu:650: program not found (not part of TeX Live): java.exe

Process exited with error(s)

  • 1
    but can java be found on the commandline? Try running java in a dos prompt
    – daleif
    Jul 28, 2016 at 10:45
  • Yes than you for your attention.\\ I installed JRE now i'm going to install JDK. Jul 28, 2016 at 10:51
  • Yes it works... Jul 28, 2016 at 11:09
  • 2
    and does arara work from the command line using your MWE?
    – daleif
    Jul 28, 2016 at 11:38
  • 1
    You don't need the JDK just to run arara. The JRE should be sufficient. (JDK is for compiling the Java code. The JRE is just for running pre-compiled Java code.) What do you get if you do java -version in the dos prompt? Jul 28, 2016 at 14:26

1 Answer 1


I am composing this answer after gathering the comments of daleif, hossein-behboodi, nicola-talbot, cmhughes

Basically, if arara fails to work, one must check if we can run Java from the command line (DOS prompt for Windows).

java -version

If it fails install Java. Things will start working. If not, see How to get arara working with TeXstudio.

nicola-talbot says Only JRE is required. JDK is for compiling the Java code. The JRE is just for running pre-compiled Java code.

cmhughes says it would be nice to see java-is-not-recognized-as-an-internal-or-external-command

  • I see my username in the answer, but I'm not sure why...? Could you let me know?
    – cmhughes
    Aug 7, 2021 at 19:18
  • I was giving credit to you @cmhughes as I had used your comment "someone should post an answer to this, perhaps with a link to stackoverflow.com/questions/15796855/… – cmhughes Aug 10 '16 at 10:30" in the answer Aug 8, 2021 at 7:57
  • 1
    Ah, I see, thank you! I hadn't looked through the original comments, my apologies. Thanks for putting an answer together :)
    – cmhughes
    Aug 8, 2021 at 8:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .