As long as your barcode scanner works on ubuntu in the same way as you win, and you do not use any external libraries, you will not notice the difference between these systems from your application.
I found installing the oracle JRE on ubuntu the most difficult task. (with JRE_HOME etc.) Even on Archlinux was easier than ubuntu.
However, once the JRE is installed, your application will even work on the Raspberry Pi (this is not an x86 ARM)
Be aware of the differences in file system between systems.
drzymala
source share