** Description changed: + [Impact] + * Some programs are running java -version and grep the output to determine which java version they are running on. However, having jayatana installed exports JAVA_TOOL_OPTIONS which then result in the various available java vm to output "Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar" on their command line. Programs not resilient enough against this output will then just crash as not finding their output + * Random crash happens as well with jayatana under openjdk-8 when interacting with menus + + [Test case] + 1. Enable the -proposed repository and install this new jayatana version + 2. Restart your session + 3. Run java -version + -> You shouldn't see anymore "Picked up JAVA_TOOL_OPTIONS:…" line + 4. Start any java application which was crashing (see list in comment #25) + -> The application shouldn't trigger those crashes again. + + [Regression Potential] + * We disable the entire menu, the regression that some people will see (if this was working well for their apps) is that the menu won't be exported anymore for their java app in Unity or Gnome Shell menu bar. Technical users will be able to reexport it if they desires thanks to the recipe described in the changelog or stackoverflow. + + + ------------ + I just installed Ubuntu 15.04 and was surprised to discover that when running a Java based program from the terminal in Unity, the following message appears: "Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar". I tried several programs and it is all the same. Some Java programs with enabled Java security produce even some error messages and crash. If I press Ctrl+Alt+F1 to start a new terminal session without a GUI and run a Java program (without a GUI), I don't experience this problem. Back in Unity, if I unset JAVA_TOOL_OPTIONS in the terminal and run a Java program, it works fine. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: unity 7.3.2+15.04.20150330-0ubuntu1 ProcVersionSignature: Ubuntu 3.19.0-10.10-generic 3.19.2 Uname: Linux 3.19.0-10-generic x86_64 ApportVersion: 2.17-0ubuntu1 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' CurrentDesktop: Unity Date: Wed Apr 8 10:11:10 2015 InstallationDate: Installed on 2015-03-30 (9 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Beta amd64 (20150326) SourcePackage: unity UpgradeStatus: No upgrade log present (probably fresh install)
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1441487 Title: Running any Java program produces messages in the terminal, while rendering many Java applications broken To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1441487/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs