Java and Javascript are different things. Is it one or the other or both that's failing?
Check Javascript is active in your browser - http://www.enable-javascript.com/
Check you have installed the correct Java ( if you need it installed ) - http://windows.microsoft.com/en-US/internet-explorer/install-java#ie=ie-11
If you are using IE and its failing in that, it may be worth just as a quick test, to try another browser like Firefox to see if Java and Javascript work in that.
If you are using another browser already, are you running something like 'NoScript' that is set to block scripts?
,
and then click Internet options.