Windows install

Started by jazper, May 06, 2013, 01:39:07 AM

Previous topic - Next topic

jazper

#30
Having got Winger's Scite config going on my Win 7 machine at home, (so, confident that I can still use newLISP in case of more Java problems) I allowed Windows to update my system.  That did not affect how newLISP GS worked.  



Then, I updated Java from java 6 update 31 to the latest, 7 update 21.  That produced exactly the same problem encountered by xytotron and by me at work, and a warning about Windows firewalll.  So, to verify things, I uninstalled Java 7 update 21 (but java 6 update 31 is still on my system), and the problem went away.



I don't really mind any more, knowing that I can use Scite and soon (hopefully) Emacs, but perhaps it's worth confirming that Java 7 update 21 is likely to cause problems with the newlISP java IDE.



Btw, Winger's Scite setup was pretty easy, and although the default colour scheme looks a bit like Vegas from the air, is very slick, with autocomplete, snippets, tooltips.

Lutz

#31
The cause seems to be spaces in the name of the install directory. Java 7/21 processes command string differently when starting a shell process.



The following worked for me just now on a Windows 8 (desktop mode) machine:



When installing, change the install directory from the default:


c:Program File (x86)newlisp

to a directory without spaces in the name as in:
c:newlisp

or your home directory on Windows 7 and 8:
c:Usersjazpernewlisp

the environment variable NEWLISPDIR will be set correctly in a newLISP process as well as Window's PATH variable.

rickyboy

#32
Or use 8.3 names.
(λx. x x) (λx. x x)

jazper

#33
Aha!  I had tried both Program Files and Program Files (x86), but of course, they BOTH have spaces in them.  Will try this just out of curiosity when I get a chance - buried in work for the last week, but will report back.  



Sigh.  It's quite often the *simple* things I fail to think of first ...

rickyboy

#34
Referring to my last comment, why don't you just try using the 8.3 names (which don't have spaces), before moving files around on your system?  Check it: http://superuser.com/questions/179449/windows-path-without-spaces-with-1">http://superuser.com/questions/179449/w ... ces-with-1">http://superuser.com/questions/179449/windows-path-without-spaces-with-1.  As the top answer says, DIR /X will tell you what the 8.3 name is for, for instance, "Program Files".
(λx. x x) (λx. x x)

alex

#35
Part of answer can be in http://www.newlispfanclub.alh.net/forum/viewtopic.php?f=9&t=4135&p=20500#p20500">//http://www.newlispfanclub.alh.net/forum/viewtopic.php?f=9&t=4135&p=20500#p20500



See environment variables!