Solved

java to c++ converter

Posted on 2003-12-04
2
580 Views
Last Modified: 2009-07-29
does anybody know if there is something to convert java code to c++ code
and if there is a program to do that where can i get it from ?
0
Comment
Question by:omashhour
2 Comments
 
LVL 4

Expert Comment

by:nil_dib
ID: 9876390
you really mean source code?
or to convert compiled code(.class files) in a win executable ...?:
http://www.excelsior-usa.com/jet.html

nil_dib
0
 
LVL 2

Accepted Solution

by:
timbauer earned 30 total points
ID: 9877151
Regarding the source to source translation, here is my input:
There is no direct way to change code from Java to C++, compile it and run for several reasons.
The JVM does alot of ugly work for the programmer at run time. One example is garbage collection. There is no way to embed that knowledge into a source file since the behavior is not known until runtime.



0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now