[Desktop-packages] [Bug 926594] Re: javaldx: Could not find a Java Runtime Environment!
There are still problems with the warning message. Lets focus this bug on fixing that. Please set it to "wishlist" at least, rather than "won't fix". It sounds like Ubuntu made a decision to not require Java for LibreOffice - presumably to reduce the default distribution size and avoid potential security exposures. But as documented on the LibreOffice site, some features won't work without Java: What features absolutely require Java ? - Ask LibreOffice http://ask.libreoffice.org/question/696/what-features-absolutely-require-java Note that this results in e.g. bug #780399 “Wizard doesn't run without libreoffice-java-common installed. The user should be notified to install it when running a wizard." See also this AskUbuntu question: How do I get LibreOffice Extensions to work in Ubuntu 12.04? - Ask Ubuntu - Stack Exchange http://askubuntu.com/questions/127570/how-do-i-get-libreoffice-extensions-to-work-in-ubuntu-12-04 Given all that, the warning message should change. Now it emphatically declares that there is a problem, and tells users to install a package that doesn't actually fix the problem. I'd think we'd want it to figure out whether Java is missing or the javasettings_Linux_*.xml file is causing a problem, and give a warning with better advice to the user, e.g.: javaldx: LibreOffice could not find a Java Runtime Environment. That's fine if you don't rely on features that require Java like some wizards, extensions and databases (see http://ask.libreoffice.org/question/696 /what-features-absolutely-require-java). If you do rely on those features, install the "libreoffice-base" package from the Ubuntu Software Center. ** Summary changed: - javaldx: Could not find a Java Runtime Environment! + LibreOffice warning gives wrong advice: "javaldx: Could not find a Java Runtime Environment!" -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/926594 Title: LibreOffice warning gives wrong advice: "javaldx: Could not find a Java Runtime Environment!" Status in “libreoffice” package in Ubuntu: Won't Fix Bug description: i get this warning after fresh install of ubuntu precise: javaldx: Could not find a Java Runtime Environment! Please ensure that a JVM and the package libreoffice-java-common is installed. If it is already installed then try removing ~/.libreoffice/3/user/config/javasettings_Linux_*.xml Warning: failed to read path from javaldx installing "libreoffice-base" fixd it, so probably there is a missing dependecie ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libreoffice (not installed) ProcVersionSignature: Ubuntu 3.2.0-12.21-generic 3.2.2 Uname: Linux 3.2.0-12-generic x86_64 ApportVersion: 1.91-0ubuntu1 Architecture: amd64 Date: Sat Feb 4 11:48:10 2012 InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.1) ProcEnviron: PATH=(custom, no user) LANG=de_DE.UTF-8 SHELL=/bin/bash SourcePackage: libreoffice UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/926594/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 926594] Re: javaldx: Could not find a Java Runtime Environment!
Setting to Wontfix unless there is some faulty behaviour connected with the warning. The warning itself is not serious. ** Changed in: libreoffice (Ubuntu) Importance: Undecided => Low ** Changed in: libreoffice (Ubuntu) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/926594 Title: javaldx: Could not find a Java Runtime Environment! Status in “libreoffice” package in Ubuntu: Won't Fix Bug description: i get this warning after fresh install of ubuntu precise: javaldx: Could not find a Java Runtime Environment! Please ensure that a JVM and the package libreoffice-java-common is installed. If it is already installed then try removing ~/.libreoffice/3/user/config/javasettings_Linux_*.xml Warning: failed to read path from javaldx installing "libreoffice-base" fixd it, so probably there is a missing dependecie ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libreoffice (not installed) ProcVersionSignature: Ubuntu 3.2.0-12.21-generic 3.2.2 Uname: Linux 3.2.0-12-generic x86_64 ApportVersion: 1.91-0ubuntu1 Architecture: amd64 Date: Sat Feb 4 11:48:10 2012 InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.1) ProcEnviron: PATH=(custom, no user) LANG=de_DE.UTF-8 SHELL=/bin/bash SourcePackage: libreoffice UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/926594/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 926594] Re: javaldx: Could not find a Java Runtime Environment!
@christopher, which bug are you thinking of? Perhaps bug 733128? Bug 733128 has some discussion of this also, but seems focused on problems related to the ~/.libreoffice/3/user/config/javasettings_Linux_*.xml file -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/926594 Title: javaldx: Could not find a Java Runtime Environment! Status in “libreoffice” package in Ubuntu: Confirmed Bug description: i get this warning after fresh install of ubuntu precise: javaldx: Could not find a Java Runtime Environment! Please ensure that a JVM and the package libreoffice-java-common is installed. If it is already installed then try removing ~/.libreoffice/3/user/config/javasettings_Linux_*.xml Warning: failed to read path from javaldx installing "libreoffice-base" fixd it, so probably there is a missing dependecie ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libreoffice (not installed) ProcVersionSignature: Ubuntu 3.2.0-12.21-generic 3.2.2 Uname: Linux 3.2.0-12-generic x86_64 ApportVersion: 1.91-0ubuntu1 Architecture: amd64 Date: Sat Feb 4 11:48:10 2012 InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.1) ProcEnviron: PATH=(custom, no user) LANG=de_DE.UTF-8 SHELL=/bin/bash SourcePackage: libreoffice UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/926594/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 926594] Re: javaldx: Could not find a Java Runtime Environment!
** Tags added: likely-dup -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/926594 Title: javaldx: Could not find a Java Runtime Environment! Status in “libreoffice” package in Ubuntu: Confirmed Bug description: i get this warning after fresh install of ubuntu precise: javaldx: Could not find a Java Runtime Environment! Please ensure that a JVM and the package libreoffice-java-common is installed. If it is already installed then try removing ~/.libreoffice/3/user/config/javasettings_Linux_*.xml Warning: failed to read path from javaldx installing "libreoffice-base" fixd it, so probably there is a missing dependecie ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libreoffice (not installed) ProcVersionSignature: Ubuntu 3.2.0-12.21-generic 3.2.2 Uname: Linux 3.2.0-12-generic x86_64 ApportVersion: 1.91-0ubuntu1 Architecture: amd64 Date: Sat Feb 4 11:48:10 2012 InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.1) ProcEnviron: PATH=(custom, no user) LANG=de_DE.UTF-8 SHELL=/bin/bash SourcePackage: libreoffice UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/926594/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 926594] Re: javaldx: Could not find a Java Runtime Environment!
I see the same behavior, on a fresh install of the final 12.04 precise iso for amd64. I already had libreoffice-java-common, and did not have the file mentioned in the error message. But I had no java command. I tried what Oleksij suggested (wajig install libreoffice-base) which noted it would be installing default-jre (icedtea) and libhsqldb-java plus dependencies: The following extra packages will be installed: ca-certificates-java default-jre default-jre-headless icedtea-6-jre-cacao icedtea-6-jre-jamvm icedtea-netx icedtea-netx-common java-common libatk-wrapper-java libatk-wrapper-java-jni libhsqldb-java libservlet2.5-java openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib ttf-dejavu-extra tzdata-java That seems to have solved the problem. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/926594 Title: javaldx: Could not find a Java Runtime Environment! Status in “libreoffice” package in Ubuntu: Confirmed Bug description: i get this warning after fresh install of ubuntu precise: javaldx: Could not find a Java Runtime Environment! Please ensure that a JVM and the package libreoffice-java-common is installed. If it is already installed then try removing ~/.libreoffice/3/user/config/javasettings_Linux_*.xml Warning: failed to read path from javaldx installing "libreoffice-base" fixd it, so probably there is a missing dependecie ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libreoffice (not installed) ProcVersionSignature: Ubuntu 3.2.0-12.21-generic 3.2.2 Uname: Linux 3.2.0-12-generic x86_64 ApportVersion: 1.91-0ubuntu1 Architecture: amd64 Date: Sat Feb 4 11:48:10 2012 InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.1) ProcEnviron: PATH=(custom, no user) LANG=de_DE.UTF-8 SHELL=/bin/bash SourcePackage: libreoffice UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/926594/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 926594] Re: javaldx: Could not find a Java Runtime Environment!
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: libreoffice (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/926594 Title: javaldx: Could not find a Java Runtime Environment! Status in “libreoffice” package in Ubuntu: Confirmed Bug description: i get this warning after fresh install of ubuntu precise: javaldx: Could not find a Java Runtime Environment! Please ensure that a JVM and the package libreoffice-java-common is installed. If it is already installed then try removing ~/.libreoffice/3/user/config/javasettings_Linux_*.xml Warning: failed to read path from javaldx installing "libreoffice-base" fixd it, so probably there is a missing dependecie ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libreoffice (not installed) ProcVersionSignature: Ubuntu 3.2.0-12.21-generic 3.2.2 Uname: Linux 3.2.0-12-generic x86_64 ApportVersion: 1.91-0ubuntu1 Architecture: amd64 Date: Sat Feb 4 11:48:10 2012 InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.1) ProcEnviron: PATH=(custom, no user) LANG=de_DE.UTF-8 SHELL=/bin/bash SourcePackage: libreoffice UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/926594/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp