0
我想在我的Linux Mint 18笔记本电脑上构建RStudio。我同时拥有了OpenJDK-8 JDK和OpenJDK的-9-JDK安装,我用下面的代码编译软件包:从源码构建RStudio:javac错误
git clone http://github.com/rstudio/rstudio.git
cd rstudio
mkdir build
cd dependencies/linux
./install-boost
./install-qt-sdk
./install-dependencies-debian
cd ../../build
cmake .. -DRSTUDIO_TARGET=Desktop -DCMAKE_BUILD_TYPE=Release
但后来我尝试:
sudo make install
,并得到一个错误:
[javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.
[javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.
是否可以修复它?
看来你需要使用Java的更新版本,版本1.6或后来。 – Logan
所以,这是一个java问题,而不是makefile? –
它似乎是。只需登录Oracle的网站,并下载最新版本的Java(8)。 – Logan