java - A suitable JVM could not be found while installing apache UIMA -
i trying configure apache uima following - link
i tried 1.4.5 , 1.4.4 both downloader - link
but when try execute bin file, gives :
searching java(tm) virtual machine... .................................a suitable jvm not found. please run program again using option -is:javahome <java home dir>
i have installed jdk6,7
root@kishor-desktop:/tmp# sudo update-alternatives --config java there 2 choices 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
i tried both, still no help.
environment variables set:
root@kishor-desktop:/tmp# $java_home bash: /usr/lib/jvm/java-7-openjdk-i386: directory
i using ubuntu os.
update 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
Comments
Post a Comment