?
Solved

java to c++ converter

Posted on 2003-12-04
2
Medium Priority
?
591 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 60 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses

765 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