Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

try:

  $ update-java-alternatives --jre-headless
or

  $ update-java-alternatives --jre
this will not update the plugin-alternative which is not available (yet), see headius' comment

  => https://gist.github.com/1501186

(UPD: sorry, the following only applies to the standard OpenJDK7 on Ubuntu, not the u2 release )

also on i386 and armel see https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/850...

workaround (change armel/arm to i386 if that's your arch):

  $ cd /usr/lib/jvm/java-7-openjdk-armel/jre/lib/arm/

  $ sudo ln -s jamvm/libjvm.so .


That applies to ARM. I'm not sure of the equivalent workaround for x86_64 outside of installing a 32-bit Java 7 and setting that up as the source of the Java plugin.



Fair enough :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: