Knowledge Base Ask Cody Resources



 
When I run your sample or compile my application that uses your Java classes I get the error: "Class not found". Why?
This has happened because you have not added the Distinct classes to your classpath. The distinct classes are installed in two directories. Both of these must be added to your classpath. For example, if you installed them under c:\distinct\jrpc, you will need to add this to your classpath as well as c:\distinct\jrpc\jrpcgen. Please remember to add the second entry, otherwise jrpcgen will not work.

If you are running on NT go to the Control Panel, select System and select the Environment button. If you already have a CLASSPATH variable defined add the path of the directory containing the Distinct classes to this, otherwise create a new variable called CLASSPATH and add the path to this.

If you are running on Windows 95 or 98, add the path of the directory containing the Distinct classes to the CLASSPATH variable in the autoexec.bat file. If the variable has not already been defined here, you must add it.

On UNIX update the CLASSPATH variable in your .profile file to include the path of the directory containing the Distinct classes.





04/25/2024   Legal notices | PRIVACY Policy |