They're both Turing complete, so difference in functionality shouldn't be an issue
In my experience doing both, the code written is so similar that I made the decision to use Java simply because I like Netbeans better than Windriver (especially since I use Ubuntu).