I\'m running Mac OX 10.7.4 with the latest version of Java. I wanted to access TopCoder\'s Competition Arena, so I downloaded the .jnlp and tried to open it. However, I keep get
Via Terminal:
javaws ContestAppletProd.jnlp
However, your security settings may warn you:
This application cannot be downloaded because Java has been disabled through the web. You can enable Java on this system using the Java Control Panel.
Therefore, you might have to, via Terminal:
sudo javaws ContestAppletProd.jnlp
I have meet your problem today.The answer above is right,but you need to make sure you have the root
privileges.
so,the solution is
sudo javaws ContestAppletProd.jnlp
that really work.
I tried the fix listed above (removing instances by running javaws -viewer). It did not work for me. What did work was to locate the downloaded ContestAppletProd.jnlp file and running it from a terminal using the following command" javaws ContestAppletProd.jnlp ". You want to run this in the folder containing the file ContestAppletProd.jnlp
I run javaws -viewer
and deleted all instances of TC there. Running the jnlp afterwards worked.
The fix was suggested by jthread
on TopCoder here
Open Java Control Panel
and go to security
tab. First, add these sites to Exception Site List:
http://www.topcoder.com, http://topcoder.com, http://arena.topcoder.com
https://www.topcoder.com, https://topcoder.com, https://arena.topcoder.com
Then run the command javaws -viewer
via terminal and delete existing TopCoder instances. Running sudo javaws ContestAppletProd.jnlp
should work without any problem. In my case, I double clicked the ContestAppletProd.jnlp file and faced no issues.
Steps:
javaws -viewer
http://www.topcoder.com
and https://www.topcoder.com
-> Save.