need java to c converter

Hello,

does anyone know a program able to convert Java sourcecode to C or C++
sourcecode ?

Thanks.

Regards...
JAGDISH

Yes, there are a number of source code converters out there. Google the
phrase "Java to C converter" to find.

This may work for individual classes using standard java but when using third party jars or for larger application it will be difficult. You may end up with one very large executable which probably isn't very practical.

Why not to write initially in C/C++?

not really a solution but more of a suggestion. You'd probably have better luck porting your code to C#/J# if that's an option. As previously stated, you'll have problems when it comes to using external libraries although there are a lot of cross platform ones available for the more common external libraries such as log4c and Axis but uncommon or bespoke ones might prove a problem.

Or use IPC or JNI to talk to bits of code that have to be in C/C++.

Or are you saying there is no JVM or runtime for your environment?