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

Installer does not detect Java installation. #15

Open
tomaszguzialek opened this issue Nov 19, 2015 · 0 comments
Open

Installer does not detect Java installation. #15

tomaszguzialek opened this issue Nov 19, 2015 · 0 comments

Comments

@tomaszguzialek
Copy link

I use R on Mac OS X and while trying to install Redshift for R I get:

> devtools::install_github("pingles/redshift-r")
Downloading GitHub repo pingles/redshift-r@master
Installing redshift
Installing 2 packages: RJDBC, rJava
tar: Failed to set default locale
tar: Failed to set default locale
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save --no-restore  \
  CMD INSTALL  \
  '/private/var/folders/f5/dc6td4xn0v9c3y_nl_4626cr0000gn/T/Rtmp60R573/devtools9e31f665157/pingles-redshift-r-104b74a'  \
  --library='/Library/Frameworks/R.framework/Versions/3.2/Resources/library' --install-tests 

During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C" 
2: Setting LC_TIME failed, using "C" 
3: Setting LC_MESSAGES failed, using "C" 
4: Setting LC_MONETARY failed, using "C" 
* installing *source* package 'redshift' ...
** R
** inst
** preparing package for lazy loading
No Java runtime present, requesting install.
Error: Command failed (97)

The installer asks me to install legacy Java 6 while I have Oracle Java 8 installed. Running java -version in Terminal is successful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant