将Java jar文件转换为cpp [英] Convert Java jar file in to cpp
问题描述
我有一个java代码并创建了一个jar文件。
我需要创建一个Qt应用程序。我可以在该应用程序中使用此代码吗?
请帮助我如何使用该jar文件。
I have a java code and created a jar file. I need to create an Qt application. Can I use this code in that application? Please help me how can i use that jar file.
谢谢,
Nagaraju。
Thanks, Nagaraju.
推荐答案
您可以查看GCC / GCJ的功能(请参阅 http ://gcc.gnu.org/ )。如果这是一个好主意是一个完整的其他故事,并取决于你有什么,以及你正在尝试完成什么。应该可以在QT应用程序中链接创建的GC和GCJ,但是我真的想知道你是否使用C ++或Java并不好,但是不要混用它们。
You could take a look at the capabilities of GCC/GCJ (see http://gcc.gnu.org/ ). IF it's a good idea is a whole other story, and depends on what you have, and what you're trying to accomplish. It should be doable to link SO's created with GCJ in QT applications, but I seriously wonder if you are not better off using either C++ or Java, but not mixing them
这篇关于将Java jar文件转换为cpp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!