I have designed one
Java application in which I have provided a button. On pressing that button, following method is invoked and mail window is opened in ms-outlook on widows. But it throws exception on ubuntu thunderbird.
Exception is ----
java.io.IOException: Failed to show URI:mailto:user@domain.com
at sun.awt.X11.XDesktopPeer.launch(XDesktopPeer.java:75)
at sun.awt.X11.XDesktopPeer.mail(XDesktopPeer.java:60)
at java.awt.Desktop.mail(Desktop.java:456)
at panel.SendMail.onLaunchMail(SendMail.java:60)
at wizard.VBEWizard$18.doInBackground(BhimWizard.java:904)
at wizard.VBEWizard$18.doInBackground(BhimWizard.java:1)
at javax.swing.SwingWorker$1.call(SwingWorker.java:277)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at javax.swing.SwingWorker.run(SwingWorker.java:316)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
everything works fine on windows but fails on ubuntu. Any pointers to this problem?
Thanks,
bhim