JATOS installation - no instance(s) available
Hi all, I used to have JATOS installed and I remember it working until a couple of months ago. I am on Windows and when I click the loader.bat file a terminal window opens for a split seconds and then closes. If I just click on the loader.bat file, nothing gets written into the loader log file. When I run it with administrative rights, the same thing but it writes into the loader log file "C:\Users\ilari\jatos_win_java>Bad root server path: C:\Users\ilari\jatos_win_java\start". When I open the terminal, navigate into the jatos folder and type loader.bat start it also doesn't write anything into the log file but I get the following message:
No Instance(s) Available.
Starting JATOS ... please wait
JATOS uses local JRE
To use JATOS type 127.0.0.1:9000 in your browser's address bar
What I have tried so far:
- made sure that the file is in a folder that doesn't get synced with my onedrive
- I tried to use the JATOS/Java bundle to ensure that not my Java installation is causing the problem but when I use this it tells me that no Java is available on startup and if I type java -version it tells me that java is not installed
- I tried to install Java on my own and then used the jatos.zip download -> this tells me that no Java is available on startup but if I type java -version it shows that I have it installed
- I installed my own Java through adoptium and then installed the jatos_win_java.zip. This gives me the error message I posted above and when I type java -version, this comes up:
openjdk version "17.0.6" 2023-01-17
OpenJDK Runtime Environment Temurin-17.0.6+10 (build 17.0.6+10)
OpenJDK 64-Bit Server VM Temurin-17.0.6+10 (build 17.0.6+10, mixed mode, sharing)
Does anyone know what the problem might be?
Thanks!!
Ilaria
Comments
Hi Ilaria,
Kristian worked on what might be the same problem last week. Please have a look at this issue, https://github.com/JATOS/JATOS/issues/265#issuecomment-1318497807
If it sounds like this is what's happening with you, could you try updating to the latest JATOS (pre-relase for now, should be out as a proper release some time next week https://github.com/JATOS/JATOS/releases/tag/v3.8.1), and let us know if that solves the problem?
Best
Elisa
Hi Elisa,
thanks so much for the quick reply! So it kinda worked with the latest JATOS version, but it gave me this message:
No Instance(s) Available.
Starting JATOS ... please wait
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=permit; support was removed in 17.0
started
To use JATOS type 127.0.0.1:9000 in your browser's address bar
When went to localhost9000, the login page came up but I got these errors in the chrome console:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
bootstrap.min.css:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
jquery-3.5.1.min.js:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
bootstrap.min.js:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
login:67 Uncaught ReferenceError: $ is not defined
at setBrand (login:67:3)
at login:63:1
jatos_logo_grey.svg:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
:9000/favicon-32x32.png:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
:9000/favicon-16x16.png:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
:9000/favicon-96x96.png:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
bootstrap.min.css:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
login.css:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
From what I can tell all the functionalities are there, it just looks like a website with no css. Thank you so much for working on this, this is a huge step forward compared to where I was this morning.
Hi Ilaria,
Can you please try version 3.8.1 with Java 11. JATOS does not yet support Java 17.
Best,
Kristian
Hi Kristian,
sorry for the late reply, it took me a while to figure it out but now it works! I tried it with adoptiums java 11 and that doesn't work if I try to use the batch file. But when I use git bash and then ./loader.sh start it works.
Best, Ilaria
Hi IIaria,
Do you use 3.8.1? I ask because we fixed an issue with the loader.bat in this release. I'm just trying to figure out what caused your problem.
Best,
Kristian