-
Notifications
You must be signed in to change notification settings - Fork 0
Description
java.util.Properties.load was introduced in Java 6, target Java 5
re: Exception
java.lang.NoSuchMethodError: java.util.Properties.load(Ljava/io/Reader;)V
from Chris J. Myers
Hi Michal,
I get the following exception with the single jar version of libSBOL on my Mac.
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: java.util.Properties.load(Ljava/io/Reader;)V
at com.clarkparsia.empire.config.io.impl.PropertiesConfigReader.read(Unknown Source)
at com.clarkparsia.empire.config.io.impl.PropertiesConfigReader.read(Unknown Source)
at com.clarkparsia.empire.util.DefaultEmpireModule.(Unknown Source)
at com.clarkparsia.empire.Empire.init(Unknown Source)
at com.clarkparsia.empire.Empire.init(Unknown Source)
at org.sbolstandard.libSBOLj.SBOLservice.(SBOLservice.java:65)
at org.sbolstandard.libSBOLj.SBOLservice.(SBOLservice.java:70)
at org.sbolstandard.libSBOLj.SBOLutil.fromRDF(SBOLutil.java:236)
The issue appears to be that java.util.Properties.load was introduce in Java 6, and I'm using Java 5. We have found that we have lots of compatibility issues when we use things that only work in Java 6, so we target Java 5 in our builds. Is it possible for you to rewrite this to be Java 5 compatible?
Thanks,
Chris