java - JAVA_HOME get unset on Windows 8 -
I am working on Windows 8 using Oracle Java 7 and Djerobi (from torque box 2.2.0). There are some weird behaviors of the Jawa-HOME environment variable in the terminal ...
If I put "set" then what I hope is what I get:
JAVA_HOME = C: \ For example, I can run the bundle display rspec and it will work I set coverage = true / Code >
and the same order to run again and I will get
Java installation can not be detected, specified by JAVA_HOME: I have many I can always enter the same result, but mysteriously I can do this for a while.
jruby -s bundle excel fantasy And this Sometimes will work ... never ...
It's completely random and unpredictable ... it's a real pain! Any idea anybody? From my point of view it looks like an old Windows bug because everything was OK on Windows 7
Already tested:
- Instead of x86, x64 Setting
- at the end of the path is
Maybe you have defined it correctly with what you have to do with the white space inside the path, but some scripts can use it like this:
% java_home% hin \ bin \ j Ava ... In such cases, which should always be remembered for quotation marks:
"% java_home% bin \ java" ... Except that you say that the behavior is random ... anyway, without the name of a folder without any spaces Try to move the installation in, see what it does.
Comments
Post a Comment