I have been trying to launch browser from a java app on Linux. When this app is run for the first time browser don't get opened. The error log shows : shell-init: cannot get current directory getcwd : no such file or directory.
After this if u restart everything falls into place and browser opens fine.
I have tried many things like changing current directory to /tmp using SYstem.setPropert() , but nothing works.
There are many question on this site like this but they didn't help. Will appreciate if someone can provide a workaround.