try
{
- FileInputStream fis = new FileInputStream(propertiesFile);
+ InputStream fis;
+ try {
+ fis = new java.net.URL(propertiesFile).openStream();
+ System.out.println("Loading jalview properties from : "+propertiesFile);
+ } catch (Exception ex) {fis=null;}
+ if (fis==null) {
+ fis = new FileInputStream(propertiesFile);
+ }
applicationProperties.load(fis);
applicationProperties.remove("LATEST_VERSION");
applicationProperties.remove("VERSION");