Dear all,

after successful installation of Collect on our Ubuntu Server we are now struggling with Calc. We setup the tomcat server and installed all relevant R packages (incl. rJava). When we access the page our.server:8080/calc we can see the page but it freezes immediately. However it is not starting. The log files catalina.out show a problem with the JRI path: "Cannot find JRI native library!". The JRI library is installed under /usr/local/lib/R/site-library/rJava/jri. However, I am not sure where to set this environmental variabl as there are so many different files in ../tomcat7/bin. Should we specify the path in or later in ...? Any suggestions welcome.

Greetings Paul

asked 30 Nov '15, 18:29

pmagdon's gravatar image

accept rate: 0%

closed 14 Dec '15, 13:24

Mino%20Togna's gravatar image

Mino Togna ♦♦

The question has been closed for the following reason "Question is off-topic or not relevant" by Mino Togna 14 Dec '15, 13:24

Ok, I found the solution: The path to the jri library need to be speciefed in the .../tomcat7/bin/ file:

export JAVA_OPTS="-Xms256m -Xmx1024m -XX:MaxPermSize=256m -Dfile.encoding=UTF-8 -Djava.library.path=/usr/local/lib/R/site-library/rJava/jri/"

Regards Paul

permanent link

answered 02 Dec '15, 09:59

pmagdon's gravatar image

accept rate: 0%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 30 Nov '15, 18:29

question was seen: 1,783 times

last updated: 14 Dec '15, 13:24