我正在尝试配置apache UIMA - link
我尝试使用1.4.5和1.4.4下载来自 - link
但是当我尝试执行bin文件时,它会给出:
Searching for Java(tm) Virtual Machine...
.................................A suitable JVM could not be found. Please run the program again using the option -is:javahome <JAVA HOME DIR>
我已经安装了jdk6,7
root@kishor-desktop:/tmp# sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java 1071 auto mode
* 1 /usr/lib/jvm/java-6-openjdk-i386/jre/bin/java 1061 manual mode
2 /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java 1071 manual mode
我试过两个,但仍然没有帮助。
已设置环境变量:
root@kishor-desktop:/tmp# $JAVA_HOME
bash: /usr/lib/jvm/java-7-openjdk-i386: Is a directory
我使用的是ubuntu操作系统。
更新1:
root@kishor-desktop:/tmp# update-java-alternatives -l
java-1.6.0-openjdk-i386 1061 /usr/lib/jvm/java-1.6.0-openjdk-i386
java-1.7.0-openjdk-i386 1051 /usr/lib/jvm/java-1.7.0-openjdk-i386