KB Article #169347

installation error : "Could not find the main class: com.axway.synchronyInstaller.engine.SynMain. Program will exit."

Problem

-- getting such error when installing B2Bi (may occur with other products as well)

$ ./setupUNIX.sh

 

Initialization in progress
......Exception in thread "main" java.lang.ExceptionInInitializerError
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:222)
        at com.axway.synchronyInstaller.engine.error.events.InstallerException.<init>(InstallerException.java:103)
        at com.axway.synchronyInstaller.engine.SynMain.loadInstallerVersionAndBuilderNumber(SynMain.java:70)
        at com.axway.synchronyInstaller.engine.SynMain.<clinit>(SynMain.java:39)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
Caused by: java.lang.NullPointerException
        at com.axway.synchronyInstaller.engine.error.feedback.UserAction.<init>(UserAction.java:49)
       at com.axway.synchronyInstaller.engine.error.feedback.UserAction.<clinit>(UserAction.java:24)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
        ... 5 more
Could not find the main class: com.axway.synchronyInstaller.engine.SynMain.  Program will exit.
Please verify that the directory "SynchronyInstaller#" has been deleted in the temp directory.

 

 

 

Resolution

* product DVD was probably located on a remote machine
* Copy the whole dvd to a local directory and run the setup again