Atto
Atto

Reputation:

Is there any way to compile Java code into a DLL?

See question above.

Upvotes: 23

Views: 26923

Answers (3)

Chris
Chris

Reputation: 31

It is better to create a c++ loader which

1)Hides the console

2)runs your application

Upvotes: -6

James Van Huis
James Van Huis

Reputation: 5571

There is also gcj which will compile classes into native format.

Upvotes: 2

FlySwat
FlySwat

Reputation: 175733

Yes, use IKVM.

http://www.ikvm.net/

And it's incredibly easy to use:

ikvmc myjar.jar

outputs myjar.dll

Upvotes: 30

Related Questions