Skip to content

Tag: java

Does react-native support jdk 17?

So I have been having some problems with launching the initial react-native template project on android. And after consulting someone I was told that jdk 17 is not supported. But I really don’t want to downgrade as this could break other things that I already have and work with. To be specific this is the error I get: I have

How to include JavaScript file inside a Velocity template?

I have a JS file having contents: function rejectIfNotSuccess(response) {} usernameChanged(event) {} for example, and I want to include this file in my velocity template in order to do things the same way we do in an HTML file. For example, I want to call a function defined in this JS file in velocity using <input type=”text” id=”username” onInput=”javascript:usernameChanged(event)” />