Solved

java to c++ converter

Posted on 2003-12-04
2
587 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 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

732 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