NordeaOSS / devtool

DevTools is an tool which makes it easy to install software on windows machines where the user is not admin. It can be used internally in organisations who wants to control their own repository of tools.
MIT License
9 stars 6 forks source link

Environment variables when uninstalling a package #4

Closed arkadiuszczapiewskinordea closed 6 years ago

arkadiuszczapiewskinordea commented 6 years ago

To consider: when uninstalling package, PATH and other variables (e.g. JAVA_HOME) are not updated. They can be switched to other version with: devtool -setup but the problem is e.g. for JDKs. If you uninstall JDK that has been configured in JAVA_HOME, DevTool stops working. The solution could be to update path to any other (latest?) existing JDK. Or another idea: maybe DevTool should be delivered with its own, independent JDK - in this case we can also get rid of Java 9 issue.

holmbech commented 6 years ago

It's well worth considering bundling a jdk with devtool. That will solve a couple a things.

holmbech commented 6 years ago

Will be fixed by bundling a jdk. See #3