title: Audiveris Setup - Java web start (jnlp)
body: <p>I'm trying to set up Audiveris, an open-source OMR software, and am struggling to make sense of what is going on in the installation. The problem is that it is trying to pull tesseract from the deprecated google site, as opposed to where it is currently located (on github). </p>
  
  <p><a href="https://i.stack.imgur.com/nnfco.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nnfco.png" alt="Installation fails on step 4"></a></p>
  
  <p>I tried looking through the JNLP file (Java Web Start) that launches the app, however I am confused as to what the hrefs are referring to. Is there a simple solution to specify the correct path to tesseract by changing the JNLP?</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
  &lt;!-- from audiveris/master-application.jnlp --&gt;&lt;jnlp codebase="https://audiveris.kenai.com/jnlp" href="launch.jnlp" spec="7.0+" version="4.3"&gt;    
      &lt;information&gt;
          &lt;title&gt;Audiveris&lt;/title&gt;
          &lt;vendor&gt;Audiveris Ltd.&lt;/vendor&gt;
          &lt;homepage href="http://audiveris.kenai.com"/&gt;
          &lt;description&gt;Optical Music Recognition software&lt;/description&gt;
          &lt;description kind="short"&gt;Audiveris&lt;/description&gt;
          &lt;icon href="resources/icon-64.png"/&gt;
          &lt;icon href="resources/splash.png" kind="splash"/&gt;
          &lt;shortcut install="true" online="true"&gt;
              &lt;desktop/&gt;
              &lt;menu/&gt;
          &lt;/shortcut&gt;
      &lt;offline-allowed/&gt;
  &lt;/information&gt;
      &lt;!-- check: always, timeout(default), background --&gt;
      &lt;!-- policy: always(default), prompt-update, prompt-run --&gt;
  &lt;!--    &lt;update check="always" policy="prompt-update" /&gt;--&gt;
      &lt;update check="background"/&gt;
      &lt;security&gt;
  &lt;all-permissions/&gt;
  &lt;/security&gt;
      &lt;resources&gt;
          &lt;!--        &lt;java version="1.7+" java-vm-args="-Xms384m -Xmx384m" href="http://java.sun.com/products/autodl/j2se"/&gt;      --&gt;
          &lt;!-- ???    &lt;java version="1.7+" java-vm-args="-Xms384m -Xmx384m -verbose:class" href="http://javadl.sun.com/webapps/jawsautodl/AutoDL/j2se" /&gt;--&gt;
          &lt;java href="http://java.sun.com/products/autodl/j2se" java-vm-args="-Xms384m -Xmx384m -Djava.net.preferIPv4Stack=true" version="1.7+"/&gt;    
          &lt;!-- Logging --&gt;
  &lt;!--        &lt;property name="logback.configurationFile" value="config/logback.xml" /&gt;--&gt;
          &lt;!-- eager download after this line --&gt;
          &lt;jar href="audiveris.jar" main="true"/&gt;
          &lt;jar href="lib/Jama-1.0.2.jar"/&gt;
          &lt;jar href="lib/bsaf-1.9.1.jar"/&gt;
          &lt;jar href="lib/crystal-icons.jar"/&gt;
          &lt;jar href="lib/eventbus-1.4.jar"/&gt;
          &lt;jar href="lib/jcip-annotations.jar"/&gt;
          &lt;jar href="lib/logback-classic-1.0.11.jar"/&gt;
          &lt;jar href="lib/logback-core-1.0.11.jar"/&gt;
          &lt;jar href="lib/jgoodies-common-1.6.0.jar"/&gt;
          &lt;jar href="lib/jgoodies-forms-1.7.1.jar"/&gt;
          &lt;jar href="lib/jgoodies-looks-2.5.3.jar"/&gt;
          &lt;jar href="lib/slf4j-api-1.7.5.jar"/&gt;
          &lt;jar href="lib/javacpp.jar"/&gt;
          &lt;jar href="lib/tesseract-3.jar"/&gt;
          &lt;jar href="lib/jai_imageio.jar"/&gt;
          &lt;jar href="lib/clibwrapper_jiio.jar"/&gt;
          &lt;jar href="lib/jai_core.jar"/&gt;
          &lt;jar href="lib/jai_codec.jar"/&gt;
          &lt;jar href="lib/mlibwrapper_jai.jar"/&gt;        
          &lt;!-- lazy download after this line --&gt;
          &lt;!-- Used for printing score --&gt;
          &lt;jar download="lazy" href="lib/iText-5.0.4.jar" part="pdf"/&gt;
          &lt;package name="com.itextpdf.*" part="pdf" recursive="true"/&gt;
          &lt;!-- Used for scale charts --&gt;
          &lt;jar download="lazy" href="lib/jfreechart-1.0.13.jar" part="chart"/&gt;
          &lt;jar download="lazy" href="lib/jcommon-1.0.16.jar" part="chart"/&gt;
          &lt;package name="org.jfree.*" part="chart" recursive="true"/&gt;
          &lt;!-- Used for score marshalling --&gt;
          &lt;jar download="lazy" href="lib/proxymusic-3.0.jar" part="marshalling"/&gt;
          &lt;package name="com.audiveris.proxymusic.*" part="marshalling" recursive="true"/&gt;
          &lt;!-- Link to Audiveris bundle installer --&gt;
          &lt;extension href="installer.jnlp"/&gt;
      &lt;/resources&gt;
      &lt;!-- 
          For Windows, native libs are no longer kept in Java cache but 
          installed into proper Windows system folder by Installer.
      &lt;resources os="Windows" arch="amd64"&gt;
          &lt;nativelib href="lib/tess-windows-64bit.jar"/&gt;
      &lt;/resources&gt;
      &lt;resources os="Windows" arch="x86"&gt;
          &lt;nativelib href="lib/tess-windows-32bit.jar"/&gt;
      &lt;/resources&gt;
      --&gt;
      &lt;resources arch="amd64" os="Linux"&gt;
          &lt;nativelib href="lib/tess-unix-64bit.jar"/&gt;
      &lt;/resources&gt;
      &lt;resources arch="i386 x86" os="Linux"&gt;
          &lt;nativelib href="lib/tess-unix-32bit.jar"/&gt;
      &lt;/resources&gt;
  &lt;!--    
      &lt;resources os="Mac\ OS\ X" arch="x86_64"&gt;  
      &lt;/resources&gt;  
          &lt;resources os="Mac\ OS\ X" arch="i386 x86"&gt;  
          &lt;/resources&gt;
      --&gt;    
      &lt;application-desc main-class="Audiveris"&gt;
      &lt;/application-desc&gt;
  &lt;/jnlp&gt;
  </code></pre>