![]() ![]() bash: deb-src: command not apt-key adv -keyserver hkp://:80 -recv-keys EEA14886 bash: -bash:: command not echo "deb-src trusty main" | tee -a /etc/apt//webupd8team-java.list bash: command not -bash: $'\342\200\213echo': command not found I can't remember how or whence I installed Java previously, but it was likely a 'least resistance' approach, so I suspect some others may also have the same system state.Code echo "deb trust main" | tee /etc/apt//webupd8team-java.list There were no other Java plugins in the list. So I think I had some sort of limited install, no idea what or why.Įxecuted sudo apt-get install openjdk-7-jdk and then re-enabled the icedtea Chromium plugin (via Settings | Advanced Settings | Privacy | Content settings | Disable individual plugins) which I had disabled earlier while trying other things. So I tried just calling javac, and got the list of installer packages for java. Non-browser java apps had previously been running ok on my system.Īn article somewhere suggested using which javac to determine installed status. In my case, Chromium was not starting the app, no messages, just a grey box appearing where the app would be, so it was doing something, but not enough. I just test it in Firefox and it's working. 64-bit users will need to change the final line to: ln -s $JAVA_HOME/jre/lib/amd64/libnpjp2.so $MOZILLA_HOME/plugins Note: You may need to change the value of JAVA_HOME so that it correctly points to your installation of the JDK. ![]() ![]() Ln -s $JAVA_HOME/jre/lib/i386/libnpjp2.so $MOZILLA_HOME/plugins Which said to create this script and run it: JAVA_HOME=/usr/lib/jvm/jdk1.7.0 When I tried testing if java was enabled in Chrome, any website with a Java applet would not load (when I disabled the plugin, they loaded, but not the applet). I have Ubuntu 12.04 64-bit installed at the moment. I tried installing the IcedTea plugin to no avail. My current Java version is the 64-bit OpenJDK 1.6.0_24. I've been trying to install the Java plugin for Chrome for a couple hours now, and I figured it was time to ask people with more experience. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |