I am trying to use one of JScience's classes. I downloaded it from the website and I got a zip file. I unzipped the file and got a jar file and some folders. What I am supposed to do now to import the class that I need?
Asked
Active
Viewed 195 times
0
-
1Put the JAR somewhere on your CLASSPATH and import the package that contains your class. – PM 77-1 Jan 25 '15 at 02:48
-
@PM 77-1 So the default CLASSPATH is ".", then I would put the JAR there and call `import org.jscience.mathematics.vector;` ? – Lucas Alanis Jan 25 '15 at 03:08
-
1`import org.jscience.mathematics.vector.*;` – PM 77-1 Jan 25 '15 at 03:28
-
Are you using any IDE (Eclipse or others)? – PM 77-1 Jan 25 '15 at 03:29
-
I am using Sublime Text. – Lucas Alanis Jan 25 '15 at 03:30
-
Not familiar, so I do not know whether it manages its own build path. – PM 77-1 Jan 25 '15 at 03:33