JbImp error: Couldn't find class 'java.awt.Paint'

JbImp error: Couldn't find class 'java.awt.Paint'

Post by Rml0e » Fri, 01 Oct 2004 08:13:05


JbImp error: Couldn't find class 'java.awt.Paint'
Unresolved class 'java.awt.Paint' is not also present in the CLASSPATH

I am attempting to compile a java file in J# so that I can debug it. The
java file references an Object that is defined in a JAR file. According to
HELP, I need to convert the JAR file with the JbImp tool. I have set my
CLASSPATH as follows:

CLASSPATH=.;C:\Program Files\Glg\Glg2.7\lib\Glg.jar;C:\Program
Files\Glg\Glg2.7
lib\Glg2.jar;C:\j2sdk1.4.2_05;C:\j2sdk1.4.2_05\java\awt;C:\j2sdk1.4.2_05\java;C:
\j2sdk1.4.2_05\java\awt\paint.java

I have rebooted and still I get the JbImp error.

HELP!

Thanks,
Phillip
 
 
 

JbImp error: Couldn't find class 'java.awt.Paint'

Post by Gautam Goe » Fri, 01 Oct 2004 21:42:03

Instead of giving fullpath to paint.java, you need to mention the directory
in which bytecode (i.e. .class or .jar etc file) corresponding to paint.java
is there.

Thanks,
Gautam
Microsoft Visual J# .NET Product Team



This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.


to
lib\Glg2.jar;C:\j2sdk1.4.2_05;C:\j2sdk1.4.2_05\java\awt;C:\j2sdk1.4.2_05\jav
a;C: