title: Loading RJDBC in Shiny app
body: <p>I have a shiny app running on Ubuntu 14.10 that I need to connect to a SQL Server database. I am using JDBC for the connection.</p>
  
  <p>Outside of the app (in the console) I have been able to install the JDBC package and its dependencies, load it, and connect and query the database with no issues.</p>
  
  <p>However, when I try to do this in my shiny app running on a shiny server, the app fails to load, and I get these errors from my browser:</p>
  
  <pre><code>Listening on http://127.0.0.1:51925
  Loading required package: DBI
  Loading required package: rJava
  Error : .onLoad failed in loadNamespace() for 'rJava', details:
    call: dyn.load(file, DLLpath = DLLpath, ...)
    error: unable to load shared object '/usr/local/lib/R/site-library/rJava/libs/rJava.so':
    libjvm.so: cannot open shared object file: No such file or directory
  </code></pre>
  
  <p>The error occurs because rJava isn't loading. However, when I run from the console as user "shiny," both rJava and RJDBC load without issue.</p>
  
  <p>Any suggestions?</p>