Optimize javascript output

Everything else that doesn't fall into one of the other categories.
User avatar
SinisterSoft
Posts: 77
Joined: Sun Apr 06, 2014 11:41 pm
Location: Preston, UK
Contact:

Optimize javascript output

Post by SinisterSoft »

If I enable 'Optimize javascript output' then I get an error on the last line of the program saying Java is required. I have Java on my system, do I have to point to it somehow or does it have to be a specific build?
User avatar
MrTAToad
Posts: 291
Joined: Sun Apr 20, 2014 11:43 am
Location: Chichester, England
Contact:

Re: Optimize javascript output

Post by MrTAToad »

Sounds like Java it isn't in %PATH%
Fred
Site Admin
Posts: 1506
Joined: Mon Feb 24, 2014 10:51 am

Re: Optimize javascript output

Post by Fred »

Yes, you need "java" in your path (open a CMD and type "java", if it's a command not found error, then you have to put it in the path)
User avatar
SinisterSoft
Posts: 77
Joined: Sun Apr 06, 2014 11:41 pm
Location: Preston, UK
Contact:

Re: Optimize javascript output

Post by SinisterSoft »

Ahh... I see...

At least you know now that this needs to go in the instructions. :)

...or if not in path then maybe it should check a few common paths that Java would normally use?
poshu
Posts: 96
Joined: Mon Feb 24, 2014 11:46 pm

Re: Optimize javascript output

Post by poshu »

Java set it's path during it's installation, no need to try things : you must have removed it (either manually or with a tool).
Post Reply