See question above.
Asked
Active
Viewed 2.4k times
3 Answers
30
Yes, use IKVM.
And it's incredibly easy to use:
ikvmc myjar.jar
outputs myjar.dll
Blair Conrad
- 219,342
- 25
- 129
- 110
FlySwat
- 166,742
- 71
- 243
- 309
-
2do I need the .NET plataform to use this dll ? or its native to win32, and I can use it with C++ ? Sry I dont know much about .NET – fredcrs Aug 01 '12 at 16:07
2
There is also gcj which will compile classes into native format.
James Van Huis
- 5,407
- 1
- 25
- 25
-
Just FYI this answer is now well out of date see https://stackoverflow.com/a/4040404/3195477 – StayOnTarget May 09 '18 at 18:15
-5
It is better to create a c++ loader which
1)Hides the console
2)runs your application
-
1This is not an answer. Please explain why `is it better to create a c++ loader` and *how* to do it. – Eugen Pechanec May 18 '17 at 06:59