Hi. I'm installing Jira on my linux computer for personal use. I am learning linux but it's a little spotty in some places, particularly with the JAVA_HOME variable. I know that from a terminal I can go
$ export JAVA_HOME=/usr/lib/path/to/java/jdk
but I believe this only sets the variable for this session, for me. Is this true?
If so, how do I make it so that JAVA_HOME is set before Jira starts? I'd like Jira to run when I turn on my computer, so it shouldn't have to wait for me to set it.
>but I believe this only sets the variable for this session, for me. Is this true?
Yes. But if you add it to the file .bashrc it will run every time you log in automatically (assuming you use bash as your shell - it is the default for most of the more popular distros)
Similarly, you can add it to the scripts you use to run Jira. Have a look for "setenv.sh" if you're on Jira standalone.
I think export will set the variable for as long as you ar logged in. However there is another way:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Set it under the bash profile as explained here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.