problem in export CLASSPATH on Bash script.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, March 2, 2009 09:19 PM

Hello,

I am setting the classapth to include some of the libraries from the shell script on bash. After running the script, I tried to check whether the classpath is set or not? I gave the command

echo $CLASSAPTH



but it displays nothing.

How can I solve this?

Re: problem in export CLASSPATH on Bash script.

Posted By:   Bill_Bruns  
Posted On:   Friday, March 13, 2009 11:21 AM

Try exporting the CLASSPATH,
by means of this command at the end of the script:



export CLASSPATH;


Yes, you leave off the dollar $ign in that command.

About | Sitemap | Contact