> Thanks Aryeh. Yes, looks like the JRE directory has a space in it..
> thus we can't use space to mark the end of the java.ext.dirs match.
> $J6/bin/$($IJ_HOME/Contents/MacOS/ImageJ-macosx --dry-run | perl -pe 's/ -Djava.ext.dirs=.*? -D/ -D/')
Thank you -- this appears to work properly.
>
>
> On Wed, Jul 22, 2015 at 2:25 PM, Aryeh Weiss <
[hidden email]
> <mailto:
[hidden email]>> wrote:
>
> On 7/22/15 10:14 PM, Mark Hiner wrote:
>> Hi Aryeh,
>>
>> Can you post the output of:
>>
>> $IJ_HOME/Contents/MacOS/ImageJ-macosx --dry-run
>>
>> My guess is that the sed pattern did not completely wipe your
>> java.ext.dirs because you have a Java 8 JRE instead of JDK.
>>
>> Thanks!
>> - Mark
>>
> Here it is:
>
> java
> -Djava.ext.dirs=/Applications/local/fiji/Fiji.app/java/macosx-java3d/Home/lib/ext:/Library/Internet\
> Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/jre/lib/ext:/Library/Internet\
> Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/ext:/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Home/lib/ext
> -Dpython.cachedir.skip=true
> -Dplugins.dir=/Applications/local/fiji/Fiji.app -Xmx12288m -Xincgc
> -XX:PermSize=128m
> -Djava.class.path=/Applications/local/fiji/Fiji.app/jars/imagej-launcher-3.1.6.jar
> -Dimagej.dir=/Applications/local/fiji/Fiji.app
> -Dij.dir=/Applications/local/fiji/Fiji.app
> -Dfiji.dir=/Applications/local/fiji/Fiji.app
> -Dfiji.executable=/Applications/local/fiji/Fiji.app/Contents/MacOS/ImageJ-macosx
> -Dij.executable=/Applications/local/fiji/Fiji.app/Contents/MacOS/ImageJ-macosx
> -Djava.library.path=/Applications/local/fiji/Fiji.app/lib/macosx:/Applications/local/fiji/Fiji.app/mm/macosx
> net.imagej.launcher.ClassLauncher -ijjarpath jars -ijjarpath
> plugins net.imagej.Main
>
> --aryeh
>
> --
> Aryeh Weiss
> Faculty of Engineering
> Bar Ilan University
> Ramat Gan 52900 Israel
>
> Ph: 972-3-5317638
> FAX: 972-3-7384051
>
>