Under certain circumstances (details unknown) javap command that's, used to determine which Java version was used to compile decryptor helper, fails with the following message:
[root@xyz ~]# javap -verbose /var/chef/cache/crypto/Decrypt; echo $?
Error: class not found: /var/chef/cache/crypto/Decrypt
1
Platform/Chef details:
OS: CentOS Linux release 7.3.1611 (Core)
chef-client: 12.5.1 & 12.17.44
java cookbook: 1.31.0
Since that's a blocker it's been decided to use the following workaround:
exec javap directly from directory in which given file was placed
pass classpath to javap to make sure nothing's missing
Under certain circumstances (details unknown)
javap
command that's, used to determine which Java version was used to compile decryptor helper, fails with the following message:Platform/Chef details:
java
cookbook: 1.31.0Since that's a blocker it's been decided to use the following workaround:
javap
directly from directory in which given file was placedjavap
to make sure nothing's missing