Re: Problems running astroimagej on linux (guix)
Posted by
Riccardo Papini on
May 11, 2020; 12:49pm
URL: http://astroimagej.170.s1.nabble.com/Problems-running-astroimagej-on-linux-guix-tp1347p1348.html
OpenJDK is the open source package for Linux which does (nearly) the same job of Java in Linux OS.
I use it in my laptop with Ubuntu 18.04 and it works fine. AIJ runs smoothly.
Check if you have the updated package installed.
Riccardo
Il Lun 11 Mag 2020, 13:44 rlemmon [via AstroImageJ] <
[hidden email]> ha scritto:
Hi All,
I am trying to run AstroImageJ on my laptop (using guix linux).
I have downloaded AIJ into my home directory and unpacked it. If I go into the AstroImageJ directory and run:
$ java -Xmx8192m -jar ij.jar
I get the following error:
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: begin 0, end 3, length 2
at java.base/java.lang.String.checkBoundsBeginEnd(Unknown Source)
at java.base/java.lang.String.substring(Unknown Source)
at ij.ImageJ.main(ImageJ.java:622)
I don't normally use java so I am not sure what is happening here. It seems to be an error in the code itself. I wonder if it is a compatibility issue with my version of java. For example:
$ java -version
openjdk version "12" 2019-03-19
OpenJDK Runtime Environment (build 12+0-adhoc..jdk-0276cba45aac)
OpenJDK 64-Bit Server VM (build 12+0-adhoc..jdk-0276cba45aac, mixed mode, sharing)
Thanks
Roy.