Hi!
I have a Mac and I have to make a project for the college about concurrent programming in java,
for the project I have to use the jcsp package but I have a problem to set
the CLASSPATH.
I do what the Readme says, I put the jcsp.jar in my folder,
then add the path in the classpath editing the file .profile
in this way
CLASSPATH=$CLASSPATH:/System/Library/Java/Extensions/jcsp.jar
export CLASSPATH
I do
echo $CLASSPATH
and really says
:/System/Library/Java/Extensions/jcsp.jar
but when I try to compile my code :
package jcsp.lang does not exist
import jcsp.lang.*;
^
MyProcess.java:3: cannot find symbol
symbol: class CSProcess
public class MyProcess implements CSProcess {
^
I tried to launch javac with argument
javac -classpath /System/Library/Java/Extensions/jcsp.jar MyProcess.java
but nothing, same error..
what's wrong?
Thank you so much for your help.