[
https://issues.apache.org/jira/browse/CASSANDRA-6131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13785471#comment-13785471
]
Eric Evans commented on CASSANDRA-6131:
---------------------------------------
If setting {{JAVA_HOME}} from {{cassandra-env.sh}} ever worked before (from the
Debian package), it was probably by accident, but there is no reason we can't
support it going forward.
For what it's worth, I'd probably recommend using {{/etc/default/cassandra}}
for Debian/Ubuntu, but it will work with either.
[~sebastianlacuesta], could you test the attached patch and let me know if this
solves it for you?
> JAVA_HOME on cassandra-env.sh is ignored on Debian packages
> -----------------------------------------------------------
>
> Key: CASSANDRA-6131
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6131
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Environment: I've just got upgraded to 2.0.1 package from the apache
> repositories using apt. I had the JAVA_HOME environment variable set in
> /etc/cassandra/cassandra-env.sh but after the upgrade it only worked by
> setting it on /usr/sbin/cassandra script. I can't configure java 7 system
> wide, only for cassandra.
> Off-toppic: Thanks for getting rid of the jsvc mess.
> Reporter: Sebastián Lacuesta
> Assignee: Eric Evans
> Labels: debian
> Fix For: 2.0.2
>
> Attachments: 6131.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.1#6144)