|Title: How do I capture client side errors when using a different look and feel (e.g. Nimbus)?
I use the Nimbus look and feel introduced in the Java SE 6 update 10 release. For example:
javaw -Dswing.defaultlaf=com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel com.iscobol.gui.client.Client -Discobol.conf=client.properties MYAPP
I would like to know how I can capture the errors and output sent to stderr and stdout. I understand that the isclient.exe captures these streams in isclient_out.log and isclient_err.log in the C:Program FilesVeryantisCOBOL2010bin folder.
How can I create my own "wrapper" executables to do the same thing?
Veryant uses and recommends install4j from ej-technologies http://www.ej-technologies.com to create Windows installers and "wrapper" executables for Windows.
For example, isclient.exe is what install4j calls a "launcher". Launchers include the following features and more:
Veryant's launcher configuration for isclient.exe has the following settings (in the install4j project file):
Customized JRE/JDK detection
Flexible classpath construction
Custom working directory
Windows version info resource
Redirection of stderr and stdout
VM parameters file
install4j comes with a graphical designer program so you donít actually need to type in the above properties.
If you want to create an executable but don't need an installer technology then consider using exe4j from the same company.
Contact Veryant Support if you would like more information.
vmParameters=" quot;-Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel quot;"
|Authored by: Veryant Support on Tue, May 4th, 2010 at 7:00 PM
This question has been viewed 6355 times so far.
|Online URL: http://support.veryant.com/support/phpkb/question.php?ID=126
Powered by PHPKB Knowledge Base Software