Dilwyn Jones wrote, on 23/Jan/13 17:42 | Jan23:
That may be because your java is old (or non-existent!).
Java 7 Update 10.
Maybe a reinstall is in order...
Check where your java.exe is and that it is ith the system PATH.
Mine is in C:\Windows\system32\
PATH
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\batch\;c:\psion\
Note the psion entry - this is the ancestor of the QL Psion programs!
You can add to PATH. Right click on "(My) Computer" - Properties ->
Advanced -> Environmental Variables.
... but it certainly looks like you have a dodgy installation!
OK, I uninstalled it all and reinstalled from that link using default
settings suggested for my computer.
java.exe is in C:\Program Files (x86)\Java\jre7\bin
(32 bit version as Windows 7 defaults to 32-bit Internet Explorer since
many web pages don't render correctly on the 64 bit version also
available in Windows 7 - it says you can have both 32 and 64 bit
versions installed on your computer at the same time if you use 32 bit
and 64 bit browsers)
Here is the PATH from my PC (I split it into separate lines manually
just to make it easier to read):
PATH=C:\Program Files\Common Files\Microsoft Shared\Windows Live;
C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;
C:\Windows\system32;
C:\Windows;
C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0\;
C:\Program Files (x86)\Windows Live\Shared;
C:\Program Files (x86)\sK1 Project\UniConvertor-1.1.5\;
C:\Program Files (x86)\sK1 Project\UniConvertor-1.1.5\DLLs;
C:\Program Files (x86)\Calibre2\;
C:\Program Files (x86);
Seems the above ain't enough for it to find Java.Exe - if I navigate
manually in the command box to find jave.exe and then enter the command
it works obviously.
(Sorry to bore everyone with non-QL stuff, obviously I need to resolve
the above if using Java software like SMSQmulator, surprisingly that
does work even with the various problems).
I suspect appending ';C:\"Program Files (x86)"\Java\jre7\bin'
to your PATH will solve the issue.
I am not sure how it will cope with the spaces. Maybe you need %20 to
represent a space.
You can do this from the "Environmental Variables" window described
above or:
PATH %path%;C:\"Program Files (x86)"\Java\jre7\bin from DOS (I think!).
Odd though the installation did not put it in a sensible place.
Tony
--
t...@firshman.co.uk http://firshman.co.uk
Voice: +44(0)1442-828254 Fax: +44(0)1442-828255 Skype: tonyfirshman
TF Services, 29 Longfield Road, TRING, Herts, HP23 4DG
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm