Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Unable to compile class for JSP: An error occurred at line 95

Avatar

Level 3

This error may occur when you run AEM 6.0 with Java 8. Java version 8, is not supported with AEM 6.0 until you install the service pack. If you are having that problem, install the service pack. You can follow these steps:

 

  1. Download the most recent Service Pack (SP2) from package share or from our dropbox folder:  https://www.dropbox.com/s/h1dwxyxcvsw4dag/ServicePack2.zip?dl=0
  2. Once downloaded, go to the folder where you installed AEM initially, and delete all the contents in the crx-quickstart folder (you will be running a fresh install) so you will now have an empty crx-quickstart folder.
  3. In the crx-quickstart folder, create a new folder called install and copy the service pack  that you downloaded to that folder.
  4. The structure should now be: crx-quickstart > install > ServicePack2.zip
  5. Start AEM by double clicking the AEM quickstart jar, and when it starts, it will find the install folder and also install the Service Pack.

  

1 Accepted Solution

Avatar

Correct answer by
Level 5

Just wanted to reply here saying that you're a life saver. Thanks for this info!

View solution in original post

10 Replies

Avatar

Correct answer by
Level 5

Just wanted to reply here saying that you're a life saver. Thanks for this info!

Avatar

Level 1

Perfect resolution..Thanks Gary

Avatar

Level 1

Will the same thing work for AEM 5.6.1 attempting to run on Java 8?

Avatar

Level 3

Hi,

With 5.6 you will need SP2 (See Technical Requirements - docs.adobe.com) for more information and to confirm

Avatar

Level 3

More than one year later, still helping people. Thanks.

Avatar

Level 1

thanks Gary.. You are a life saver.

Avatar

Level 1

It is working absolutely fine.

Thanks Gary :-)

Avatar

Level 1

I can't download the file, Can you share a new link?

Avatar

Level 2

Hi Team,

I am unable to open the above link to download the sp2. Can anyone please help me?

Thanks in advance

Poojashree