The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
PATH in unix thiyagak85 Shell Programming and Scripting 4 07-07-2008 11:24 AM
java on unix parmeet UNIX for Advanced & Expert Users 1 01-31-2007 09:33 AM
missing Path(in UNIX) when i launch a job on to unix machine using windows SSh megastar UNIX for Advanced & Expert Users 1 11-04-2005 07:36 AM
finding the java path in AIX fermisoft IP Networking 2 07-14-2005 03:50 AM
UNIX PATH info required PLEASE HELP (I'm new to unix) akitachi UNIX for Dummies Questions & Answers 1 05-10-2002 02:37 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-12-2007
subhotech subhotech is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 13
How to set path for java in UNIX

How to set path for java in UNIX?
  #2 (permalink)  
Old 07-12-2007
psiva_arul's Avatar
psiva_arul psiva_arul is offline
Registered User
  
 

Join Date: Jul 2007
Location: Bangalore, India
Posts: 97
How to find the Cron entrys path in UNIX server?

Quote:
Originally Posted by subhotech View Post
How to set path for java in UNIX?
Thanks,
Siva.P
Bangalore
  #3 (permalink)  
Old 07-12-2007
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,318
Q - "subhotech" : How to set path for java in UNIX?
A - Find where java is installed - "which java" and set the path in /etc/profile or respective file, real use case near me:

Quote:
JAVA_HOME=/usr/local/java
JDK_HOME=$JAVA_HOME
ANT_HOME=/usr/local/ant
PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH

export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC JAVA_HOME JDK_HOME ANT_HOME
Also, java classpath may be set with "java -cp"

Q : How to find the Cron entrys path in UNIX server?
A : This sounds strange to me, "crontab -l" to see current crontab entries, cron files' location varies depending on your OS.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:35 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0