E-PB: Getting "java.lang.UnsupportedClassVersionError: Unsupported Major.minor Version 52.0 Using buildindex.sh/.cmd and psHelpIndexBuilder.jar To Build PeopleBooks Indexes (Doc ID 2204469.1)

Last updated on NOVEMBER 21, 2016

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.55 and later
Information in this document applies to any platform.

Symptoms

Issue Statement:
******************************

Customer is using buildindex.sh to create the PeopleBooks indexes.

Executing the script result in the following error.


$ . ./buildindex.sh
Context-Sensitive Help Index Generator

Enter the URL(s) of the Oracle PeopleSoft product line help pages separated by a comma(,).
For example: http://example.com/pt855pbr0/eng/pt,http://example.com/hcm92pbr6/eng/hcm

Product line help page URL(s):
http://mycompany.com:5990/pt855pbr0/eng/pt,http://mycompany.com:5990/ps/fscm92pbr8/eng/fscm

Enter the Online Help folder path to create the context-sensitive help index.
The Online Help folder should contain the help.html file and the images, js and styles folders.

Enter the Online Help folder path:
/appl/psoft/FS92UPG/webserv/PBWEB/applications/peoplesoft/PORTAL.war/ps/fscm92pbr8

Enter Y to Generate index, N to Cancel.
y
y
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/oracle/psft/infodev/util/contextid/CreateHelpIndex : Unsupported major.minor version 52.0
  at java.lang.ClassLoader.defineClass1(Native Method)
  at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
  at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
  at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
  at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
  at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
  at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)

Environment
********************
PT 8.55.08, FSCM 9.20

Error Message:
**********************
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/oracle/psft/infodev/util/contextid/CreateHelpIndex : Unsupported major.minor version 52.0
  at java.lang.ClassLoader.defineClass1(Native Method)
  at java.lang.ClassLoader.defineClass(ClassLoader.java:800)


Steps To Reproduce:
**************************

1. Set up PeopleBooks files as in the customer's environment, using the jar file from FSCM 9.20, and have the Path variable point to JDK/JRE 1.7.0
2. Execute buildindex.sh


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms