Hello, with the command sudo update-alternatives --config java I could define oracle java as default. But the errors are the same. What else could it be? Thank you for advices. Walter
Am 2014-01-29 17:20, schrieb Maxim Solodovnik:
You can use update-alternatives command, here is an example:sudo update-alternatives --install "/usr/bin/java" "java" /opt/jdk1.6.0_29/bin/java 1sudo update-alternatives --config javaOn Wed, Jan 29, 2014 at 10:32 PM, Walter Neumann <wal...@buerostudio-neumann.at <mailto:wal...@buerostudio-neumann.at>> wrote:Thank you for the quick reply. On the server is Oracle java installed (7u17) and open jdk (1.6.0). If I remove open jdk with yum, then will be removed 50 packages too (libreoffice for example). Must I all this remove and reinstall the needed packages? Or is there another way?# Thanks again Walter .Am 2014-01-29 14:12, schrieb Maxim SolodovnCould you please try with Oracle JDK? On Wed, Jan 29, 2014 at 8:08 PM, Walter Neumann <wal...@buerostudio-neumann.at <mailto:wal...@buerostudio-neumann.at>> wrote: Hello Maxim, thank you for your effort. It is always the sambe result: Unrecognized option: -cp, Could not create the Java virtual machine The java version is: java version "1.6.0_28" OpenJDK Runtime Environment (IcedTea6 1.13.0pre) (rhel-1.66.1.13.0.el6-x86_64) OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode) It seems to be a java issue? Walter Am 2014-01-29 10:07, schrieb Maxim Solodovnik:Please try to run following command from command line on server: java -Doffice.home=/usr/bin -cp /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/juh-3.2.1.jar -cp, /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/ridl-3.2.1.jar -cp /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/jurt-3.2.1.jar -cp /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/commons-cli-1.1.jar -cp /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/commons-io-1.4.jar -cp /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/json-20090211.jar -cp /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/unoil-3.2.1.jar -cp /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar -jar /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar/usr/openmeetings/webapps/openmeetings/upload/files/81f673d5af3739639aeeede8dd4c37e2.odt /usr/openmeetings/webapps/openmeetings/upload/files/81f673d5af3739639aeeede8dd4c37e2/81f673d5af3739639aeeede8dd4c37e2.pdf What is the result? What is the result if "-Doffice.home=/usr/bin" parameter is removed? On Tue, Jan 28, 2014 at 5:02 PM, Maxim Solodovnik <solomax...@gmail.com <mailto:solomax...@gmail.com>> wrote: You need to install openiffice via yum groupinstall + headless module. Will try to check your logs later ... On Jan 28, 2014 4:47 PM, "Walter Neumann" <wal...@buerostudio-neumann.at <mailto:wal...@buerostudio-neumann.at>> wrote: OM 2.2, libreoffice from the CentOS 6 repository, jodconverter 3.0 beta 4. I can import any files, but not openoffice documents. Path to jodconverter is set correctly. Path to office I tried without path and with "/usr/bin" (where are the binaries of OO) and with "/usr/lib" (where are the libraries of OO). Does it works with all versions of libreoffice? Openmeetings.logs is attached. Thank you for help. Walter-- WBRMaxim aka solomax-- WBRMaxim aka solomax-- WBR Maxim aka solomax
<<attachment: walter.vcf>>