I ' vebeensearchingfortheanswerdaylong,andfinallyhadtheproblemssolved.iamgoingtowritedownwhati ' vedonetocompletethem.hem
As far as I know,thereislittleneedtomodifypathonmac,sohereionlytellhowtosetclasspathonmac。
1. Temporary setting,whichmeansonceyouclosetheterminal,thesettingwon ' tbe kept.youhavetosetagainwhenyouopenanothertertermint
Here is the steps:
开放终端;
类型: (hereisupposeyouputdistributionunderyourusernamefolder ) )。
$ export class path=$ { class path } :~/jadex-0.96/lib/jadex _ rt.jar :~/jadex-0.96/lib/JiBX-run jax
Press return
Then you could check by typing:
$ echo $ classpathtoseeifyousucceedindoingthat.after that,you could run command:
$ javajadex.adapter.standalone.platform
2 .持续设置。
开放终端
$ ls -a
andseeifthereisa.bash _ profileinyourhomefolder.ifthereisn ' t :
$touch .bash_profile
thiswillcreateablankfileifthereisnone.then,
$open -e .bash_profile
thiswillopenitintextedit.addthefollowingline :
export class path=./users/lingao/jadex-0.96/lib/jadex _ rt.jar :/users/lingao/jadex-0.96/lib jadex _ standalone.jar :/users/lingao/jadex-0.96/lib/lib graph layout.jar 3360/users/lingao/jadex-0 .
save the文件
close the Terminal and open a new one
Type:$ echo $CLASSPATH
youwillfindtherearevaluesforclasspath。
Done!