HighTechTalks DotNet Forums  

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

Dotnet VJSharp microsoft.public.dotnet.vjsharp


Discuss JbImp error: Couldn't find class 'java.awt.Paint' in the Dotnet VJSharp forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Fitz
 
Posts: n/a

Default JbImp error: Couldn't find class 'java.awt.Paint' - 09-29-2004 , 07:13 PM






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\jav a\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

Reply With Quote
  #2  
Old   
Gautam Goenka [MSFT]
 
Posts: n/a

Default Re: JbImp error: Couldn't find class 'java.awt.Paint' - 09-30-2004 , 08:42 AM






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.
"Fitz" <Fitz (AT) discussions (DOT) microsoft.com> wrote

Quote:
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\jav a\awt;C:\j2sdk1.4.2_05\jav
a;C:
Quote:
\j2sdk1.4.2_05\java\awt\paint.java

I have rebooted and still I get the JbImp error.

HELP!

Thanks,
Phillip



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.