Jnlp - Javaws trusted.certs error

If you get an error when connecting a remote server with javaws jnlp file like java.io.FileNotFoundExceptiontrusted.certs (No such file or directory) it is quite easy to resolve that error… If your error looks like that:

java.io.FileNotFoundException: /home//.java/deployment/security/trusted.certs (No such file or directory)

you need to install ca-certificates-java:

apt-get install ca-certificates-java

and copy the java certs file to the related location in your home directory like that:

mkdir -p ~/.java/deployment/security
cp /etc/ssl/certs/java/certs ~/.java/deployment/security/trusted.certs
comments powered by Disqus