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

Custom code

Hello,

I am attempting to run a jar I made from the custom code action in Install Anywhere. I have created a jar and executing it plays my sound. I added the path the the jar, and the class in the install anywhere custom code section, but it is not playing. I am getting:

Custom Action: makesound.MakeSound
Status: ERROR
Additional Notes: ERROR - class makesound.MakeSound unavailable.

in the log. Why would i get "ERROR - class makesound.MakeSound unavailable"
Labels (1)
0 Kudos

(2) Replies
RamyaVenkatesh
Level 7

Hi,

Is the package name/class name correct? This message is seen when the full path to class name is incorrect.

Share the jar file if possible.

Thanks
0 Kudos
James_Hegarty
Level 3

I found the problem. I was building the jar JDK 1.7, and building the source to 1.6. After a rebuilt with JDK 1.6 it worked.
0 Kudos