What is the difference between System.getenv("computername") and System.getenv("hostname") in Java?
Is there any character limit on the computer name when retrieving it using the getenv() method?
I have a lengthy hostname and System.getenv("computername") seems to be truncating it to 15 characters. OS used is Windows.