Java/javaws

Aus SchnallIchNet
Version vom 6. Dezember 2010, 08:08 Uhr von Cbs (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „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. # Install jdk from …“)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
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