Open an eml file with java in linux

I am trying to open my created .eml file with java in linux. Currently I am using the following command:


I create the eml file as shown in this example. This works for my windows system, but an error occurs in linux ubuntu 12.04.

EDIT: error message:

(process:19386): gnome-vfs-modules-WARNING **: Could not initialize inotify Failed to show URI:file:/home/usr/workspace/programm/eml/mail.eml
at sun.awt.X11.XDesktopPeer.launch(Unknown Source)
at Source)
at Source)

I am happy for any help!


From the docs

Throws IOException - if the specified file has no associated application or the associated application fails to be launched

Need Your Help

Java Resultset Not Showing Unicode (Chinese) Characters, But Showing as Question Marks

java sql-server jdbc unicode resultset

I have the following issue. The java resultset is not showing Unicode (Chinese) characters, but showing all other characters. I am sure all characters are stored/showing properly from in Microsof...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.