Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify if Applications are already installed before installing them #5

Open
tomassirio opened this issue Oct 3, 2024 · 13 comments
Open
Assignees
Labels
enhancement New feature or request Hard help wanted Extra attention is needed

Comments

@tomassirio
Copy link
Owner

Currently, Easy Installer tries to install any application the user selects via the command shell.
It'd be better for the installer to check previously if the application is already installed on the machine.

The best case scenario for this would be the@PackageManager applications.

Logic:

if application is installed:
      skip
else
     install

Definition of Done: No application already installed in the user's computer is reinstalled

@tomassirio tomassirio added enhancement New feature or request help wanted Extra attention is needed Hard labels Oct 3, 2024
@pa1narendra
Copy link

Assign this to me, I will do it

@tomassirio
Copy link
Owner Author

Assigned. Have fun!

Let me know if you need help

@pa1narendra
Copy link

pa1narendra commented Oct 11, 2024

@tomassirio I am getting errors during project setup

@pa1narendra
Copy link

While installing the dependencies I am getting errors , should I do something before installing the dependencies ?
Or do I need to know some other thing to install properly

@tomassirio
Copy link
Owner Author

Can you send me the command you are running and the error you are getting?

@pa1narendra
Copy link

Can you send me the command you are running and the error you are getting?

do we need kotlin version 1.9.24 strictly or any version above it is also fine

@pa1narendra
Copy link

I got this error on running this command ./mvnw clean install, and I even tried ./mvnw install , but still getting this error

image

image

Please tell me how to fix this @tomassirio

@tomassirio
Copy link
Owner Author

I believe you are running an older version of the JDK. By the error you are getting, you must be using Java 11. This project was built with Java 17, so you might need to update your JDK.

Try running a java --version and check if my hypothesis is correct.

I got the info from here.

You should be able to download a new version via IntelliJ. Otherwise, I cannot recommend sdkman! enough. It was a game-changer for me

@pa1narendra
Copy link

pa1narendra commented Oct 11, 2024

I updated the jdk version to 17 still facing the same issue

@tomassirio
Copy link
Owner Author

could you run a java --version in the intelliJ's terminal?

@pa1narendra
Copy link

I don't have Intellij, I am using linux , here is the java version that I installed

image

@pa1narendra
Copy link

@tomassirio Any updates on this ?

@tomassirio
Copy link
Owner Author

Hi @pa1narendra, I've been busy this week. I haven't checked what the issue might be as I don't have a computer with Debian close by nor did I have the time to try it with a VM.

I still believe it's a local issue but unfortunately don't have the resources to replicate it now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Hard help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants