← Back to team overview

sikuli-driver team mailing list archive

[Question #219903]: when run sikuli using JAVA API, error :java.lang.NoClassDefFoundError: com/sun/awt/AWTUtilities

 

New question #219903 on Sikuli:
https://answers.launchpad.net/sikuli/+question/219903

I met a strange problem took me so much time
the issue is:
When I use ant to run java program,
it will report error:"java.lang.NoClassDefFoundError: com/sun/awt/AWTUtilities"

it will work by eclipse,but same code not work by ant on windows.
the compile is all-right.It fail in runtime

I have tried many ways:
1.classpath configuration same as eclipse.
2.change the latest version of JDK of 32-bit to the project.
3.add the path with jdk/bin
4.add C:\Program Files (x86)\Sikuli X\libs into classpath and ENV SIKULI_HOME.

but still not work.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.