RSS

Category Archives: Java

Failed to write core dump Error


Published on: Apr 19, 2012

Today I updated the software of the computer where I work at the University (normally I try to avoid this because it is always very problematic) and when I want to run my normal Java application about Genetic Algorithms I started to have segmentation faults and Failed to write core dump errors each two minutes.

Fortunately I found a really useful post in a blog with information about how to fix it that. I let you here the information. The blog belongs to the blogger ichbinrene

The only comment to add is that the java option line, which is mentioned in the post, should be included in the Eclipse.ini file that it can be found in the folder of Eclipse.

Advertisements
 
Leave a comment

Posted by on April 19, 2012 in Eclipse, Java

 

Tags: , ,

Repast Simphony 2.0 beta and Java 7 in Linux


Published on: Mar 1, 2012

It was a very happy day when I arrived to my University and I tried to run the simulation as usually without success. When I though that the nightmare would continue I discovered that my normal IDE version failed as well. The error was the following:

Cannot construct repast.simphony.engine.schedule.ScheduleParameters as it does not have a no-args constructor

When I googled on that, I found this information here:

It looks like this is probably an issue with the xstream library that we use for serialization and Java 7. Are you using Java 7? If so, can you try with Java 6? Apparently the latest xstream fixes the issue so you could also download that replace the xstream jar in:

X/eclipse/plugins/repast.simphony.runtime_2.0.0/lib

Read the rest of this entry »

 
Leave a comment

Posted by on March 1, 2012 in Java, Repast

 

Run the launcher of Repast Simphony in Eclipse from a Script


Published on: Mar 1, 2012

Working to make Repast more flexible in the minimun space of time (I need to create a paper for the 7th of March) I need to run Repast Simphony automatically from a script. When I googled for that information I found the next post that really make me feel scared. It seems very complicated due to the lack of information.

Then, I decided make the things easier and I avoid to modify the Repast code. Luckily in another post I found how to copy the script that Eclipse use to start Repast. To do that we should start Repast with the corresponding launcher, then we should go to the Debug perspective and there, in the list of process, select the one that is currently running and in properties you can copy the information.

Read the rest of this entry »

 
2 Comments

Posted by on March 1, 2012 in Eclipse, Java, Repast

 

Tags: , ,

 
%d bloggers like this: