jPowerShell icon indicating copy to clipboard operation
jPowerShell copied to clipboard

'com.profesorfalken.jpowershell.PowerShellResponseHandler' is not public

Open AlexRITIAN opened this issue 4 years ago • 1 comments

This is my code :

PowerShell.openSession().executeCommandAndChain("Get-SmbOpenFile",(rep -> System.out.println(rep.getCommandOutput()))).close();

and I'm getting below error: 'com.profesorfalken.jpowershell.PowerShellResponseHandler' is not public in 'com.profesorfalken.jpowershell'. Cannot be accessed from outside package

is this a bug ? or I use it on the wrong way?

AlexRITIAN avatar Apr 26 '21 05:04 AlexRITIAN

This is a duplicate of #52 (which also offers a solution)

Cydhra avatar Jul 19 '21 22:07 Cydhra