• Post Reply Bookmark Topic Watch Topic
  • New Topic

InvocationTargetException in InstallAnywhere  RSS feed

Stephen Lee
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have added the InstallAnywhere in my swing application. After making the installing file, I install the file of my application (i use the command ./MyProg LAX_VM /opt/IBMJava/bin/java), the following error appears:
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
Stack Trace:
java.lang.NoClassDefFoundError: javax/xml/transform/Source
at hk.com.xit.crosseditor.MainFrame.<init>(MainFrame.java:62)
at hk.com.xit.crosseditor.Main.main(Main.java:23)
at java.lang.reflect.Method.invoke(Native Method)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)

I have used the same way of execution (./OfficeSuite LAX_VM /opt/IBMJava/bin/java) for the sample program of InstallAnywhere, it is successful. At the same time, I ensure that my program can be run. So I suspect it is the problem of classpath, however, after checking, it should not be the problem of classpath. Then what is the problem? how can I check it? Thanks!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!