Optimal Advisor will not start if Path statment ends with a slash

0 Likes

Problem:

Optimal Advisor error: 'Exception in thread 'main' java.lang.NoClassDefFoundError:Files.....'

Resolution:

One reason Optimal Advisor may display a 'Exception in thread 'main' java.lang.NoClassDefFoundError:Files.....' may be due to the value of the PATH.

When Optimal Advisor starts the statement <-Djava.library.path='%PATH%'> is passed in the arguments of the command used to start the JVM which runs the Optimal Advisor application. If the the PATH statement ends with a '\' then Optimal Advisor will not start. If the start menu is used to start Optimal Advisor then there will be no warning message. If the DOS shell is used to start OptimalAdvisor, then the following error message will be displayed:

'Exception in thread 'main' java.lang.NoClassDefFoundError:Files.....'

The workaround is to append the path statment with a ; or remove the '\' from the end of the statement.

Old KB# 11095
Comment List
Anonymous
Related Discussions
Recommended