FredZvt.WriteLines();

Posts Tagged ‘ubuntu

How to install java plugin in Chrome and Firefox on Ubuntu 12.10

leave a comment »

Java plugin installed!

Just after install Java JRE and JDK manually via terminal in Ubuntu 12.10, I’ve realized that I have to install the browsers plugins. After a little research I’ve found that the plugins are already available in one of JRE’s subfolders and I just need to create a symbolic link to that file in a special folder that Chrome and Firefox search for plugins at boot time.

Just execute the command below and restart the browsers:
sudo ln -s /usr/local/java/jre1.7.0_12/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so

Notes:

  • Note that you must customize JRE path. The plugins folder should be the same in your computer.
  • You can test the plugin installation in this link.
  • You can verify installation details in Chrome entering chrome://plugins/ in the url.
  • You can verify installation details in Firefox in menu Tools > Add-ons > Plugins.

References:

Anúncios

Written by Frederico Zveiter

16 mar - 2013 at 15:54

Publicado em Java, Ubuntu

Tagged with ,

How to create a launcher icon to IntelliJ IDEA on Ubuntu 12.10

leave a comment »

On folder /usr/share/applications, create the file intellij.desktop with this content:

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Name=IntelliJ Idea
Icon=/opt/idea-IC-123.169/bin/idea.png
Exec=/opt/idea-IC-123.169/bin/idea.sh &
StartupWMClass=sun-awt-X11-XFramePeer

Now, search for “IntelliJ” on Dash Home and drag the icon to the laucher.

Notes:

  • The StartupWMClass is there to avoid icon duplication when the application starts because idea.sh is just a laucher script.

References:

Written by Frederico Zveiter

15 mar - 2013 at 11:07

Publicado em Ubuntu

Tagged with ,