poniedziałek, 20 czerwca 2016

Language tool on libreoffice on ubuntu

Just this solution
On Ubuntu, install the libreoffice-java-common or openoffice.org-java-common package. One problem solved by this is getting a long error message with "NoClassDefFoundError" during installation (see screenshot). On Ubuntu, if you get a message similar to Exception in thread "Thread-402" java.awt.HeadlessException in LibreOffice/OpenOffice, see this stackoverflow answer. Note that the message might not appear in a dialog but only on the command line, so you might want to start LibreOffice/OpenOffice from a terminal window.

Java on ubuntu

How to find out version:
update-java-alternatives -l java -showversion java -version
How to install java8 sudo add-apt-repository ppa:openjdk-r/ppa sudo apt-get update sudo apt-get install openjdk-8-jdk sudo update-alternatives --config java sudo update-alternatives --config javac And from oracle $ sudo add-apt-repository ppa:webupd8team/java $ sudo apt-get update $ sudo apt-get install oracle-java8-installer How to remove
sudo apt-get purge openjdk-7-*
How to install: sudo apt-get install openjdk-7-jre or sudo apt-get install openjdk-7-jdk