[Camino-users] java issues

Philip A Cook cookpa at mail.med.upenn.edu
Tue Sep 6 08:11:28 PDT 2011


Hi Sylvia,

Camino is not currently compatible with Java 7, Mac uses Java 6 so it doesn't have the problem.

You can run Camino on Linux by downloading Java 6 from

http://www.oracle.com/technetwork/java/javase/downloads/index.html

Thanks,


Phil

On Sep 6, 2011, at 8:10 AM, Silvia De Santis wrote:

> Dear all,
> 
> I am running CAMINO on my laptop (Mac OS X) but I could't manage to make it work on the linux machine. I think is a Java issue but I have a poor experience with both (Java and Linux). Any hints?
> 
> Many thanks in advance,
> 
> Silvia
> 
> ***** COMMAND
> 
> #!/bin/bash
> 
> # SIMULATIONS
> export LATSIZE=3E-5;
> export GAMA=9.1477;
> export GAMB=0.4977E-7;
> export FNAME=CH200_b7500.Bfloat;
> export DIFF=1E-9;
> datasynth -walkers 50000 -tmax 20000 -geometry inflammation \
> -numcylinders 450 -p 0.0 -initial uniform -voxels 1 -increments 1 \
> -separateruns -latticesize ${LATSIZE} -schemefile 
> /MC_simulations/CHARMED_130.$
> -gamma ${GAMA} ${GAMB} -diffusivity ${DIFF} > ${FNAME}
> 
> *****JAVA VERSION : 
> java version "1.7.0"
> Java(TM) SE Runtime Environment (build 1.7.0-b147)
> Java HotSpot(TM) Server VM (build 21.0-b17, mixed mode)
> 
> *****CAMINO VERSION : 
> This version of Camino is revision 1010
> 
> ******ERROR I GET: 
> INFO: instantiating fixed length step generator
> Exception in thread "main" java.lang.NullPointerException
> 	at numerics.MTRandom.next(MTRandom.java:342)
> 	at java.util.Random.nextDouble(Random.java:438)
> 	at numerics.GammaRandom.getUniformNonZeroValue(GammaRandom.java:128)
> 	at numerics.GammaRandom.nextGamma(GammaRandom.java:77)
> 	at simulation.geometry.substrates.SquashyInflammationSubstrate.<init>(SquashyInflammationSubstrate.java:161)
> 	at simulation.geometry.substrates.SubstrateFactory.getSubstrate(SubstrateFactory.java:77)
> 	at simulation.DiffusionSimulation.<init>(DiffusionSimulation.java:140)
> 	at tools.CL_Initializer.initDataSynthesizer(CL_Initializer.java:1985)
> 	at apps.SyntheticData.initOptions(SyntheticData.java:55)
> 	at apps.Executable.<init>(Executable.java:24)
> 	at apps.SyntheticData.<init>(SyntheticData.java:34)
> 	at apps.EntryPoint.getExecutable(EntryPoint.java:210)
> 	at apps.EntryPoint.main(EntryPoint.java:264)
> 
> 
> *****************************************************
> Silvia De Santis
> CUBRIC
> School of Psychology
> Cardiff University
> Tel: 029 2087 0354
> Fax: 029 2087 0339
> Web: http://psych.cf.ac.uk/cubric/people/ras.html
> *****************************************************
> 
> _______________________________________________
> Camino-users mailing list
> Camino-users at www.nitrc.org
> http://www.nitrc.org/mailman/listinfo/camino-users



More information about the Camino-users mailing list