August 25th, 1999, 12:24 PM
Hi,
I'm trying to use some classes in my app that are in a .jar file.
When I try and compile the class that uses them, I get the following errors.
C:\JavaTraining\DeleteMe\DExample.java(39,2) : error J0049: Undefined name 'tbSessionAttrib'
C:\JavaTraining\DeleteMe\DExample.java(39,2) : error J0044: Cannot find definition for class 'tbSessionAttrib'
Where tbSessionAttrib is a class in the .jar file.
I have the following statement at the top of the class file
import tbus.*;
Where tbus is the name of the package the class is in.
I've added the .jar file to the class path directories in my project - if I don't it fails on the import line.
Does anyone have experience of this? My app builds fine from the jdk command line.
Thanks in advance,
Tom.
I'm trying to use some classes in my app that are in a .jar file.
When I try and compile the class that uses them, I get the following errors.
C:\JavaTraining\DeleteMe\DExample.java(39,2) : error J0049: Undefined name 'tbSessionAttrib'
C:\JavaTraining\DeleteMe\DExample.java(39,2) : error J0044: Cannot find definition for class 'tbSessionAttrib'
Where tbSessionAttrib is a class in the .jar file.
I have the following statement at the top of the class file
import tbus.*;
Where tbus is the name of the package the class is in.
I've added the .jar file to the class path directories in my project - if I don't it fails on the import line.
Does anyone have experience of this? My app builds fine from the jdk command line.
Thanks in advance,
Tom.