cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ctminh
Level 3

Custom Code Action questions

I want to create a custom code action but I got the problem with the compilation source file.

First, I use the sample in \CustomCode\Sample\SampleProgress. If I use the jar file in this folder and apply Execute Custom Code in IA Advance Designer. It works fine.

However if I take the SampleProgress.java and compile it with jdk 1.7.0_09 (command: javac -classpath IAClass.zip SampleProgress.java). Then add it into jar file (command: jar cvf SampleProgress.jar *.class). The output jar does not work when running the installation

Does anyone know what problem it is? I guess this might be caused by different version of jdk I used to compile and IA java bundle

Any idea about this ?

Many Thanks.
Minh
Labels (1)
0 Kudos
(1) Reply
ctminh
Level 3

Dear All,
I solve the problem.

I was my mistake that I didn't pay attention to the package name of the class. I copy the SampleProgress.java to another folder and then compile and put it into jar file. This make the IA could not find the class to execute.


Many Thanks,
Minh
0 Kudos