1

Is there any way to use compiled Haxe code in a Java application (instead of vice-versa?) I want to write a library of functions in Haxe, compile the Haxe code to Java, and then use the compiled Haxe library in a Java application.

1
  • To search for a specific function in a source folder, you can use grep -r "myFunction" *java - this will return all occurrences of myFunction in the source folder. Commented Nov 10, 2012 at 4:09

1 Answer 1

1

Sure you can.

You just have to use Haxe / Java.

It will generate some .java class and compile them into a .jar.

You can then either use the .jar as a normal Java jar, or use directly the Java classes. It's still under heavy development, so it may require some minor hacks, but its globally working great.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.