Hi
I am trying to setup Openremote on a Windows 2008R2 Server which is apparently 64Bit only.
After I figured out, that there are is a mistake in the setup document (like the Java Variable isn't named JRE_HOME but JAVA_HOME) and that Openremote seems to dislike a path with spaces (Like Program Files), I installed it to c:\openremote and tried to run \bin\openremote run. Result is a failure, reading
"Files was unexpected at this time"
Any ideas what went wrong ? Is Openhouse in general working on a 64 Bit System ?
Thanks a lot
Regards
Frank
Comments (8)
Mar 06, 2010
Juha Lindfors says:
"Files was unexpected at this time" This would seem to indicate you are still t..."Files was unexpected at this time"
This would seem to indicate you are still trying to run something from "Program Files".
Mar 06, 2010
Frank says:
Hi Juha Hm...could it be that the program has a problem with the JRE being ins...Hi Juha
Hm...could it be that the program has a problem with the JRE being installed to "c:\program files(86)\java" ? (which is the default path on x64 systems)
Thanks
Frank
Mar 07, 2010
Juha Lindfors says:
Possible. Does your JAVA_HOME env variable still contain spaces?Possible. Does your JAVA_HOME env variable still contain spaces?
Mar 08, 2010
Matthias says:
Initially I had the same issue on my Win7 x64. Installation path of my JRE6 (64-...Initially I had the same issue on my Win7 x64. Installation path of my JRE6 (64-bit version) is C:\Program Files\Java\jre6. Problem was, that there were quotes around the variable string. I.e. if you type
in the command line, it should say and not If so, try changing it accordingly.Unfortunately, there does not seem to be a way to check on this inside a batch script (at least not that I know).
Mar 09, 2010
Frank says:
Hi Matthias I've tried it with and without quotes. With them, I receive the "Fi...Hi Matthias
I've tried it with and without quotes. With them, I receive the "Files unepectec" error, without it reads:
"The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE"
This is when the variable is either set to C:\Program Files (x86)\Java or to C:\Program Files (x86)\Java\jre6
It looks like i'd need to install Java into the root of c:, so the path would read c:\java\jre6...
What as well puzzles me is the hint that the variable needs to point to a JDK, not a JRE, whereas the install documentation refers to a JRE...
Cheers
Frank
Mar 09, 2010
Matthias says:
Hi Frank! Here's a copy of the comments from the batch file: JAVA_HOME: M...Hi Frank!
Here's a copy of the comments from the batch file:
Your JRE_HOME is probably empty, thus the script uses JAVA_HOME. You could try any of the following options:Setting any of JAVA_HOME or JRE_HOME to C:\Program Files (x86)\Java (without jre6 or jdk6) will not work (unless you changed the default path when you installed it, of course). Reinstalling the JRE in the root of C: might avoid other problems in the future, but most likely will also not fix this issue.
Cheers
Matthias
Mar 09, 2010
Frank says:
Hi Matthias seems I wasn't able to describe what I did clearly, sorry for that:...Hi Matthias
seems I wasn't able to describe what I did clearly, sorry for that: I've done all the stuff you mentioned above already, with no success so far.
What helped finally, was CLEARING the JAVA_HOME variable and setting JRE_HOME as a user-variable instead of a system-variable.
The reason I was setting the JAVA_HOME variable intially, was because of the output the batch script gave me (saying, JAVA_HOME was empty...). So this was missleading me.
Anyway, now the script runs and I can go through the next steps. Thanks so far for your help and patience !
Cu
Frank
Mar 09, 2010
Administrator says:
Glad to hear you got it working. I've somewhat limited capability to test thing...Glad to hear you got it working.
I've somewhat limited capability to test things in Windows environment at the moment, so if there are any improvements that could be made to the batch scripts, please consider sending patches.