scala - Java 8 is installed, but java -version shows 1.4 -
os - windows 7 64 bit
i getting "exception in thread main", when type scala
in command prompt
in stackoverflow (already asked question) suggested use same jre , jdk version. uninstalled java (jre , jdk) , installed jre , jdk 8.
but when check java -version
says "1.4" , still exception(exception in thread)
in path, there no java 1.4:
c:\users\appdata\roaming\cabal\bin;c:\users\appdata\local\atom\bin;c:\program files\java\jdk1.8.0_66\bin;c:\program files\java\jre1.8.0_66\bin;c:\program files\java\jdk1.8.0_65\bin;c:\program files (x86)\scala\bin;c:\program files (x86)\java\jre1.8.0_66\bin\client
in control panel -> java -> java tab -> view still says 1.8
how can make scala work?
"open new console" try java -version .
worked me . scala issue resolved :) thanks... @engineer
Comments
Post a Comment