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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

import error

Status
Not open for further replies.

TGJ

Programmer
Jan 31, 2005
64
CA
Hi,

I have recently changed computers and have run into a problem.

I copied my work from my old machine onto the local network then I copied from the network to my new machine. My java application that I have created runs fine on my old computer but not on the new one. It does not recognize the projects I have created. I am using Borland JBuilder 2005.

ex: import ca.shepp.BatchImport.BatchRun;
- error: package does not exist


Any help or suggestions are greatly appreciated.

Thanks,
Terry

 
a) your classpath isn't containing the directory or jar where to find ca.shepp...BatchRun.
b) you didn't copy that jar to $JAVA_HOME/jre/lib/ext
c) you didn't set some options of JBuilder to ... (see a))

b1) You didn't set JAVA_HOME at all.
a1) like b1, but classpath.

seeking a job as java-programmer in Berlin:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top