openjdk jre in firefox

Xerxes Rånby xerxes at zafena.se
Thu Jul 12 03:27:20 PDT 2012


2012-07-12 11:50, Dalibor Topic skrev:
> Bcc:ing hotspot-runtime-dev, and CC:ing distro-pkg-dev instead.
> 
> On 7/8/12 7:32 AM, manit123 wrote:
>> 
>> hi , I am using tiny core I downloaded & installed openjdk-7-jre.tcz from repository. Icedtea plugin is not available in repository. 'java -version' says [code] openjdk version "1.7.0-internal" OpenJDK Runtime Environment (build 1.7.0-internal-tc_2010_01_30_13_43-b00) OpenJDK Server VM (build 17.0-b08, mixed mode) [/code] How do I make firefox 13 recognise this ? I have used sun/oracle jre in which you have to make a link to libjavaplugin_oji.so & libjpnp.so in ~/.mozilla/plugins/. In openjdk I found /tmp/tcloop/openjdk-7-jre/usr/local/openjdk-7/jre/lib/i386/libjava.so /tmp/tcloop/openjdk-7-jre/usr/local/openjdk-7/jre/lib/i386/libjava_crw_demo.so
>> 
>> Can I do something manually so that my web browser recognises openjdk ?
>> 
> 
> 

OpenJDK by itself do not contain a browser plugin or webstart.
You can manually install icedtea-web, it contains a browser plugin and webstart that work in combination with OpenJDK.
The IcedTea team only provide source-code that can be used to build the plugin on your system.
The latest IcedTea-web release is 1.2.
http://dbhole.wordpress.com/2012/03/05/icedtea-web-1-2-released/
You can find build instructions here:
http://icedtea.classpath.org/wiki/IcedTea-Web

#Building icedtea-web is quite easy if you have all build dependencies installed on your system:
#example of a manual icedtea-web 1.2 build
cd ~
wget http://icedtea.classpath.org/download/source/icedtea-web-1.2.tar.gz
tar zxvf icedtea-web-1.2.tar.gz
mkdir icedtea-web-1.2-image
cd icedtea-web-1.2
./configure --prefix=~/icedtea-web-1.2-image
make
make install
cd ~/.mozilla/plugins/
ln -s ~/icedtea-web-test/icedtea-web-1.2-image/lib/IcedTeaPlugin.so .
#done!
#open firefox and check about:plugins
#The about page should now contain: IcedTea-Web Plugin (using IcedTea-Web 1.2)
#The icedtea-web-1.2-image/bin also contains javaws that will allow you to run webstart .jnlp files.

Try Collaborate with your Tiny Core distribution to get icedtea-web built and packaged for your distribution.

Cheers
Xerxes



More information about the distro-pkg-dev mailing list