-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[WIP] Try to remove bundled jre after uninstall #4001
Conversation
@halirutan It would be really nice if you could test this as I don't have a Mac OS on hand |
@Siedlerchr I tested in on my Mac and it doesn't seem to work. I created two test files inside the
What now? |
@LinusDietz My comment is misleading. The major problem is that some users have old installations, where the JRE folder is indeed inside the app. This JRE seems to have priority and makes that they cannot start JabRef because the Java version is wrong. Therefore, we decided to remove the content completely during a re-installation. I have created test-folders inside the JabRef.app folder to see if they get removed. |
I looked a bit through the help files, and it seems although update bundled jre is checked , the action is not executed when you choose Update application. |
So I was playing around with Install4J and the Mac installer and could not manage to delete any files or directories via these install4j uninstall directives.. Probably, we missed something... @Siedlerchr's approach in the PR seems to be the right way to go, but somehow it doesn't work. |
Is this #4103? |
Without knowing the fodler where the old JRE resides @LinusDietz cannot know which folder to delete! |
I suggest contacting Install4J's support and ask them for help. I don't know either if my test earlier does even resemble the situation that some users have. Our goal is to completely delete the contents of the old directory before filling it with the files of the new version, right? I'm certain the support can help @Siedlerchr and I wouldn't know, what else to do. |
@LinusDietz @stefan-kolb according to #3587 (comment) the problem was/is that the the |
* upstream/master: (468 commits) Fix error prone warnings (#4290) Fix freeze on import into current library (#4299) Upgrade gradle to 4.10 update xmlunit and postgres update xmlunit-matchers from 2.6.0 -> 2.6.1 update gradle build-scan from 1.15.2 -> 1.16 checkstyle execute changes only if disk db present Fix Export to clipbaord action (#4286) fix npe in Merge entries dialog Add minimal height for entry editor (#4283) Fix exceptions when trying to change settings (#4284) Added a comment for the purpose of the class (#4282) Fix NPE when importing from CLI (#4281) Fix display of key patterns convert bibtexkeypatterndlg to javafx as well (#4277) Style preference sections using css Fix a few style issues Changed the behavior of the field formatting dialog (#4275) Fix checkbox display Remove small font size ...
according to doc this refers to the correct dir
I think I found the issue @halirutan Would be nice if you could test this with the new build again. |
This still doesn't work. Since we all tried to make it work I'd say we close this now. |
@halirutan I added an option to remove the dir "jre" of the bundled installer. Can you please try this out?