Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Visual J# / November 2004

Tip: Looking for answers? Try searching our database.

JbImp Error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bob - 16 Nov 2004 15:45 GMT
Hi,

  I am converting a .class to a .dll via jbimp.

  But I am getting an error message Internal Conversion Error "
'label-unmarked'

  Any ideas to what this means?

Thank you

Bob
Amit Bhagwat [MSFT] - 22 Nov 2004 06:25 GMT
Hi Bob,
Do you have the source code for a.class?
If you can share that with us we will be able to tell you whether it is a
bug in jbimp tool or if there is any problem in your code.

Thanks,
Amit
--------------------
>Thread-Topic: JbImp Error
>thread-index: AcTL8z3lTrb3DXV5TkmvMVFIvqIjyQ==
[quoted text clipped - 31 lines]
>
>Bob
Bob - 22 Nov 2004 16:55 GMT
Amit,

Something strange is going on. Using jbimp I get an error

  Couldn't find class X.Y.Z ( an example)

Then next line says

  Unresolved class X.Y.Z is found in ( a path) in the CLASSPATH

Would it be helpful if jbimp ran in the directory where the classes are
stored?

Thanks

Bob

> Hi Bob,
> Do you have the source code for a.class?
[quoted text clipped - 39 lines]
> >
> >Bob
Bob - 23 Nov 2004 19:51 GMT
Amit,

  Additional problems that I found with jbimp

   1) CLASSPATH does not work. I have to copy the converted classes into
the directory where the decomplied classes are listed.

   2) You cannot even reference a file in the directory where the converted
files are located unless you convert the reference classes also. That is you
must use the *.class which converts even the referenced class, which is
unecessary because they are part of the Java runtime.

   It seems that CLASSPATH only works for the first few directories that
are listed.

   Is they are character length linit for CLASSPATH?

Thanks

Bob

> Hi Bob,
> Do you have the source code for a.class?
[quoted text clipped - 39 lines]
> >
> >Bob
Amit Bhagwat [MSFT] - 25 Nov 2004 12:08 GMT
Bob,
You are right.
1) Jbimp does not understand CLASSPATH.
2) You will have to convert the reference classes also if they are user
classes. Otherwise Visual J# provides an independently developed set of
class libraries designed to provide the functionality of most JDK level
1.1.4 class libraries.

However you have not said anything about Internal conversion error that you
were getting earlier?
Amit

--------------------
>Thread-Topic: JbImp Error
>thread-index: AcTRlcQ3S3PM2ZYZTheGAvM5Lfu26w==
>X-WBNR-Posting-Host: 12.29.183.218
>From: =?Utf-8?B?Qm9i?= <Bob@discussions.microsoft.com>
>References:  <1E391163-437E-4592-AC11-0B1B86800118@microsoft.com>
<AOMpQwF0EHA.2960@cpmsftngxa10.phx.gbl>
>Subject: RE: JbImp Error
>Date: Tue, 23 Nov 2004 11:51:04 -0800
[quoted text clipped - 79 lines]
>> >
>> >Bob
Bob - 29 Nov 2004 21:09 GMT
Amit,

 Thanks for all you help on both problems. We dumped jbimp for ikvm.

  We were able to convert java classes to dll with no problem.

Thanks again.

Bob

> Bob,
> You are right.
[quoted text clipped - 101 lines]
> >> >
> >> >Bob

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.