I recently tried to use java from inside the NEURON command line which works perfectly with NEURON 5.6. With the versions 5.7 and 5.8 of NEURON, the call
Code: Select all
load_java("java.lang.String")
AG.
Code: Select all
load_java("java.lang.String")
Code: Select all
NEURON -- Version 5.8 2005-5-2 13:16:27 rel5_7_159 (1)
by John W. Moore, Michael Hines, and Ted Carnevale
Duke and Yale University -- Copyright 2001
Created Java VM
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
oc>load_java("java.lang.String")
ERROR in nrnjava_init : neuron/NrnClassLoader not found
nrniv: Segmentation violation See $NEURONHOME/lib/help/oc.help near line 3
load_java("java.lang.String")
^
load_java("java.lang.String" )
oc>
Code: Select all
// The full pathname for the Java VM dynamically loadable
// library is specified here
// two examples for mswin on my machines are
*jvmdll: C:\j2sdk1.4.2_06\jre\bin\client\jvm.dll