Is it possible to call java jar on win/mac platform? Is that the same way to do this like what to do on android platform?

Is it possible to call java jar on win/mac platform?

Is that the same way to do this like what to do on android platform?

Normally Windows desktop apps load additional libraries via .dll files (dynamically linked library). macOS apps use frameworks or static .a libraries. I’m sure you can find a Java runtime library in a .dll for .a format that would be able to read and execute java code. But I’m not sure what good it would really do for you.

The language is only one part of the equation. The language needs to talk to API calls to do anything interesting. So if you have a .jar file for XYZ analytics, it’s internally probably making Android calls which just won’t work on Windows or macOS.

What are you trying to accomplish?

Rob

Normally Windows desktop apps load additional libraries via .dll files (dynamically linked library). macOS apps use frameworks or static .a libraries. I’m sure you can find a Java runtime library in a .dll for .a format that would be able to read and execute java code. But I’m not sure what good it would really do for you.

The language is only one part of the equation. The language needs to talk to API calls to do anything interesting. So if you have a .jar file for XYZ analytics, it’s internally probably making Android calls which just won’t work on Windows or macOS.

What are you trying to accomplish?

Rob