I am using "jaxodraw-2.1-0.jar" and the "axodraw4j.sty" file is inside the directory where I am drawing and keeping my diagrams. Whenever I try to export the diagram it shows "Cannot execute command! Please try 'export LaTeX' and run latex manually." so I did. I ran the generated latex code using my "texmaker". First I used "pdflatex" and it generated a blank figure with just the latex labels but no arrows or anything ! Then I read somewhere that I must do "Latex->Dvips->Ps2Pdf-" etc so I configured my "quickbuild" tab in texmaker that way and executed which showed the following error
Process exited with error(s)
So I came back to jaxodraw and opened "preferences", I saw that the two fields: latex path and dvips path are empty. I wrote latex in the latex path and dvips in the dvips path because I don't know what else to do.. I have no idea what is the exact path for them ! Then I tried to export again using the default "LaTeX->EPS" it showed another error: "Error:_Executionof_dvips_failed!" I think if I could specify the right paths for latex and dvips it will export correctly and will directly generate the EPS file.. because I remember I used jaxodraw in another computer with ubuntu many months ago and that was generating the EPS directly and seamlessly ! But I don't know what are the paths.
I am using Ubuntu 16.04.1 LTS and it's Lubuntu. I have installed Texlive Vanilla following the instructions given here: How to install "vanilla" TeXLive on Debian or Ubuntu?
Any help will be highly appreciated because I am really stuck.
PS: If I choose just "EPS" instead of "LaTeX->EPS" it produces the diagrams without any latex labels, so again useless.