ubuntu chrome 启用java

来源:互联网 发布:sql server外键约束 编辑:程序博客网 时间:2024/05/16 13:46

32-bit Oracle Java instructions:

  1. 1
    Issue the following commands.
    • Type/Copy/Paste: sudo -s
      • this will change you into root
    • Type/Copy/Paste: mkdir -p /opt/google/chrome/plugins
      • this will create a directory called /opt/google/chrome/plugins
    • Type/Paste/Copy: cd /opt/google/chrome/plugins
      • this will change you into the google chrome plugins directory,make sure you are in this directory before you make the symbolic link
    • Type/Paste/Copy: ln -s /usr/local/java/jre1.7.0_09/lib/i386/libnpjp2.so
      • this will create a symbolic link from the Java JRE( Java Runtime Environment ) pluginlibnpjp2.so to your Google Chrome web browser

64-bit Oracle Java instructions:

  1. 1
    Issue the following commands.
    • Type/Copy/Paste: sudo -s
      • this will change you into root
    • Type/Copy/Paste: mkdir -p /opt/google/chrome/plugins
      • this will create a directory called /opt/google/chrome/plugins
    • Type/Paste/Copy: cd /opt/google/chrome/plugins
      • this will change you into the google chrome plugins directory,make sure you are in this directory before you make the symbolic link
    • Type/Paste/Copy: ln -s /usr/local/java/jre1.7.0_09/lib/amd64/libnpjp2.so
      • this will create a symbolic link from the Java JRE( Java Runtime Environment ) pluginlibnpjp2.so to your Google Chrome web browse

可以在设中将,java状态改为“始终运行”
原创粉丝点击