Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javac can't find library 1

Status
Not open for further replies.

jcarrott

Programmer
May 28, 2009
130
US
I am setting up a new server and Java 1.6 is installed. I am importing 3 libraries;

import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument;
import com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat;
import com.crystaldecisions.sdk.occa.report.lib.ReportSDKException;

These are in D:\lib\CrystalReportsRuntime.jar and my path is

D:\src>path
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jre6\lib;C:\Program Files\Java\jre6\bin;C:\Program Files\Java\jdk1.6.0_13;C:\
Program Files\Java\jdk1.6.0_13\bin;C:\Program Files\Java\jdk1.6.0_13\lib;D:\lib

I have missed something, can somebody tell me what I missed?
 
You have to include D:\lib\CrystalReportsRuntime.jar instead of D:\lib (and all the jars, if any, you have in that directory)

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top