This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Custom Code Action questions
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 03, 2013
08:59 PM
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
First, I use the sample in
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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 04, 2013
01:11 AM
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
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