From java, I got name of the OS Iam working. See below code :

```
System.out.println(System.getProperty("os.name"));

```

In windows xp, it prints like : `Windows XP`

But in ubuntu/fedora, it shows only `Linux`.

Can anyone help me to find which linux version Iam using (like ubuntu or fedora) using java code? Is it possible to find the linux distro from java?