Hello:
I am using, inside a JSP, a modified version of this code --> http://www.developer.com/java/other/article.php/806711, which uses a package named JAMA and Jamlab(to work with matrix) --> http://www.developer.com/java/other/article.php/762441
It is already recognizing the JAMA package (basic linear algebra package), after I added the Jama.jar file path to the CLASSPATH.
I was trying to import the Jamlab classes and I thought that I could do the same: add to the CLASSPATH the Jamlab.jar path.
The download did not come with a .JAR file, I did it using the JAR command: adding the classes to it. I already checked that the classes are actually inside the .JAR, not in a sub-folder.
The compiler is not recognizing a method which is found inside the Jamlab package:
//Create matrix of the coefficients.
polyCoeffMatrix = new Matrix(JElmat.convertTo2D(polynomialCoefficients));
"JElmat cannot be resolved" is the error message.
The import directive of my JSP page:
<%@page import="java.io.*,java.lang.*, java.util.*, java.awt.*, java.awt.image.*, Jama.*, Jama.util.*, jamlab.*, jamlab.JElmat.*"%>
Any help is extremely appreciated!