Re: java 8 and OSX
Posted by
Mark Hiner on
Jul 22, 2015; 7:38pm
URL: http://imagej.273.s1.nabble.com/java-8-and-OSX-tp5013642p5013703.html
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.
So, try this instead:
$J6/bin/$($IJ_HOME/Contents/MacOS/ImageJ-macosx --dry-run | perl -pe
's/ -Djava.ext.dirs=.*? -D/ -D/')
On Wed, Jul 22, 2015 at 2:25 PM, Aryeh Weiss <
[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
>
>
>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html