Public bug reported:

The value for JAVA_TOOL_OPTIONS set by upstart breaks the window menu
and window focus of a GraphicsProgram built with the ACM Java Libraries.

When JAVA_TOOL_OPTIONS is unset, everything works perfectly as expected.

If I don't unset the variable, my window is unable to keep window-
manager focus and loses the window menu (nor window menu, neither global
menu). This results in the program being unable to capture any mouse or
keyboard events.

The terminal output that I get is the following:

Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
Exception in thread "AWT-XAWT" java.lang.NoClassDefFoundError: 
com/jarego/jayatana/FeatureManager
Caused by: java.lang.ClassNotFoundException: com.jarego.jayatana.FeatureManager
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:268)

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: jayatana 2.7-0ubuntu3
ProcVersionSignature: Ubuntu 3.19.0-7.7-generic 3.19.0
Uname: Linux 3.19.0-7-generic x86_64
ApportVersion: 2.16.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Mar  2 17:10:29 2015
InstallationDate: Installed on 2015-02-18 (12 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150217)
SourcePackage: jayatana
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: jayatana (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug vivid

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to jayatana in Ubuntu.
https://bugs.launchpad.net/bugs/1427280

Title:
  JAVA_TOOL_OPTIONS value breaks otherwise working compilation-execution

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/jayatana/+bug/1427280/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to