java - import com.chilkatsoft.* not resolved -


this question has answer here:

i have been developing java project need create ssh tunnel. using chilkat library purpose.i have installed in project folder. here code snippet. getting error saying:

import com.chilkatsoft.* not resolved .

the code is:

package usingchilkat;  import com.chilkatsoft.*;  public class myclass { static {        try{            system.loadlibrary("chilkat");        ``  } catch (unsatisfiedlinkerror e) {             system.err.println("native code library failed load.\n" + e);             system.exit(1);           }         }          public static void main(string argv[])         {         //  important: helpful send contents of         //  ssh.lasterrortext property when requesting support.              cksshunnel ssh = new ckssh();             boolean success = ssh.unlockcomponent("anything");             if (success != true) {               system.out.println(ssh.lasterrortext());               return;}            } 

can please me fix it?

have correctly set java.library.path system property? like:

java -djava.library.path=yourpath yourapp 

or load path directly:

system.load("c:/yourpath/chilkat.dll"); 

Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -