Solved

java to c++ converter

Posted on 2003-12-04
2
589 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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…
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
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…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

728 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