How to run a .jnlp file in ubuntu server

I am trying to run a .jnlp (java) file in Ubuntu Server. This file is BitCoin minter. When I try to run it, it says access is denied.


Solution 1:

Using the Iced Tea

sudo apt-get install icedtea-netx

followed by

javaws ~/Downloads/cgoban.jnlp