Thursday, 6 July 2017

Build path specifies execution environment J2SE-1.5. There are no JREs installed in the workspace that are strictly compatible with this environment.

Error =>Java Build path Problem.


Sollution=> In eclipse right click on your project and select BuildPath-> Configure BuildPath.
In the Java Build Path window select Libraries tab and select JRE  System Library[J2SE-1.5] click on edit then select alternate JRE or work space default JRE and select jre1.8.0 and above. click on finish.
Apply.

3 comments:

  1. for maven project .
    https://blog.csdn.net/FunCodeH/article/details/79450977

    ReplyDelete
  2. i am using java 11 and there is no jre 11.what will i do

    ReplyDelete

XMLHttpRequest cannot load http://yourdomain.com/path/resoruce. Response for preflight has invalid HTTP status code 401

XMLHttpRequest cannot load http://yourdomain.com/path/resoruce. Response for preflight has invalid HTTP status code 401 If you are using ...