non puoi

a dire il vero potresti eseguire un comando e leggere il risultato
tipo
codice:
Process p = Runtime.getRuntime().exec("echo", new String[] {"$PATH"});
InputStream is = p.getInputStream();
e leggi il risultato