SSB v7 with JDK 17

Recently, I have faced an issue with using the SSB with the Java JDK 17. Nashorn engine has been removed from the Java JDK 15 version and without the Nashorn engine SSB build is not working. What is the alternative solution to fix this? Is it good to use the JDK 14 version or do we have any other solution? Kindly suggest me.

Regards,
Kannan

My team encountered this issue as well, I have a document on how we handle this, sorry this site will not allow my screenshots to be embedded, but below are the steps we took to address.

  1. Go to Window->Preferences->Complier, set Complier compliance level: to 11 (JDK version in use)
  2. Go to Build Path-> Configure Build path-> Java Compiler
    a. Check ‘Enable project specific settings’ checkbox
    b. Set Complier compliance level: to 11 (JDK version in use)
  3. In the Eclipse Folder, update eclipse.ini file as below. After -vm line and before -vmargs line, add JDK bin folder path as shown below (this is where there is a screenshot, but basically you want -vm . Delete the line “plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_15.0.1.v20201027-0507/jre/bin” if present.

Save the file and close the eclipse if open.
4. Start Eclipse as Admin and Retry a Build.
5. If the above error still exists, try deleting ‘.metadata’ folder from Eclipse Workspace and Re-import a project and do build.