cancel
Showing results for 
Search instead for 
Did you mean: 

Error while java installation

former_member182921
Participant
0 Kudos

Hi SAP Experts,

While doing SAP Installation I am stuck at last step where it is showing

Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/engine/offline/OfflineToolStart Caused by: java.lang.ClassNotFoundException: com.sap.engine.offline.OfflineToolStart at java.net.URLClassLoader$1.run(URLClassLoader.java:261) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:249) at java.lang.ClassLoader.loadClass(ClassLoader.java:354) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:344) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:367) Could not find the main class: com.sap.engine.offline.OfflineToolStart. Program will exit. '.)

Regards,

Abhishek

Accepted Solutions (0)

Answers (1)

Answers (1)

ashish_vikas
Active Contributor
0 Kudos

you can solve this problem like this :

1903663  - Java class is not found: com.sap.engine.offline.OfflineToolStart

Resolution

  1. The file is part of the archive delivered with the JAVA DVD /DATA_UNITS/JAVA_J2EE_OSINDEP_J2EE_INST/J2EEINSTALL.SAR
  2. Copy the archive to the /installation directory
  3. Extract it by 'SAPCAR -xvf J2EEINSTALL.SAR'
  4. Modify the file permissions allowing <sid>adm is able to read the files all files and directories

best regards

ashish

Former Member
0 Kudos

Hi,

Can you please tell me which version you ate installing.

Second thine if it is the last step this means you will find the nore info in the /usr/sap/sid/J*/work in std_server

Please check the below note

1846092 - Java startup fails with java.lang.NoClassDefFoundError

1648491 - java.lang.ClassNotFoundException when opening Configtool

If not helpful please provide the logs asked for and Release.

Thanks

Rishi abrol