LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-07-2004, 02:45 AM   #1
l2g
Member
 
Registered: Feb 2004
Distribution: Red Hat 9, Slackware 9.1
Posts: 55

Rep: Reputation: 15
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.
 
Old 03-07-2004, 05:20 AM   #2
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
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
 
Old 03-07-2004, 05:43 AM   #3
l2g
Member
 
Registered: Feb 2004
Distribution: Red Hat 9, Slackware 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem setting JAVA_HOME pkpro1 Linux - General 5 11-25-2007 08:49 AM
# ./startup.sh Neither the JAVA_HOME nor the JRE_HOME environment variable is defined Niceman2005 Linux - Newbie 3 06-29-2005 01:58 PM
opera launches on startup cjsmith22 Linux - Newbie 4 05-25-2005 02:51 AM
setting JAVA_HOME gauravbagga Linux - Newbie 2 03-04-2005 09:17 PM
Permanently Setting the Java_Home Dynapen Linux - Newbie 2 08-04-2004 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration