Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

a question just for the sake of asking

Status
Not open for further replies.

ShawnCoutts

Programmer
Jul 4, 2006
74
CA
I realize that there may be no practical value in this, but is it possible to compile a java program as a dll file, and then run it in VC++??

The point of this is, for the moment, to avoid rewriting a level designer that i am building in java, to C++ as that is a lot of work. Eventually I will probably port my code.

But just for curiosities sake, is it possible?
 
I think visual studio does support Java. It is part of Visual Interdev. I've had it for the last 7 years but I've never used that part of Visual Studio Enterprise (neither have I used Visual Basic, Foxpro or source safe but the package was going cheap and all I wanted was C++).
 
xwb said:
It is part of Visual Interdev.
But does that compile Java code into machine code or just Java byte-code?

I've never heard of a native compiler for Java, but then again, I haven't spent much time looking for one either.
 
There is a jar-to-exe program, but I don't have a link.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top