When I am trying to run my Modular Audio Recognition Framework (MARF) jar files, it gives me the message:
C:\\Program Files (x86)\\Java\\jre1.8.0_65\\lib\\i386\\jvm.cfg
I see that the directory it is trying to look for the file is incorrect. I have an updated Java jre folder in Program Files. Is there a way to redirect it?
I have tried going to the Environment variables and none actually point to this folder.
CLASSPATH=C:\Program Files\Java\jre1.8.0_60
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_60
PATH=C:\Program Files\Java\jdk1.8.0_60\bin
What happen if you run following from the command line?
set environment variables
set JAVA_HOME=C:\\Program Files\\Java\\jre1.8.0_60 set PATH=%JAVA_HOME%\\bin;%PATH%
check the Java version
java -version
run your application
java -jar SpeakerIdent.jar
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.