title: Hbase shell giving loadError
body: <p>dinesh@dinesh-VirtualBox:/usr/local/hbase-1.2.5/bin$ <strong>start-hbase.sh</strong></p>
  
  <p>it shows below</p>
  
  <pre><code>localhost: zookeeper running as process 6637. Stop it first.
  starting master, logging to /usr/local/hbase-1.2.5/logs/hbase-dinesh-master-dinesh-VirtualBox.out
  starting regionserver, logging to /usr/local/hbase-1.2.5/logs/hbase-dinesh-1-regionserver-dinesh-VirtualBox.out
  </code></pre>
  
  <p>but 
  dinesh@dinesh-VirtualBox:/usr/local/hbase-1.2.5/bin$ <strong>hbase shell</strong></p>
  
  <pre><code>LoadError: load error: hbase -- java.lang.reflect.InaccessibleObjectException: Unable to make member of class 
  sun.nio.cs.Unicode accessible:  module java.base does not export 
  sun.nio.cs to unnamed module @5befbac1
  require at org/jruby/RubyKernel.java:1062
  (root) at /usr/local/hbase-1.2.5/bin/hirb.rb:118
  </code></pre>
  
  <p>hbase-site.xml</p>
  
  <pre><code>&lt;configuration&gt;
  &lt;property&gt;
  &lt;name&gt;hbase.rootdir&lt;/name&gt;
  &lt;value&gt;hdfs://localhost:54310/hbase&lt;/value&gt;
  &lt;/property&gt;
  &lt;property&gt;
  &lt;name&gt;hbase.cluster.distributed&lt;/name&gt;
  &lt;value&gt;true&lt;/value&gt;
  &lt;/property&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>In <strong>hbase-env.sh</strong> I added below line</p>
  
  <pre><code>export JAVA_HOME=/usr/lib/jvm/java-9-openjdk-amd64
  </code></pre>
  
  <p>In .bashrc file, added below lines</p>
  
  <pre><code>export HBASE_HOME=/usr/local/hbase-1.2.5 
  export PATH=$PATH:$HBASE_HOME/bin
  </code></pre>
  
  <p>don't know where the problem is, anyone knows solution of this, then please post here. Thank you in advance!!!!</p>