I started working through the Dart tutorials this week and have been pretty impressed with the language, tools, and capabilities. However, I'm still learning the language.
I'm considering writing a server-side application with Dart and would like to import an existing java library and leverage its classes and methods. Is this possible?
I haven't seen any references or samples indicating that this is a valid use case.
Your thoughts and answers would be appreciated.
No, it is not possible. Dart and Java are different languages that both run in their own VM.
You can however invoke java via the Process class.
There is also a Java to Dart plugin that is in an experimental phase.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With