I'm trying to compile my file.java with an optimization problem with CPLEX notation in a cluster which uses linux (and I'm a Windows user) and a used (through and application to send commands)
javac file.java
and I get errors like :
file.java:4: error: package ilog.concert does not exist
import ilog.concert.IloException;
^
file.java:5: error: package ilog.concert does not exist
import ilog.concert.IloLinearNumExpr;
^
file.java:6: error: package ilog.concert does not exist
import ilog.concert.IloNumVar;
^
file.java:7: error: package ilog.concert does not exist
import ilog.concert.IloNumVarType;
^
file.java:8: error: package ilog.concert does not exist
import ilog.concert.IloRange;
^
file.java:9: error: package ilog.cplex does not exist
import ilog.cplex.IloCplex;
So it doesn't recognize the library (and therefore the imports) which is supposedly in this ubication in the cluster
/home/apps/cplex/12.6.1/cplex/lib/cplex.jar
My question is, do I have to add something to the javac command line or is not connected the paths (like int Windows)?