Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

garyT
Level 2
Level 2

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.

  

10 Replies
Gdubz-57m2mu
Level 5
Level 5

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

kerryconnor
Level 1
Level 1

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

garyT
Level 2
Level 2

Hi,

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

Mat_Barreto
Level 3
Level 3

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

pranavkadam
Level 1
Level 1

It is working absolutely fine.

Thanks Gary 🙂

adiah54020562
Level 1
Level 1

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

poojashreep8652
Level 2
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