Unfortunately Java is way behind this trend, because of its JVM you would need to package all the VM inside WA, despite being possible it would be too bulcky to even consider it. Therefore the B4x language its on the same boat.
But being faitful to the transpiled nature of the language there could be a another language that the language could hang on, for example Objective C in ios or c++ (i think, with B4r)
Only time will tell.