Sunday, March 23, 2014

Enabling the Java Plugin for Chrome in Mint

So, you've gone to the Oracle web site and installed Java. But when you visit a website that requires Java, you still get a message that directs you back to the Oracle web site to install Java. The problem is that your browser doesn't know that you've installed Java, so you need to tell it where to look.

Both Ubuntu and Mint use Firefox as a default browser.  If we tell Firefox where to look, Chrome will also know. So we actually get a 2 for 1 deal.

You'll need to know where Firefox is installed, as well as Java. On my machine, these are:
  • Firefox - /usr/lib/mozilla
  • Java - /usr/local/jdk1.7.0_45/jre
If you've only installed the java runtime, it's probably in /usr/local/jre1.7.0_45. Your folder structure may be for a different version. If you're not sure where Java is, you can open a terminal window and enter:

$ sudo find / -name

Armed with this information, open a terminal window, and go to the Firefox folder:

$ cd "/usr/lib/mozilla/plugins"

Now,  create a symbolic link in that folder that points back to the plugin:

$ sudo ln -s "/usr/local/jdk1.7.0_45/jre/lib/amd64/"

Now, you can restart your browser, and enable the plugin:

  • Firefox - Select Tools > Add-ons (Ctrl+Shift+A) from the Menu Bar.  Then select the Plugins panel, and enable Java(TM) Plug-in
  • Chrome - type chrome://plugins in the Navigation Bar to enable the plugin.

Now goto to verify the plugin is working.

I've recently upgraded from Xubuntu to Linux Mint. What is nice is that since Mint is based on Ubuntu, many of the tricks and tips that I've learned for Ubuntu also work on Mint. This tip that worked on Xubuntu 11.10 with Java 1.6, still works on Mint 16 Cinnamon with Java 1.7.


  1. Wonderful post!!Java is written once and used anywhere, means general it is platform independent so it can run any platform like in android, linux, etc..,.It Is general purpose programming language. It was Origin by two programming language c and c++(c with classes).Thank you for sharing your article.
    java training in vadapalani | JAVA Training in Chennai

    1. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java Online Training from India . Nowadays Java has tons of job opportunities on various vertical industry.

  2. I have read your blog its very attractive and impressive. I like it your blog.

    JavaEE Training in Chennai JavaEE Training in Chennai

    Java Training in Chennai Core Java Training in Chennai Core Java Training in Chennai

    Java Online Training Java Online Training Core Java 8 Training in Chennai Java 8 Training in Chennai

  3. I always feel interested in Java GUI Swing programming, and it will be a great pleasure to find a Java Forum that can help learning its basics.

  4. Nice content with valuable information. Thanks for sharing.
    Java Training institute in Velachery

  5. Great post, Thanks for sharing this useful and valuable information.
    IT Job Training in Chennai

  6. The blog gave an idea an idea to enable java plugin with chrome. Thanks for sharing the information
    Android Training in Chennai

  7. Really great post. I'm a Chrome user, I have facing add problem at browsing time. How can i solve my problem?
    Would you kindly tell me what is the best chrome extensions for blocking add. Thanks

  8. Java Online Training Java Online Training Java Online Training Java Online Training Java Online Training Java Online Training

    Hibernate Online Training Hibernate Online Training Spring Online Training Spring Online Training Spring Batch Training Online Spring Batch Training Online

  9. Programming on Windows ordinarily implied the program would not take a shot at a Mac. This is not valid with Java. Java innovation is both a programming dialect and a stage.
    web design lessons

  10. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it. Java Training in Chennai

  11. As these two languages began to get recognition, more and more games began to be made using them, with the result being that gamers were demanding that any new computer they bought had the capabilities to play them.

  12. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.

    Java Training in Chennai

    Java Training in Bangalore

  13. Thanks for your marvelous posting! It is very useful and good. Come on. I want to introduce the best aso services for you, I try it and I feel it is so good to rank app to top in app store search results, have you ever heard it?

  14. Wow, not bad, thanks for your efforts to explain this topic for regular people like me, but unfortunately I understood nothing from your post:( Then I decided to look for another similar articles, and accidentally found out this amazing service that totally explained me everything about how to compile java on linux so now I am very good expert in this theme.

  15. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.

    java Training in Bangalore

  16. That is very interesting; you are a very skilled blogger. I have shared your website in my social networks! A very nice guide. I will definitely follow these tips. Thank you for sharing such detailed article...
    Java Training in Chennai
    Java Training Institute in Chennai

  17. Thanks a lot very much for the high quality and results-oriented help.
    I won’t think twice to endorse your blog post to anybody who wants
    and needs support about this area.

    java training in chennai