I am experimenting with Java Web Start.
I have just written a basic
I guess you want to get the code base URL from within your running application? If this is the case, you can use this snippet:
final BasicService bs = (BasicService) ServiceManager.lookup( "javax.jnlp.BasicService"); final URL codeBase = bs.getCodeBase();
Note that you'll have to depend on the JNLP API to compile this code (for the