Finally the path variable worked. I am at least able to see comsol binary file
in the terminal. But, when I run it, it gives me xorg error.
"The program 'SWT' received an X Window System error. This probably reflects a
bug in the program. The error was 'BadDrawable (invalid Pixmap or Window
parameter)'. (Details: serial 1235 error_code 9 request_code 136 minor_code 3)
(Note to programmers: normally, X errors are reported asynchronously; that is,
you will receive the error a while after causing it. To debug your program, run
it with the --sync command line option to change this behavior. You can then get
a meaningful backtrace from your debugger if you break on the gdk_x_error()
function.)"
I searched on internet forums and the most popular (but not recommended)
solution was to downgrade xorg version. I was wondering that do you know how can
I do downgrade xorg version?