kreft / iDynoMiCS

Individual-based Dynamics of Microbial Communities Simulator
Other
18 stars 37 forks source link

Errors in in v1.3 #74

Closed nadaa closed 8 years ago

nadaa commented 8 years ago

Hi, I'm a new user of iDynoMiCS , I installed all required software for iDynoMiCS . I imported v1.3 into eclipse and got may errors. Can you please help! 2015-11-01 14_20_21-java - eclipse sdk

Thanks

roughhawkbit commented 8 years ago

Hi Nadaa,

I think you may have an old version of Java installed on your computer: for iDynoMiCS v1.3 you need Java 1.8

Please let me know if this helps!

Best wishes, Rob

untitled

nadaa commented 8 years ago

Thanks Rob for your helpful comment! I think that worked well , and # of errors decreased after adding jre1.8 to eclipse . Still encounter this error .. What do you think is the cause?

2015-11-01 18_20_31-java - idynomics_src_utils_ziparchive java - eclipse sdk

Regards, Nada

roughhawkbit commented 8 years ago

Glad that helped! The new error is a new one to me... can you show me the encodings settings? Regards, Rob

untitled

nadaa commented 8 years ago

UTF8

roughhawkbit commented 8 years ago

OK, maybe that last line ("Picked up...") is irrelevant. Googling it doesn't lead anywhere.

Could you show me the problems tab, like you did in your first post?

It might also be helpful if you could take the screenshot with the src folder open in the Package Explorer.

How are you trying to run iDynoMiCS? It's having trouble processing arguments, so have you tried running it from command line? The last section of this page might be useful.

nadaa commented 8 years ago

Hi Rob.

I tried before to run the program from cmd ,but got an error that couldn't find the path of protocol. V1.0 works fine in eclipse, but got an exception at runtime "simulation error met"!

Have a look at the following screenshots:

v1.3 2015-11-02 13_22_34-java - idynomics_src_utils_ziparchive java - eclipse sdk

cmd 2015-11-02 13_31_52-c__windows_system32_cmd_error exe

v1.0 2015-11-02 13_57_10-java - idynomics_src_utils_ziparchive java - eclipse sdk

Thank you.

roughhawkbit commented 8 years ago

Hi Nada, As far as I can tell, the switch to Java 1.8 isn't quite complete - can you check the compiler compliance level is also at 1.8?

Thanks, Rob

untitled

nadaa commented 8 years ago

What release of eclipse you have?

2015-11-02 20_36_31-properties for idynomics

I'm trying to figure out how to add v1.8 , as it's not on the list

nadaa commented 8 years ago

I installed eclipse Luna , finally it works :) 2015-11-02 22_38_03-java - eclipse

Thanks for collaboration Rob!

roughhawkbit commented 8 years ago

No problem, glad to hear it works! I think the latest version of Eclipse is actually Mars, so you might want to give that a go. Regards, Rob