Search Unity

Building project with IKVM dlls inside.

Discussion in 'Editor & General Support' started by bgeyts667, Aug 18, 2011.

  1. bgeyts667

    bgeyts667

    Joined:
    Sep 12, 2010
    Posts:
    41
    I have done anything written there:

    http://forum.unity3d.com/threads/49483-Ideas-needed-for-debugging-using-Java-code-inside-Unity
    http://answers.unity3d.com/questions/8008/can-i-access-java-code-from-unity

    1. Built my simple java class to dll,
    2. Put it and all dll files from ikvm's bin folder to project's Assets/IKVM,
    3. Used my java class in Unity's C# script.

    It works, but, when I tried to build project, I get this error message:

    Where can I get this System.Drawing library?
     
  2. kegan

    kegan

    Joined:
    Sep 15, 2011
    Posts:
    1
    I am having a similar problem in trying this technique. Does anyone have a solution? I can't tell if System.Drawing is really required or if it is referenced but unused.
     
  3. buestad

    buestad

    Joined:
    Oct 3, 2012
    Posts:
    11
    Go to:
    Edit -> Project Settings -> Player

    Under Other settings for PC / Mac change the API Compability Level from ".NET 2.0 Subset" to ".NET 2.0"

    Recompile
     
  4. gadekish

    gadekish

    Joined:
    Jun 12, 2014
    Posts:
    1
    Hi Friends,

    Can IKVM.net supports jsp pages to convert into .net application? If so, Can any one please give the solution for this?
     
  5. shaderop

    shaderop

    Joined:
    Nov 24, 2010
    Posts:
    942
    No, that wouldn't be possible. IKVM works great for library code that has the fewest dependencies, and JSP web app is definitely not that.

    Also, this question isn't Unity specific at all.
     
    Last edited: Jun 12, 2014
    Graham-Dunnett likes this.