Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6746297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:18:21+00:00 2026-05-26T12:18:21+00:00

There is Java tool (it is called Mallet) http://mallet.cs.umass.edu/download.php which I want to use

  • 0

There is Java tool (it is called Mallet)
http://mallet.cs.umass.edu/download.php
which I want to use in my .NET project.

To convert this tool to .NET library at first I’ve tried to build it in single .jar file using Apache Ant. I’ve done everything corresponding to instructions at link above.

  1. Download Developer Release from Mercurial repository.

  2. Download Apache Ant, install JDK, set JAVA_HOME var to use Apache Ant.

  3. Using Ant I’ve built single mallet.jar file.

And then I would to convert mallet.jar to .NET library using IKVMC.
When converting, I’ve got a lot of warnings such as:

Warning IKVMC0108: not a class file "cc/mallet/util/tests/TestPriorityQueue$1.cl
ass", including it as resource
    (class format error "51.0")

Despite of these warnings, mallet.dll was created. But when I try to reference to it from my .NET project, it looks “empty”. It has not any classes or namespaces. I don’t forget to reference to IKVM.OpenJDL.Core.

And this is unusual that I can’t find any same problems in Google.

I think that problem is in warnings. And I have never worked with Ant and I don’t understand all process exactly.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T12:18:21+00:00Added an answer on May 26, 2026 at 12:18 pm

    The class format version 51 was introduced with Java 7.

    IKVM most likely doesn’t support that version yet and the file name you quote (cc/mallet/util/tests/TestPriorityQueue$1.class) points at an anonymous inner class of TestPriorityQueue that certainly is needed for the library to work correctly.

    My suggestion: compile Mallet using an older JDK or at least using the -source and -target switches set to 6 (to ensure that it’s compile for Java 6).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Java is this nice tool called FindBugs . Is there something similar in
Is there a tool which traces & logs all RMI activity of a Java
I want to know that if there is any easy to use tool, for
I use a tool called AntiSamy ( http://code.google.com/p/owaspantisamy/ ) to sanitize user input in
Possible Duplicate: LINQ for Java tool In C# there is a capability to use
Is there a tool for Java which, given a set of JUnit tests, and
Is there an existing tool for Java that is similar to Microsoft's CHESS ?
Is there a tool that will take you java beans (pojos) and automatically make
Is there a tool to deobfuscate java obfuscated codes? The codes is extracted from
Is there a tool out there that can automatically convert Python to Java? Can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.