Greetings!
I've run into an odd problem. I have Java JDK installed under /opt/jdk1.6 and there is a symlink
/opt/java -> /opt/jdk1.6
I also have Aptivity installed with its startup script in /etc/init.d/aptivity which expects JAVA_HOME to be set up, therefore I created /etc/profile.d/java.*sh setting JAVA_HOME.
In fact, there are two questions:
a) JAVA_HOME in not being picked up
b) even when I manually set "export JAVA_HOME=/opt/java", when I run /etc/init.d/aptivity, the script does not see the JAVA_HOME at all!
Can anyone explain what is going one? Thanks in advance.
I've run into an odd problem. I have Java JDK installed under /opt/jdk1.6 and there is a symlink
/opt/java -> /opt/jdk1.6
I also have Aptivity installed with its startup script in /etc/init.d/aptivity which expects JAVA_HOME to be set up, therefore I created /etc/profile.d/java.*sh setting JAVA_HOME.
In fact, there are two questions:
a) JAVA_HOME in not being picked up
b) even when I manually set "export JAVA_HOME=/opt/java", when I run /etc/init.d/aptivity, the script does not see the JAVA_HOME at all!
Can anyone explain what is going one? Thanks in advance.
Comment