Hi, all!

I am wondering if there is any tool which is able to convert Java to C++ code?

It is a simple Java program with 6-7 classes. NONE of them imports any Java libraries and that is why I hope that such tool does exist. I am a complete beginner in C++ and I need the translation for a school project.

It is not even necessary to translate directly from Java to C++. If there is a tool which first translates from Java to third programming language (like Python or smth else), and then to C++, that would be just perfect.

Any ideas would be appreciated!