如何在Visual Studio和/或IntelliJ中将JAR文件添加为外部工具 [英] How to add a JAR file as an external tool in Visual Studio and/or IntelliJ

查看:91
本文介绍了如何在Visual Studio和/或IntelliJ中将JAR文件添加为外部工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为IDE构建了命令行工具,但是现在看来您无法将JAR添加为外部工具.这可能吗?

I have built a command line tool for IDE's, but now it seems that you can't add JAR's as external tools. Is this possible?

推荐答案

我最熟悉的最佳选择是将JAR文件转换为DLL.这可以通过从jar到dll的转换工具(如Jbimp和IKVM到引用jar)来实现. (我建议使用IKVM.)

The best option that I'm familiar with is to convert your JAR file into DLL. this can be achieved by a converter tool from jar to dll like Jbimp and IKVM to reference jar. (I recommend IKVM.)

链接到IKVM转换器: http://www.ikvm.net/userguide/tutorial.html

Link to IKVM converter: http://www.ikvm.net/userguide/tutorial.html

代码项目指南: http://www.codeproject.com/Articles/594632/IKVM-NET-in-Details

注意:如果使用Jbimp,则不仅要引用转换后的dll,还要引用vjslib.

我希望能支持您的问题.

I hope that support your question.

请告诉我是否支持您的问题.

Please let me know if that support your issue.

这篇关于如何在Visual Studio和/或IntelliJ中将JAR文件添加为外部工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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