javascript optimizer has failed

Just starting out? Need help? Post your questions and find answers here.
vmars316
Posts: 8
Joined: Tue Oct 20, 2015 9:59 pm

javascript optimizer has failed

Post by vmars316 »

Hello & Thanks ,
From ide , i tried to run F5 waponesWeb.sb
but i get an error: spiderbasic: waponesWeb.sb :
* spiderbasic: waponesWeb.sb : Line 466: javascript optimizer has failed (Java is required)

I do have java 7 update 15 (64-bit) and
java se development kit 7 update 15 (64-bit) installed .
do i need more java stuff ?


Thanks..Vern
Fred
Site Admin
Posts: 1820
Joined: Mon Feb 24, 2014 10:51 am

Re: javascript optimizer has failed

Post by Fred »

spiderbasic needs to find java in the PATH, could you check if it's the case ? Just open a CMD window (WINDOWS + R -> CMD.exe) and type 'java' in it.
vmars316
Posts: 8
Joined: Tue Oct 20, 2015 9:59 pm

Re: javascript optimizer has failed

Post by vmars316 »

No prob finding it :
Usage: java [-options] class [args...]
vmars316
Posts: 8
Joined: Tue Oct 20, 2015 9:59 pm

Re: javascript optimizer has failed... vmars316

Post by vmars316 »

Hello & Thanks ,
Til i can get Waponez Web.sb running ,
is there an online version where i can see what it does ?

Cheers
Fred
Site Admin
Posts: 1820
Joined: Mon Feb 24, 2014 10:51 am

Re: javascript optimizer has failed

Post by Fred »

You can just disable the optimizer in "compiler/compiler options", it should work.
vmars316
Posts: 8
Joined: Tue Oct 20, 2015 9:59 pm

Re: javascript optimizer has failed

Post by vmars316 »

Fred wrote:You can just disable the optimizer in "compiler/compiler options", it should work.
Ok! works fine .

How can i now turn the
" http://127.0.0.1:9080/SpiderBasic_Compilation0.html"
into " Weponez.html " ,
so i can run it online/locally , without the " http://127.0.0.1:9080/ " ?

Thanks..

btw: this doesnt work for me , How come ?
Fred
Site Admin
Posts: 1820
Joined: Mon Feb 24, 2014 10:51 am

Re: javascript optimizer has failed

Post by Fred »

You can't run the code locally without a webserver.
Post Reply