See question above.
Asked
Active
Viewed 2.6k times
3 Answers
30
Yes, use IKVM.
And it's incredibly easy to use:
ikvmc myjar.jar
outputs myjar.dll

Blair Conrad
- 233,004
- 25
- 132
- 111

FlySwat
- 172,459
- 74
- 246
- 311
-
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,481
- 1
- 26
- 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
-6
It is better to create a c++ loader which
1)Hides the console
2)runs your application
-
2This 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