dcsimg
How to set the CLASSPATH Globally in AS400
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Thiru_S
Posted On:   Wednesday, January 11, 2006 06:34 AM

Is it possible to set the class path globally in AS400?. I know that CLASSPATH can be set through environment variable. But when i logged out of the session the classpath variable is gone. so everytime i need to add the classpath variable. Is there any other way...?
will SystemDefault.properties can do anything on this??


Please use html tags to format code blocks.

Re: How to set the CLASSPATH Globally in AS400

Posted By:   David_Thornton  
Posted On:   Wednesday, January 11, 2006 07:25 PM

Environment variables on the AS/400 (aka iSeries) have two possible levels *JOB and *SYS. If you want the environment variable CLASSPATH to be set globally you need to specify *SYS for the LEVEL parameter on the ADDENVVAR command.



See Add Environment Variable (ADDENVVAR) in the IBM i5/OS online documentation for more detail on using this command.

About | Sitemap | Contact