[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: apparently JIGS not working
From: |
brunomaximom |
Subject: |
Re: apparently JIGS not working |
Date: |
Wed, 07 Sep 2016 23:25:11 -0300 |
User-agent: |
Roundcube Webmail/1.0.6 |
Well, i tried this example code in JIGS manual:
import gnu.gnustep.base.*;
class PrintHostName
{
public static void main (String[] args)
{
NSProcessInfo process;
process = NSProcessInfo.processInfo();
System.out.println (process.hostName());
}
}
And I get 2 errors:
PrintHostName.java:7: error: cannot find symbol
NSProcessInfo process;
^
symbol: class NSProcessInfo
location: class PrintHostName
PrintHostName.java:9: error: cannot find symbol
process = NSProcessInfo.processInfo();
^
symbol: variable NSProcessInfo
location: class PrintHostName
2 errors