Why do I get the error "This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX) "?

0 Likes

Problem:

Why do I get the error "This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX) "?

Resolution:


  • Product Name: Star Team
  • Product Version: 2005 - 2008
  • Product Component: Cross Platform Client / Server Installer
  • Platform/OS Version: Linux / Other


This problem is caused in some Linux distributions by the application attempting to make use of a pre-installed cut-down version of Java. If you have not already done so, install a full JRE from the sun website available. A full version of java from sun can be found at the sun website at: http://www.java.com/en/download/linux_manual.jsp

After installation please include the path to the bin folder within your java install location in your $PATH environment variable. For example if java is located at /jdk1.6.0_05/ the full path would be /jdk1.6.0_05/jre/bin.
In fact sometimes Linux administrators instruct user to append $JAVA_HOME to the end of their $PATH, meaning anything in /usr/bin will be found before anything in $JAVA_HOME/. To prepend the location to your PATH variable, run the command

export PATH=/path/to/java/bindirectory:$PATH

replacing the example with your actual install location.

The above variable change is a change which will be lost when using a different shell window. It can be made permanent for the current user by adding it to the .profile file in the user"s home directory. After making these changes you should be able to launch the StarTeam Cross-Platform Client and other Java based applications.


Old KB# 28887
Comment List
Related
Recommended