By default Firefox has no Java plugin because of security issues.
One can install plugin by following next steps:
0. Exit Firefox browser if it is running
1. Make directory if it does not exist ->
2. Make a symbolic link for libnpjp2.so file which resides in JRE directory, e.g.:
sudo ln -s /usr/lib/jvm/jdk1.8.0_20/jre/lib/amd64/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so
Please note, that amd64 is an architecture of the OS you have installed, possibly it could be i386 in your case.
3. Start Firefox and type about:plugins in address box to check if browser able to see Java plugin.
This is a YAP (yet another post) about how one can manually install Oracle’s proprietary JDK/JRE version (in Debian 7.0 Wheezy as an example).
First of all, download fresh version of JDK/JRE from the Oracle website.
Copy archive to desired location, in the following example we will use
as an installation source directory.
Unpack the archive and run next commands:
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk/bin/java 1071
sudo update-alternatives --install /usr/bin/javac javac /media/mydisk/jdk/javac 1071
sudo update-alternatives --install /usr/bin/jcontrol jcontrol /media/mydisk/jdk/bin/jcontrol 1071
You may need read man pages for update-alternatives to check out the parameters and what they mean.
Now, if you want freshly installed version of java/javac to be default in your system, run next commands:
sudo update-alternatives --config java
sudo update-alternatives --config javac
sudo update-alternatives --config jcontrol
Follow the instructions issued by update-alternatives to select default version among the list of available installations.
After that, check if everything worked fine by issuing commands
You should see 1.8.0 for both.
Installation is possible in two ways:
1. as a regular servlet on any Java server (Tomcat, JBoss, Glassfish, WebSphere, etc)
2. as a standalone application (in this case, Tomcat is already included).
At the time of this writing, the latest released version was myna-1.0_beta_9. Do not be afraid suffix beta – , the authors state that the application is very stable and successfuly works on many servers in a production mode.
For myself, I chose to install Myna as a standalone application. To do this, downloaded an archive myna-1.0_beta_9.war
Installation as simple as follows:
java-jar / path/to/myna-1.0_beta_9.war-m install
, followed by the number of additional parameters. To know more about possible option, run
java-jar / path/to/myna-1.0_beta_9.war - help
But! When you run this command under your regular unix user (if you’re not root) you will receive these messages:
Installing / upgrading Myna in '/ var / www / myna' ...
Install mode must be run as root.
I do not know why, but it did not help even when I’ve added sudo to the beginning of the team.I have not achieved success…
The secret was found and it revels the you must run the installation comand as a real root user.
And, yes, besides that, I have the full path to a war-file of the Myna. Next, the installation finished without any problem.
Apparently, the thing is that the installer is trying to register a startup script for the Myna in the /etc/init.d/
After installation, the server will start automatically and you can see the result at
http://localhost:8180/ (8180 – myna port by default).
Good luck to you!