digital-preservation / droid

DROID (Digital Record and Object Identification)
BSD 3-Clause "New" or "Revised" License
278 stars 75 forks source link

DROID 6.7 not installing on Windows 11. #1085

Closed kathaurielle closed 5 months ago

kathaurielle commented 5 months ago

Hello, I've been assisting a user who's having problems installing DROID. I've not sorted it, so posting our exchange here....It's as if it can't find a java file, but I've checked it's the java embedded version. The enquirer might join in here. Please could you advise?

- Enquirer: Hello, I have been using DROID frequently for 2 years. Now, with the change of computer, I am trying to install DROID again, but it is not possible, since after extracting the files, I do not have access to any file to run the program: If there is any information you can provide me, I would greatly appreciate it.

image

- Me: asking if the yare using a Mac etc- they aren't.

- Enquirer: Thank you for your message. I'm not using a MAC. I use Windows 11. I will try to explain what happens when I double click on the files referred to in the "Running DROID.txt" file. When I double click on the DROID.sh file, a message appears telling me to select an application to open this "sh" file:

image

When I double click on the DROID (batch file), it appears a message saying that Windows cannot find "javaw" and to make sure that the name is correctly written.

image

image

- Me: I see, thanks for such a comprehensive response. We should check if you’ve downloaded the correct version of DROID; DROID 6.5 onwards provides two download options for users. The first is embedded with Java OpenJDK 11 for Windows users and does not require Java to be installed to run. The second can be run on any system with Java 8 to 11 installed. Please can you confirm you’ve downloaded the version with java embedded? It can be downloaded via this page: ...

-Enquirer: Thank you, once again. Even with the version with JAVA embedded, I can't install the DROID. When I compare the files, in the uncompressed folder, that appeared in the video that introduced me to DROID, two years ago (at the time without any installation problems): image

printscreen from vídeo that shows how to install DROID

and the files that are in the current uncompressed folder, what I see is that now I still have a compressed file, whereas before it was a file that allowed me to open the program. image

printscreen from the actual uncompressed folder. But I won't keep bothering you. Maybe it's something else that I'm not doing well.

sparkhi commented 5 months ago

Droid comes with 2 distributables, they are also available from this page : https://github.com/digital-preservation/droid/releases/tag/droid-6.7.0

The screenshots posted makes me think that you have used the second zip. This relies on Java being already installed on the machine. You could try opening a "command prompt" and execute "java -version" to see if Java is already installed on your machine.

About the files still appearing to be compressed. (droid-command-line-6.7.0, droid-tools-6.7.0 and droid-ui-6.7.0) they are the JAR file which Windows is showing with an "archive" icon, I can assure you that they are correct files.

I think the best option would be to get the version with embedded java and unzip it to another folder. Once you are happy that it works, you can delete the folder where it is not working .

kathaurielle commented 5 months ago

Thank you sparkki, all sorted now, I think it was the version!

kathaurielle commented 5 months ago

.