Open mgaldzic opened 13 years ago
f/u from chris:
the exception that I got did not appear when we used the separate jar files. It only appeared when we used the jar file that combined all the files (0.3). Does this make any sense to you?
Chris: tried 0.4, and have same issue:
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.
and FYI: it works fine for Java 1.6. This is a Java 1.5 issue which unfortunately is the version I have on my computer.
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