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

Remove old version of processing-java when installing on OS X #3786

Closed
benfry opened this Issue Sep 11, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@benfry
Member

benfry commented Sep 11, 2015

Need to remove /usr/bin/processing-java when installing to the new (El Capitan compatible) location /usr/local/bin/processing-java. Otherwise the old version may try to run instead of the new one, since it's often earlier in the PATH.

@benfry benfry added android macosx and removed android labels Sep 11, 2015

@benfry benfry closed this in 91618bc Sep 11, 2015

@StanLepunK

This comment has been minimized.

Show comment
Hide comment
@StanLepunK

StanLepunK Sep 12, 2015

On OSX 10.9 / Processing 3.0b6
When we install a new Processing-Java it is remove from the folder "usr/bin" but the new one is installed or modifify the older in "/Users/computerName/processing-java" so it's necessary to copy and paste in "usr/bin" manuelly. and that's work fine with Sublim Text.
When I run this version of Processing-java in the terminal, the name of the version is 244, like Processing 3.0b6 but the date of installation or modification is 29 august, when I've installed the Processing-java from 3.0b5. To test I delete the file "Processing-Java" and try to install again from Processing 3.0b6 but nothing happen, my computer ask authorization to install, but nothing is install. very weird. I hope my explication is clear ?

StanLepunK commented Sep 12, 2015

On OSX 10.9 / Processing 3.0b6
When we install a new Processing-Java it is remove from the folder "usr/bin" but the new one is installed or modifify the older in "/Users/computerName/processing-java" so it's necessary to copy and paste in "usr/bin" manuelly. and that's work fine with Sublim Text.
When I run this version of Processing-java in the terminal, the name of the version is 244, like Processing 3.0b6 but the date of installation or modification is 29 august, when I've installed the Processing-java from 3.0b5. To test I delete the file "Processing-Java" and try to install again from Processing 3.0b6 but nothing happen, my computer ask authorization to install, but nothing is install. very weird. I hope my explication is clear ?

ybakos added a commit to ybakos/processing-sublime that referenced this issue Sep 27, 2015

Place /usr/local/bin and start of path to help
users who still have older versions of processing-java installed.
Later versions of Processing 3 betas remove the old processing-java installed
in /usr/bin, so this is probably no longer a big deal.
However, this simple re-ordering of the path helps 'protect' some users who
are running older Processing 3 betas.
Fixes issues discussed in PR #88.
References:
processing/processing#3786
processing/processing#3497
b-g#88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment