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 9224225
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:15:56+00:00 2026-06-18T04:15:56+00:00

i am using IKVM to convert a java jar file to a c# dll.

  • 0

i am using IKVM to convert a java jar file to a c# dll.
This jar file has several dependencies, which i referenced all via -r:reference.dll .

Still im getting the following warning and i dont know how to get rid of it:

IKVM.NET Compiler version 7.2.4630.5
Copyright (C) 2002-2012 Jeroen Frijters
http://www.ikvm.net/

warning IKVMC0111: Emitted java.lang.NoClassDefFoundError in "myproject.myclass.setFocus()V"
("org.eclipse.swt.widgets.Control")

The command i am converting the jarfile is:

ikvmc -target:library -debug -out:project.dll -r:org.eclipse.swt.win32.win32.x86_3.5.2.v3557f.dll -r:severalmoreherretofollow project.jar 2> project.log

The class “org.eclipse.swt.widgets.Control” is declared inside the “org.eclipse.swt.win32.win32.x86_3.5.2.v3557f.dll” which had no errors when compiling it with ikvm to a dll.

Thanks in advance

  • 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-06-18T04:16:03+00:00Added an answer on June 18, 2026 at 4:16 am

    If you compile more as one jar file then it can be recommended to compile it in one step. See the wiki for more details. This prevent you from circulate dependencies.

    I think you need to use a full qualified file name with the -r option.

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

Sidebar

Related Questions

I'm using the latest release of IKVM to compile a Java .jar file into
So I created an assembly referenced library of SVNKit (Java) using IKVM. In my
I've converted an api written in Java into a .net dll using IKVM, and
I have a problem creating a DLL file from a JAR file with IKVM
Google Closure works GREAT without the Java Runtime Environment by using IKVM In case
I've a requirement to run JAR files from C# using IKVM. The JAR contains
Using ember 1.0.0-pre3 I have a little app that has this code: window.App =
I wrote a Java package which connects to a SQL Server database using JDBC
In my current project I use IKVM to cross-compile several Java libraries that deal
I have a project that uses a Java library converted using IKVM . I

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.