title: Trying to install zgrviewer to view DOT files
body: <p>I am trying to install zgrviewer on my Ubuntu machine,to view DOT files. I have already installed java jdk 1.6 and Graphviz (sudo apt-get install graphviz).</p>
  
  <p>The java installation path i notice after typing "which javac" is /usr/bin/javac.</p>
  
  <p>I checkout the zgrviewer from sourceforge.net: </p>
  
  <p>svn co <a href="https://zvtm.svn.sourceforge.net/svnroot/zvtm/zgrviewer/trunk" rel="nofollow">https://zvtm.svn.sourceforge.net/svnroot/zvtm/zgrviewer/trunk</a> zgrviewer</p>
  
  <p>I am supposed to launch zgr viewer by running the run.sh script. The contents of the run.sh script is:</p>
  
  <pre><code>   #!/bin/sh
     # If you want to be able to run ZGRViewer from any directory,
     # set ZGRV_HOME to the absolute path of ZGRViewer's main directory
     # e.g. ZGRV_HOME=/usr/local/zgrviewer
  
       ZGRV_HOME=/usr/local/zgrviewer
  
       java -Xmx1024M -Xms512M -jar $ZGRV_HOME/target/zgrviewer-0.9.0-SNAPSHOT.jar "$@"
  </code></pre>
  
  <p>I am not sure how to edit this script to point to a specific Java Virtual Machine ; right now, it just says java and therefore uses the first JVM it finds in my PATH.</p>
  
  <p>so when i run the script it says: Unable to access jarfile /usr/local/zgrviewer/target/zgrviewer-0.9.0-SNAPSHOT.jar</p>
  
  <p>Please help me install zgrviewer successfully.</p>