problems compiling ecj.jar

View: New views
2 Messages — Rating Filter:   Alert me  

problems compiling ecj.jar

by DwR :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi,

I’m a technical administrator and not a developer so I do hope you will bear with me as I try to orient myself with ikvm and the task I’m trying to navigate through:)

 

I have a need to access Java classes from .Net assemblies on Win XP. My investigations led me to ikvm and I was very impressed with the concept – just right for me. However, installation and build is proving problematic. Here’s what I’ve done up to now:

 

-          Downloaded and installed ikvm release 0.36.0.11

-          Downloaded and installed NAnt 0.85

-          Downloaded ecj.jar and dumped it in $ikvmhome/bin

-          Downloaded various versions of GNU classpath and extracted, in turn to peer level directory of $ikvmhome (named classpath)

 

When I try to compile ecj.jar I get:

 

Warning IKVMC0105: unable to compile class “org.eclipse.jdt.core.JDTCompilerAdapter”

(missing class “org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter”)

Warning IKVMC0100: class “org.eclipse.jdt.core.JDTCompilerAdapter” not found

 

I’ve also noticed that IKVM.GNU.Classpath.dll doesn’t exist in the distribution I have. It’s not clear from what I’ve read but I assume I have to compile this in, even though a

Preexisting classpath folder and build file exists. Some things have led me to believe it should be there while others lead me to believe I have to download classpath and compile it. Anyway, I’ve tried building Classpath version 0.95-0.98 without success (using NAnt) – each reporting one class or another missing.

 

So, in a nutshell, I would greatly appreciate it if someone could provide me with the guidance that will take me beyond where I am. Many thanks in advance for any assistance received.

 

 

Regards,

David


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ikvm-developers mailing list
Ikvm-developers@...
https://lists.sourceforge.net/lists/listinfo/ikvm-developers

Re: problems compiling ecj.jar

by Jeroen Frijters :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

You should just ignore the warning. It means that ecj.jar contains a reference to an Eclipse class that you don't have,  but that doesn't matter because that class is only used when the compiler is run embedded in Eclipse.

Regards,
Jeroen

> -----Original Message-----
> From: ikvm-developers-bounces@... [mailto:ikvm-
> developers-bounces@...] On Behalf Of David Rooke
> Sent: Friday, May 02, 2008 15:28
> To: ikvm-developers@...
> Subject: [Ikvm-developers] problems compiling ecj.jar
>
> Hi,
>
> I'm a technical administrator and not a developer so I do hope you will
> bear with me as I try to orient myself with ikvm and the task I'm
> trying to navigate through:)
>
>
>
> I have a need to access Java classes from .Net assemblies on Win XP. My
> investigations led me to ikvm and I was very impressed with the concept
> - just right for me. However, installation and build is proving
> problematic. Here's what I've done up to now:
>
>
>
> -          Downloaded and installed ikvm release 0.36.0.11
>
> -          Downloaded and installed NAnt 0.85
>
> -          Downloaded ecj.jar and dumped it in $ikvmhome/bin
>
> -          Downloaded various versions of GNU classpath and extracted,
> in turn to peer level directory of $ikvmhome (named classpath)
>
>
>
> When I try to compile ecj.jar I get:
>
>
>
> Warning IKVMC0105: unable to compile class
> "org.eclipse.jdt.core.JDTCompilerAdapter"
>
> (missing class
> "org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter")
>
> Warning IKVMC0100: class "org.eclipse.jdt.core.JDTCompilerAdapter" not
> found
>
>
>
> I've also noticed that IKVM.GNU.Classpath.dll doesn't exist in the
> distribution I have. It's not clear from what I've read but I assume I
> have to compile this in, even though a
>
> Preexisting classpath folder and build file exists. Some things have
> led me to believe it should be there while others lead me to believe I
> have to download classpath and compile it. Anyway, I've tried building
> Classpath version 0.95-0.98 without success (using NAnt) - each
> reporting one class or another missing.
>
>
>
> So, in a nutshell, I would greatly appreciate it if someone could
> provide me with the guidance that will take me beyond where I am. Many
> thanks in advance for any assistance received.
>
>
>
>
>
> Regards,
>
> David


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ikvm-developers mailing list
Ikvm-developers@...
https://lists.sourceforge.net/lists/listinfo/ikvm-developers
LightInTheBox - Buy quality products at wholesale price