i dropped the jxl.jar file in the jre/ext folder and (using emacs) the program will compile until i start adding the classes in to actually use some of the api.
So this is where i fiured i had to change the classpath, but this is new territory for me and i read some of the tutorials on setting it but the only thing im scared of is setting it to the path where these new classes are, will it erase the path for loading all the other classes in?
On the tutorial it said this:
C:> sdkTool -classpath classpath1;classpath2...
-or-
C:> set CLASSPATH=classpath1;classpath2...
where:
sdkTool
A command-line tool, such as java, javac, javadoc, or apt
"
--this kinda scares me some..unless classpath variable is specifically for adding new class paths ..NOT overwriting them. Can i get some more adivce on this before i go screwring around with it
..thanks much.
more specifically, i still want to be able to load classes from my current directory that i have created...as well as these new jxl classes...as well as all the other java classes that would normally be able to be found..i just want to make sure that setting this classpath variable will not make it look STRICTLY in that path for classes.
also note that when you extract that file, inside the jexcelapi folder there is a file named
.classpath
with contains
"<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path=""/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="E:/usr/local/woodstock/jexcelapi/2_4_3/jxl.jar"/>
<classpathentry kind="output" path=""/>
</classpath>
"
that E:/usr/local/woodstock... path does not even exist on my machine. im confused what they want me to do with this.
[ February 03, 2006: Message edited by: luc comeau ]
[ February 03, 2006: Message edited by: luc comeau ]