LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Opera Startup + Setting JAVA_HOME (https://www.linuxquestions.org/questions/linux-newbie-8/opera-startup-setting-java_home-154477/)

l2g 03-07-2004 02:45 AM

Opera Startup + Setting JAVA_HOME
 
1. Where to find the file that contains startup program info?
Should I edit one of the rc0-6.d files, or is it the etc/init.d?
2. when I do "export JAVA_HOME= /path" it won't stay in the env,
can u say what I did wrong?

Thanks
Liron.

Baldrick65 03-07-2004 05:20 AM

I think the file you want is /etc/rc.d/rc.sysinit. I just added this line to the path section:
Code:

# Set the path
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/java/j2re1.4.2_01/bin
export PATH

That should do it ... Just make sure you add the relevant path.

Baldrick

l2g 03-07-2004 05:43 AM

rc.sysinit file says: "runs once at boot time"...can't find anything related to Opera loading on startup.
Also, still can't get the JAVA_HOME path to stay in env. When exiting Terminal window and trying to startup/shutdown Tomcat again, the java path disappears. why?


All times are GMT -5. The time now is 12:00 PM.