java script and a Java program are totally different. I the java program is one you are expecting to run. Just enable it.