[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2016-02-05 Thread bademux
+Marlin Cremers (marlinc) run "echo -javaagent:/usr/share/java/jayatanaag.jar >> ~/tools/ide/idea/bin/idea64.vmoptions" for 64 bit Idea by "umake ide idea" ...they broke HUD in most useful place in favor of some unknown apps... -- You received this bug notification because you are a member of

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-10-10 Thread Marlin Cremers
I noticed that the Unity integration with IntellIJ IDEA stopped working. Then I found out that the JAVA_TOOL_OPTIONS environment variable was removed in the latest version. Is there a way to put this back? If so where? -- You received this bug notification because you are a member of Ubuntu

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-10-07 Thread Launchpad Bug Tracker
This bug was fixed in the package jayatana - 2.7-0ubuntu3.1 --- jayatana (2.7-0ubuntu3.1) vivid; urgency=medium * Do not export JAVA_TOOL_OPTION session file for now. It seems jayatana breaks some tools which are running java -version to grep for the runtime version.

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-10-05 Thread jondee
@erich Thank you for explaining what it is about Jayatana that makes it break so easily. I understand the Java side of the issue fairly well, and empirically, about how much Jayatana was breaking things. But I wasn't really sure what was happening on the system/ JVM side other than the issues

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-10-05 Thread Erich Schubert
Note that the bug description, and the changelog entry are MISLEADING. jayatana BREAKS unrelated applications. It's not just an irritating error message that is not supported by some shell scripts, but jayatana is causing NullPointerExceptions all over the place in unrelated programs, and even

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-10-02 Thread dave albright
install of the proposed jayatana package seems to have fixed Bug 1451818 crash no longer happens and dialogs act as they should thanx dave -- 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:

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-10-02 Thread Didier Roche
** Tags removed: verification-needed ** Tags added: verification-done -- 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

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-10-02 Thread jondee
@bademux "PLEASE dont fix what is not broken!" - sadly though, this statement is not true as Jayatana is presently very broken both for existing apps and for apps using Swing I've been developing in Java myself. I do however share your opinion that ideally we should by trying to keep the UX

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-10-01 Thread Michael Thayer
Seems to work for me (see comment 35). -- 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

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-10-01 Thread bademux
It is normal Hotspot JVM output - "Picked up %s: %s\n" see for more info: http://hg.openjdk.java.net/jdk7/jdk7/hotspot/file/tip/src/share/vm/runtime/arguments.cpp Sorry for double posting. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-10-01 Thread bademux
PLEASE dont fix what is not broken! It isn't jayatana problem but problem of " Some programs" . Consider to revert "Do not export JAVA_TOOL_OPTION session file for now" and create some compatibility layer for broken applications. Please don't fragment application UX for Unity, in this way you

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-10-01 Thread Didier Roche
@bademux: indeed, but it seems that the amount of broken apps is too large to be at a acceptable default experience, so we back it off from previous release. However, are a user, you can still export this variable (jayatana is kept being installed), and any help is welcome meanwhile in fixing

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-30 Thread Didier Roche
Ok, let's then do this as it seems there is general agreement here. Whitelist can be an option as well, however, the issue is that it depends on the environment (for instance, most of the menu crash that are reported here, don't happen with openjdk-7 but only with 8), this can be fixed of course,

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-30 Thread Didier Roche
** 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

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-30 Thread Michael Thayer
I get the following building VirtualBox (the problematic command is "javac vboxjxpcom.jar", can't immediately see the full command line). Using Unity and a pretty standard Ubuntu Wily. Could not find agent library instrument on the library path, with error: libinstrument.so: cannot open shared

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-30 Thread Didier Roche
** Changed in: jayatana (Ubuntu) Status: Triaged => Fix Committed -- 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,

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-30 Thread Erich Schubert
Whitelisting will be hard, since some of the problems are probably due to threading problems between the OpenJDK, and the GTK thread used by jayatana. So even if an application works fine on one JDK, it may be broken on the next JDK. The whitelist would then need to check both, and will need to be

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-30 Thread Martin Pitt
Hello Kumbarov, or anyone else affected, Accepted jayatana into vivid-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/jayatana/2.7-0ubuntu3.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-30 Thread Launchpad Bug Tracker
This bug was fixed in the package jayatana - 2.7-0ubuntu4 --- jayatana (2.7-0ubuntu4) wily; urgency=medium * Do not export JAVA_TOOL_OPTION session file for now. It seems jayatana breaks some tools which are running java -version to grep for the runtime version. Openjdk

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-30 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-branches/ubuntu/wily/jayatana/wily-proposed -- 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,

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-30 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/vivid-proposed/jayatana -- 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

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-30 Thread Didier Roche
** Changed in: hundredpapercuts Status: Triaged => Fix Committed -- 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,

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-29 Thread Erich Schubert
This REALLY breaks random things. Please replace this package with an empty package to immediately unbreak things. See also: http://stackoverflow.com/questions/26074446/picked-up-java-tool-options-javaagent-usr-share-java-jayatanaag-jar-when-st http://elki.dbs.ifi.lmu.de/ticket/133

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-29 Thread Erich Schubert
More errors caused by jayatana: Matlab: http://askubuntu.com/questions/615644/after-upgrading- ubuntu-14-10-to-15-04-i-am-no-longer-able-to-open-matlab-2013a Android Studio: https://code.google.com/p/android/issues/detail?id=187179 Altassin IntelliJ:

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-29 Thread Robin Sheat
Didier, the issue is that launching Java causes extra messages to appear in the terminal. If there's a script expecting certain output it gets confused. You can test this just by running "java -version" and seeing if you get the "Picked up JAVA_TOOL_OPTIONS" message that Dzmitry shows in comment

Re: [Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-29 Thread dave albright
in my case i can only confirm it as documented in Bug 1451818 I have only run into this with Moneydance program. Currently the issue still exists. Ubuntu 15.04 64 bit 3.19.0-30-generic Moneydance started from hud using openjdk version "1.8.0_45-internal" and unity have worked around the problem

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-29 Thread Didier Roche
Thanks for resporting this bug and help to make Ubuntu better. Sorry for the inconvenience. We are looking closely at it. However, to help upstream understanding what the bug is about (quite a lot of noise here), it would be great to clarify this: - what distribution are you all using?

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-29 Thread Didier Roche
Oh also, knowing if you are using an Unity environment or not can be a good indication! (IIRC, that was tested under non Unity environment, but better to confirm) Thanks for your feedback! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-29 Thread Didier Roche
@Robin: the extra message is annoying indeed (only with openjdk), it's hardcoded in openjdk, writing those env variable on stderr. I agree that some written script can have some output expectation on stderr (even if I don't think it's the best and most reliable way of handling output from a

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-29 Thread Alberto Salvia Novella
** Changed in: jayatana (Ubuntu Vivid) Status: New => Triaged -- 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

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-29 Thread jondee
"I tend to think that we should take the pragmatic approach for now, and remove the env variable initializing it (still giving the option to the user to export it for applications he knows that works well with it)." I wholeheartedly agree with this. Giving the user and/or developer the choice is

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-29 Thread Didier Roche
It doesn't seem that the output from openjdk will get removed (see https://bugs.openjdk.java.net/browse/JDK-8039152), I tend to think that we should take the pragmatic approach for now, and remove the env variable initializing it (still giving the option to the user to export it for applications

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-09-29 Thread √Čric Piel
Hi, In my case, I've noticed it with the arduino IDE, as described in bug 1453094. That's on Ubuntu 15.04 (x86-64). Java is Oracle java 8 (1.8.0_45, installed via the webup8 ppa). To reproduce, it's very easy: 1. sudo apt-get arduino 2. arduino 3. Type anything in the file 4. Press the "save"

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-08-23 Thread Alberto Salvia Novella
** Changed in: jayatana (Ubuntu) Importance: High = Critical ** Changed in: hundredpapercuts Importance: High = Critical -- 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

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-07-21 Thread Bryan
Wow. I'm a java developer and this completely breaks everything I do. We're lucky it actually provides evidence of what it did, and we're lucky it's easy to uninstall. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-07-02 Thread Joshua Turner
The introduction of jayatana causes some important Java use cases to dump core; in my case, using an IDE that loads project matisse (https://netbeans.org/features/java/swing.html) for GUI design causes the JVM to abort and dump a trace. I can work around the issue, disabling jayatana by calling

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-07-02 Thread Netmisha
By default this functionality should be disabled. -- 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

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-06-16 Thread Claudio
I'm affected also: Ubuntu 15.04 64 Bit. Some of the java progs started in the console evaluate the java version, which they expect in line 1, and now get JAVA_TOOL_OPTIONS instead of the java version. If I do this workaround: unset JAVA_TOOL_OPTIONS the java progs work. See also:

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-06-08 Thread Alberto Salvia Novella
@ Dan Jared Any Java program that is launched through a shell-script can be affected. For example, all launching scripts from the Java programs in the following site seemed not to work:

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-06-07 Thread Alberto Salvia Novella
I have tested that plenty of Java programs doesn't work. ** Summary changed: - Running any Java program produces messages in the terminal, while rendering some Java applications broken + Running any Java program produces messages in the terminal, while rendering many Java applications broken

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-06-07 Thread Alberto Salvia Novella
** Changed in: jayatana (Ubuntu) Importance: Critical = High ** Changed in: hundredpapercuts Importance: Critical = High -- 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

[Bug 1441487] Re: Running any Java program produces messages in the terminal, while rendering many Java applications broken

2015-06-07 Thread Dan Jared
Can you send the name of program to reproduce the bug? -- 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