如何在使用ikvm将.class文件转换为DLL时链接jar库? [英] How to link jar libraries while converting a .class file to DLL using ikvm?

查看:242
本文介绍了如何在使用ikvm将.class文件转换为DLL时链接jar库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在使用ikvm将.class文件转换为dll时链接jar库?



我有一个java文件,我想将其转换为.net兼容dll。

hello word程序非常容易,但是当一个java文件导入一个额外的jaar文件时,无法使用-ikvmc编译,如org.apache.something

请帮忙我



我的尝试:



Bigner to ikvmc

How to link jar libraries while converting a .class file to dll using ikvm?

I have a java file that i want to convert into a .net compatible dll .
It is very easy for hello word program but unable to compile using -ikvmc when a java file importing a extra jaar file like org.apache.something
Please help me

What I have tried:

Bigner to ikvmc

I have a java file that i want to convert into a .net compatible dll .
It is very easy for hello word program but unable to compile using -ikvmc when a java file importing a extra jaar file like org.apache.something
 Please help  me

推荐答案

问题现在解决了。

首先,我们必须将代码导出为可执行jar,然后将其转换为dll。
the problem is solved now.
First we have to export you code as executable jar then convert it into dll.


这篇关于如何在使用ikvm将.class文件转换为DLL时链接jar库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆