Use permalink for url of java plugin