Re: Help me
At 02:29 AM 3/18/00 -0500, Tum Power wrote:
>How do I install JAMA into the JDK of mine..
You do not need to "install" it into the JDK, only make sure the JVM knows
where the library is at. In Windows, you need to modify your autoexec.bat
file to provide classpaths to the Jama library. For instance, your file
might look like:
That's all you need. In fact, if you put the Jama folder as a
sub-directory of JDK1.2, the JVM will find it. What I do is put the Jama
folder under the primary application directory, then you don't need to
classpath Jama at all. For instance, let's say my application is in a
directory C:\newapp, here's what you would do:
You don't need to explicitly reference Jama (or any other package you're
using such as graphics, swing add-ons, etc) if you do it this way.
To make sure your classpaths are correct, once you modify autoexec.bat,
reboot, and then open a DOS window and type in SET, this will echo system
settings including paths and classpaths. When you are using Jama, and you
get a compiler error saying "Can't find class ...", that probably means
your classpaths are not set properly. Try creating some simple examples
using Jama (I have several if you would like them) to verify the paths.
DynaTech Engineering, Inc.
- Help me
- From: Tum Power <HMTum@kmitl.ac.th>
Date Index |
Thread Index |
Problems or questions? Contact email@example.com