ClassNotFoundException
Hi,
I am running files reading java class but encountered error: java.lang.ClassNotFoundException Is there a way to overcome this error? I am new to using java in linux. Thanks for any help in advance. Regards Michelle |
sure, there is a way, but we need more info. At least the full error message, but would be better to explain something about your source files also.
|
ClassNotFoundException
2 Attachment(s)
Hi
I am attaching file with error message so it makes clearer what the problem is. Also info on java jdk that I have installed on linux. Hope to get more detail info on how to overcome this problem. Thanks |
Obviously no JAVA_PATH or CLASS_PATH are present in your environment.
Try manually setting them. |
Tried setting Classpath & Java-Home as below, the same errors still appear. Hope can get some help on overcoming it. Thanks.
export CLASSPATH=/home/tools/opennlp/maxent/ export JAVA_HOMe=/usr/bin/java |
if you have got the same error your CLASSPATH is still not set correctly. You would better read some documents on it (how to set up a java environment) . Maybe you need to download/install some packages also. Unfortunately the information you gave is not sufficient to solve it from here.
|
All times are GMT -5. The time now is 04:14 PM. |