After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 741127 - Wrapper does not install to $JAVA_HOME/jre if user is root
Wrapper does not install to $JAVA_HOME/jre if user is root
Status: RESOLVED FIXED
Product: java-atk-wrapper
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: java-atk-wrapper maintainer(s)
java-atk-wrapper maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-12-04 20:00 UTC by Magdalen Berns (irc magpie)
Modified: 2015-02-27 16:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to address problem (1.39 KB, patch)
2014-12-04 21:49 UTC, Magdalen Berns (irc magpie)
committed Details | Review

Description Magdalen Berns (irc magpie) 2014-12-04 20:00:29 UTC
propertiesdir and java_atk_wrapperdir should install to $JAVA_HOME/jre and $JAVA_HOME/jre/ext when user is root but prefix otherwise. This allows the wrapper to more easily be linked by sticking to expected conventions when it is being used by the system.
Comment 1 Magdalen Berns (irc magpie) 2014-12-04 20:38:26 UTC
Sorry, that should read  $JAVA_HOMEand $JAVA_HOME/ext.
Comment 2 Magdalen Berns (irc magpie) 2014-12-04 21:49:46 UTC
Created attachment 292154 [details] [review]
Patch to address problem
Comment 3 Jose Vilmar Estacio de Souza 2014-12-05 11:03:52 UTC
What happens if $JAVA_HOME is not set?
Comment 4 Magdalen Berns (irc magpie) 2014-12-05 13:53:57 UTC
Good question. 

JAVA_HOME is set explicitly in configure.ac using the information provided in JavaInfo:

https://git.gnome.org/browse/java-atk-wrapper/tree/configure.ac#n108
Comment 5 André Klapper 2015-02-27 16:57:05 UTC
[Moving at-spi/java-atk-wrapper bugs to separate product. See bug 740075]