Showing posts with label JDK. Show all posts
Showing posts with label JDK. Show all posts

Friday, January 18, 2013

Enabling Java for Chromium Web Browser on Linux

Enabling Java for Chromium Web Browser on Linux (for webSDR)

JRE = runtime only you cant compile java only run java
JDK = You can compile and run java
I installed the JDK as I am also a java developer (1.7 latest is fine) jdk-7u11-linux-x64.tar.gz

Change to the directory where you saved the download
Open command terminal
cd /home/anton/Downloads
tar -cvf jdk-7u11-linux-x64.tar.gz

It will unzip all the files creating a directory  similar to this jdk1.7.0_11cd /usr/lib/chromium-browser/plugins
cd jdk1.7.0_11
Need to add the java plugin into the Chromium Web Browser
The path mite be different on your Linux change to fit

cd /usr/lib/chromium-browser/plugins
sudo ln -s /home/anton/Downloads/jdk1.7.0_11/jre/lib/amd64/libnpjp2.so libnpjp2.so

Need to change the System default java to point to new java JDK I know installed above

sudo update-alternatives --install "/usr/bin/java" "java" "/home/anton/Downloads/jdk1.7.0_11/bin/java" 1

Know take you browser to http://zr6aic.giga.co.za:8901  and see if webSDR is know working.

Here is a map of webSDR receivers.

webSDR map