title: Install RWekajars On Ubuntu
body: <p>I try to install the R package "RWekajars". Unfortunatly I get the following error message:</p>
  
  <pre><code>* installing *source* package ‘RWekajars’ ...
  ** Paket ‘RWekajars’ erfolgreich entpackt und MD5 Summen überprüft
  Exception in thread "main" java.lang.NoClassDefFoundError: getsp
  Caused by: java.lang.ClassNotFoundException: getsp
          at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
  Could not find the main class: getsp.  Program will exit.
  ./configure: Zeile 50: test: -ge: Einstelliger (unärer) Operator erwartet.
  ./configure: Zeile 51: test: -eq: Einstelliger (unärer) Operator erwartet.
  Need at least Java version 1.5/5.0.
  </code></pre>
  
  <p>I use Ubuntu 11.04 but I have the same problem on Ubuntu 10.10.</p>
  
  <p>Refreshing the R - Java configuration with </p>
  
  <pre><code>R CMD javareconf
  </code></pre>
  
  <p>did <em>not</em> help. </p>
  
  <p>I have the problem on two maschines, one runs Oracle Java (1.6.0_26) and the other one runs OpenJDK (1.6.0). So the error message </p>
  
  <pre><code>Need at least Java version 1.5/5.0 
  </code></pre>
  
  <p>seems not justified. Also there is only one java version installed.</p>