[ome-users] Java could not be found

Blazej Pindelski b.pindelski at dundee.ac.uk
Wed Nov 7 10:22:21 GMT 2012


> Hi, I was trying to set up omero server in windows7. When I was creating omero database initialization script using "omero db script" I got "Java could not be found" error.
>

Hi Oscar

> If I do "omero admin diagnostics", it will say "command java -version  not found". However I could run "java -version" in the cmd terminal without any problem. The JDK I installed is 1.7 and there is java.exe in C:\windows\system32 which is added in the path already. So it is very odd that omero could not find the path for java executable.
>

The first thing I'd suggest is to check that you're running the command prompt as the user with Administrator privileges. Could you also send the full output of `bin\omero admin diagnostics`?

Thanks,

Regards,
Blazej

The University of Dundee is a registered Scottish Charity, No: SC015096




More information about the ome-users mailing list