Java/javaws

Aus SchnallIchNet
Wechseln zu: Navigation, Suche

How to run jnlp files in linux or while browsing internet sites? Plugin for jnlp for firefox or mozilla in linux ? well here is the solution.

  1. Install jdk from http://java.sun.com
  2. try to open java web start file ( jnlp ) from browser and when browser prompt – open with – direct to always open with <jdk installfolder>/bin/javaws

works for me on Centos-5


added alternative to javaws:

# update-alternatives --test --install /usr/bin/javaws javaws /usr/lib/jvm/java-1.6.0-sun/bin/javaws 1
auto
/usr/bin/javaws

/usr/lib/jvm/java-1.6.0-sun/bin/javaws
1

and after that if output looks ok for you, do the same command without '--test' option:

# update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/java-1.6.0-sun/bin/javaws 1