Difference between revisions of "Java"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 3: Line 3:
  
 
== SLES 11 x64 ==
 
== SLES 11 x64 ==
On SLES 11 x64, make sure you get a 32bit firefox 3.0 browser from www.mozilla.com and a 32bit java 1.6 from java.sun.com. Follow http://plugindoc.mozdev.org/linux-amd64.html#java-sun
+
On SLES 11 x64, install java 1.6. Then do a
  ls3134:~/firefox/plugins # ln -s /usr/java/jre1.6.0_17/plugin/i386/ns7/libjavaplugin_oji.so
+
  ln -s /usr/lib64/jvm/java-1_6_0-ibm-1.6.0/jre/lib/amd64/libnpjp2.so /''root''/.mozilla/plugins/
  
 
== Debian ==
 
== Debian ==
 
  ln -s /opt/j2sdk1.4.2_04/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
 
  ln -s /opt/j2sdk1.4.2_04/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
 
   /usr/lib/mozilla-firefox/plugins
 
   /usr/lib/mozilla-firefox/plugins
 +
 +
== generic ==
 +
* find out what your jre directory is. In its lib/amd64 path you will find libnpjp2.so
 +
* find out what your mozilla plugin directory is
 +
* Link libnpjp2.so to from the one directory to the other
 +
* Verify this has worked by surfing to about:plugins

Revision as of 12:51, 8 December 2010

Java plugin

Installing the java plugin for web browsers is a pain, so I describe it here.

SLES 11 x64

On SLES 11 x64, install java 1.6. Then do a

ln -s /usr/lib64/jvm/java-1_6_0-ibm-1.6.0/jre/lib/amd64/libnpjp2.so /root/.mozilla/plugins/ 

Debian

ln -s /opt/j2sdk1.4.2_04/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
 /usr/lib/mozilla-firefox/plugins

generic

  • find out what your jre directory is. In its lib/amd64 path you will find libnpjp2.so
  • find out what your mozilla plugin directory is
  • Link libnpjp2.so to from the one directory to the other
  • Verify this has worked by surfing to about:plugins