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 libnpjp2.so

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/libnpjp2.so"

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 http://www.java.com/en/download/installed.jsp 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.

43 comments:

  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.
    Regards,
    java training in vadapalani | JAVA Training in Chennai

    ReplyDelete
  2. 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.

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

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

    ReplyDelete
  5. 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

    ReplyDelete
  6. 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

    ReplyDelete
  7. 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.
    StartPoint

    ReplyDelete
  8. 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

    ReplyDelete
  9. 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 https://explainjava.com/compile-run-java-linux/ so now I am very good expert in this theme.

    ReplyDelete
  10. 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

    ReplyDelete
  11. 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


    ReplyDelete
  12. 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

    ReplyDelete
  13. It’s amazing in support of me to truly have a web site that is valuable meant for my knowledge.

    ReplyDelete
  14. Along with S3 Press Maestro's built-in HTML5 media player, your site's site visitors have access to press content material upon any kind of device or even internet browser.WordPress video plugin

    ReplyDelete
  15. I think this is the best article today. Thanks for taking your own time to discuss this topic, I feel happy about that curiosity has increased to learn more about this topic. Keep sharing your information regularly for my future reference.
    Java Courses in chennai

    ReplyDelete
  16. I’ve been browsing on-line greater than three hours nowadays, yet I by no means discovered any attention-grabbing article like yours. It is beautiful price sufficient for me. In my view, if all webmasters and bloggers made just right content as you did, the web will be a lot more useful than ever before. php blogging platform

    ReplyDelete
  17. Even the start-ups are not losing any opportunity of making data-based decisions. The business world has very well understood the relevance of data science in the modern scenario data science course syllabus

    ReplyDelete
  18. Excellent blog!!! I got to know more useful information by reading your blog. Thanks for posting this blog.

    Data Science Training In Bangalore

    ReplyDelete
  19. Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share.


    เว็บแทงบอล
    ufabet
    ufa
    พวงหรีด
    โควิด
    บาคาร่า

    ReplyDelete
  20. With special privileges and services, UEFA BET offers opportunities for small capitalists. Together ufa with the best websites that collect the most games With a minimum deposit starting from just 100 baht, you are ready to enjoy the fun with a complete range of betting that is available within the website

    ufabet , our one another option We are a direct website, not through an agent, where customers can have great confidence without deception The best of online betting sites is that our Ufa will give you the best price

    หาคุณกำลังหาเกมส์ออนไลน์ที่สามารถสร้างรายได้ให้กับคุณ เรามีเกมส์แนะนำ เกมยิงปลา รูปแบบใหม่เล่นง่ายบนมือถือ คาสิโนออนไลน์ บนคอม เล่นได้ทุกอุปกรณ์รองรับทุกเครื่องมือ มีให้เลือกเล่นหลายเกมส์ เล่นได้ทั่วโลกเพราะนี้คือเกมส์ออนไลน์แบบใหม่ เกมยิงปลา

    อีกทั้งเรายังให้บริการ เกมสล็อต ยิงปลา แทงบอลออนไลน์ รองรับทุกการใช้งานในอุปกรณ์ต่าง ๆ HTML5 คอมพิวเตอร์ แท็บเล็ต สมาทโฟน คาสิโนออนไลน์ และมือถือทุกรุ่น เล่นได้ตลอด 24ชม. ไม่ต้อง Downloads เกมส์ให้ยุ่งยาก ด้วยระบบที่เสถียรที่สุดในประเทศไทย

    ReplyDelete
  21. สหพันธ์ฟุตบอลระหว่างประเทศไฟเขียวให้ ไอเมอริค ลาปอร์ต ปราการหลังจาก สโมสรฟุตบอลแมนเชสเตอร์ ซิตี้ แห่งศึก ฟุตบอลพรีเมียร์ลีกอังกฤษ เปลี่ยนจากการเป็นตัวแทนทีมชาติ ฝรั่งเศส ไปรับใช้ทีมชาติ สเปน ได้ ทำให้เซ็นเตอร์แบ็ควัย 26 ปีจ่อลงเล่นใน ยูโร 2020 นี้กับทัพ กระทิงดุ... ufa

    ReplyDelete
  22. pgslot ซึ่งเกมคาสิโนออนไลน์เกมนี้เป็นเกมที่เรียกว่าเกม สล็อตเอ็กซ์โอ คุณรู้จักเกมส์เอ็กซ์โอหรือไม่ 90% ต้องรู้จักเกมส์เอ็กซ์โออย่างแน่นอนเพราะในตอนนี้เด็กนั้นเราทุกคนมักที่จะเอาก็ได้ขึ้นมา สล็อต เล่นเกมส์เอ็กซ์โอกับเพื่อนเพื่อนแล้วคุณรู้หรือไม่ว่าในปัจจุบันนี้เกมส์เอ็กซ์โอนั้นกลายมาเป็นเกมซะลอสออนไลน์ที่ให้บริการด้วยเว็บคาสิโนออนไลน์คุณสามารถเดิมพันเกมส์เอ็กซ์โอกับเว็บคาสิโนออนไลน์ได้โดยที่จะทำให้คุณนั้นสามารถสร้างกำไรจากการเล่นเกมส์เดิมพันออนไลน์ได้เราแนะนำเกมส์ชนิดนี้ให้คุณได้รู้จักก็เพราะว่าเชื่อว่าทุก

    ReplyDelete
  23. I do agree with all of the ideas you’ve presented in your post. They are very convincing and will definitely work. Still, the posts are very short for beginners. Could you please extend them a bit from next time? Thanks for the post. บาคาร่าออนไลน์

    ReplyDelete
  24. Everything is unguarded with an exact explanation of the difficulties. It was truly instructive. Your site is very useful. Much obliged for sharing! tech updates

    ReplyDelete
  25. UK Close Protection top security companies in London
    Services has trained drivers comprising former military and law enforcement personnel, they are trained officers with a wealth of experience as security chauffeurs & security drivers.

    ReplyDelete
  26. Existing without the answers to the difficulties you’ve sorted out
    through this guide is a critical case, as well as the kind which could
    have badly affected my entire career if I had not discovered your
    website.
    oracle dba training in chennai
    java training in chennai
    node js training in chennai

    ReplyDelete
  27. Gear your career with the excellent DevOps training in Chennai for freshers and students, and Tech Professionals of any field from Infycle Technologies. Also, learn other technical courses such as Cyber Security, Digital Marketing, Python, Java, Big Data Hadoop, Selenium, AWS and Azure, Mobile App Developments with complete practical methods. Call 7504633633 to get more info and a free demo for getting the best placements in the MNC's with the best salary packages.

    ReplyDelete


  28. Nice blog thank you .For your Sharing It's a pleasure to read your post.It's full of information I'm looking for and I'd like to express that "The content of your post is awesome"


    Dotnet Training in Chennai
    Core java Training in Chennai
    Web design Training in Chennai

    ReplyDelete
  29. Hey friend, it is very well written article, thank you for the valuable and useful information you provide in this post. Keep up the good work! FYI, Pet Care adda
    Credit card processing, wimpy kid books free
    ,Essay About Trip With Family

    ReplyDelete
  30. That is very interesting; you are a very skilled blogger. Matlab Training in Chennai at login360 centers around Matlab as one of the main specialized programming dialects and abilities today.

    ReplyDelete