JAVA_TOOL_OPTIONS value breaks otherwise working execution

Bug #1427280 reported by Guillermo G. de Garibay on 2015-03-02
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Octave
New
Undecided
Unassigned
jayatana (Ubuntu)
High
Unassigned

Bug Description

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)

summary: - JAVA_TOOL_OPTIONS value breaks otherwise working compilation-execution
+ JAVA_TOOL_OPTIONS value breaks otherwise working execution
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in jayatana (Ubuntu):
status: New → Confirmed
Changed in jayatana (Ubuntu):
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers