在Ubuntu 12上,我正在尝试运行fuse-jna的示例程序。我收到以下错误消息。
这些已安装在我的系统上,请查看此处的图片。 请指导我如何在Ubuntu上运行这个程序。
syed@ubuntu:~/Downloads/fuse-jna-master/examples$ ./hellofs.sh ~/hellofs
:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Cannot find System Java Compiler. Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable to point to the according directory.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
运行 java -version
命令显示:
syed@ubuntu:~/Downloads/fuse-jna-master/examples$ java -version
java version "1.7.0_15"
OpenJDK Runtime Environment (IcedTea7 2.3.7) (7u15-2.3.7-0ubuntu1~12.10)
OpenJDK Client VM (build 23.7-b01, mixed mode, sharing)
javac -version
的输出:
syed@ubuntu:~/Downloads/fuse-jna-master/examples$ javac -version
javac 1.6.0_27
这些已安装在我的系统上,请查看此处的图片。 请指导我如何在Ubuntu上运行这个程序。