LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-17-2003, 10:27 PM   #16
MiscGeek
Member
 
Registered: Jan 2003
Location: Georgia, US
Distribution: RHEL WS4
Posts: 189

Rep: Reputation: 30

Quote:
Originally posted by wdingus

Potential problems with this way of modifying the path is that running things from cron or 'at' jobs or automated scripts might still use the default path and not find the Sun 1.4.2 Java files. Probably /etc/profile would need to be appropriately modified to set the correct PATH or make sure to give the full path in any scripts or cron jobs or whatever to the executable you want. Many other ways to skin this cat, that's just a couple.

Good luck!
wdingus,

Yeah, I have several java apps that run under cron and it doesn't look like cron uses the /etc/profile by default. I end up having to source it in the scripts that start the java programs, " . /etc/profile ".

Mike
 
Old 08-17-2003, 10:32 PM   #17
p.z
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Original Poster
Rep: Reputation: 0
You people are great. Still trying to get it going...but all the help gives me confidence in the OS.
 
Old 08-17-2003, 10:34 PM   #18
p.z
LQ Newbie
 
Registered: Aug 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Okay...

java -version now GIVES ME RESULTS.

Thank god, and thank you good people.
 
Old 08-17-2003, 10:38 PM   #19
MiscGeek
Member
 
Registered: Jan 2003
Location: Georgia, US
Distribution: RHEL WS4
Posts: 189

Rep: Reputation: 30
That's what we're here for. All of us have been there before and at least for me, had to look for help Just wish I had found LQ when I first started using Linux
 
Old 08-17-2003, 10:40 PM   #20
MiscGeek
Member
 
Registered: Jan 2003
Location: Georgia, US
Distribution: RHEL WS4
Posts: 189

Rep: Reputation: 30
Quote:
Originally posted by p.z
Okay...

java -version now GIVES ME RESULTS.

Thank god, and thank you good people.
Awesome, and you are quite welcome
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bill Gates Will be interviewed by the spanish newspaper "El Mundo" aizkorri General 0 11-18-2004 03:46 AM
Java error "Exception in thread "main" java.lang.StackOverflowError" nro Programming 1 09-04-2004 03:47 AM
Europeans seem to have their act together, don't want Bill Gates "society" beginnerx Linux - Newbie 0 10-03-2003 06:25 AM
" Forget about Bill Gates, folks..." jamaso General 8 06-10-2003 04:16 AM
"Bill Gates' house is totally out of date." macewan General 17 05-11-2003 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:32 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
Open Source Consulting | Domain Registration