Not sure how it ever worked without the popup, because the browser would generally not trust self-signed certs.
If you want the browser not to complain, you can import the server certificate into your browsers certificate store under the Authorities section.
However even after doing that you would see another popup which would say that the certificate belongs to "your hostname" and not localhost.
Googling on this topic would show you a lot links talking about this.
[Message sent by forum member 'kumarjayanti' (kumarjayanti)]
http://forums.java.net/jive/thread.jspa?messageID=320787