简体   繁体   中英

How Do I Set Classpath with tectia and ksh?

I am using SSH tectia Client. I want to set my classpath. I am using :`

EXPORT CLASSPATH=$CLASSPATH:/home/testvis/standard`

and it is showing ksh: EXPORT not found

What am I missing? How do I correctly set the classpath?

export not EXPORT .

CLASSPATH="$CLASSPATH:/home/testvis/standard"
export CLASSPATH

or

export CLASSPATH="$CLASSPATH:/home/testvis/standard"

And, if /home/testvis is your home folder, then you could do

export CLASSPATH="$CLASSPATH:$HOME/standard"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM