-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
Perhaps provide ability to install java in ~/Library instead #6369
Comments
That is beautiful. We don't really want to put this much procedural code into a Cask, and we certainly don't want code in the Cask to be writing under However, it would be nice to have backend code to support some subversions of the pkg install process, like you have in mind. See #5442. Note that I list two lines of attack, then a third possibility at the end. (The third way seems appealingly simple, but I have not tried it.) One upshot of that discussion was the implementation of But I assume the In any case, it would be entirely reasonable to have something like The other approaches in #5442 may also be doable. So long as the complicated stuff happens in the backend. |
Yes - that is exactly what I'd like to have! It would be awesome (in some instances) to be able to "unpackage" a It wouldn't be as simple to have as the |
Rejecting, in light of #13201. |
I don't know all the details of how it would work, but it would be nice to be able to install the java JDK in a user's directory instead of forcing it to be in /Library (like the installer does).
I have patched up a version of java7.rb from caskroom/homebrew-versions as a proof of concept, and it seems to work fine...Rather than trying to submit it as a pull request, I thought I'd post it here for comment first.
Basically, it just unarchives the files and links them to the correct location. It did bring up something that I thought might be nice - it would be good to have the Java directory available as a variable, and that it could be specified as command-line options too (i.e.
--javadir=<path>
that defaults to/Library/Java
...or even could default to~/Library/Java
).This is just a thought - and I thought I'dd add it to this to solicit some feedback.
The text was updated successfully, but these errors were encountered: