Skip to main content
Level 2
Apr 23, 2015 2:30 PM UTC
Solved

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

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.

  

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Gdubz-57m2mu
Gdubz-57m2muAccepted solution
Level 5
Oct 29, 2015 6:32 PM UTC

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

11 replies

Gdubz-57m2mu
Gdubz-57m2muAccepted solution
Level 5
Oct 29, 2015 6:32 PM UTC

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

Translate
Jay10125
Dec 29, 2015 9:45 AM UTC

Perfect resolution..Thanks Gary

Translate
Jan 4, 2016 4:53 PM UTC

Great, thanks Gary.

Translate
Jan 17, 2016 11:19 PM UTC

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

Translate
garyTAuthor
Level 2
Jan 18, 2016 2:18 PM UTC

Hi,

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

Translate
Mat_Barreto
Level 2
Sep 22, 2016 2:09 PM UTC

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

Translate
Sep 12, 2017 6:29 AM UTC

thanks Gary.. You are a life saver.

Translate
pranavkadam
Apr 4, 2018 8:02 AM UTC

It is working absolutely fine.

Thanks Gary :-)

Translate
adiah54020562
May 16, 2018 7:42 PM UTC

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

Translate
poojashreep8652
Level 2
Nov 16, 2018 9:22 AM UTC

Hi Team,

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

Thanks in advance

Poojashree

Translate