GLBasic forum

Main forum => Bug Reports => Topic started by: MrTAToad on 2011-Mar-18

Title: Path modification ?
Post by: MrTAToad on 2011-Mar-18
Does GLBasic modify %PATH% ? 

The reason being is that java is not being found when I use a macro to install the program from the command line.

The reason being java isn't being found is that the PATH environment variable is :

Code (glbasic) Select
Path=C:\Program Files (x86)\GLBasic\Compiler\platform\Win32\Bin

when it should be :

Code (glbasic) Select
PATH=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Liv
e\Shared;C:\MinGW\bin


Java is installed in system32

Title: Re: Path modification ?
Post by: Kitty Hello on 2011-Mar-22
I do modify it - but only for processes spawned by GLBasic IDE.

Do you mean the macros?
Title: Re: Path modification ?
Post by: MrTAToad on 2011-Mar-22
Yes, when the pack and install for Palm is run from (Yellow) macro, it usually works fine.  However, occasionally, I get a 'Java not found' error.  Unfortunately the only cure is to close GLBasic and re-load it.
Title: Re: Path modification ?
Post by: Ian Price on 2011-Mar-23
I always use the macro for the Palm and have never had this problem. Bonkers.