discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: apparently JIGS not working


From: Niels Grewe
Subject: Re: apparently JIGS not working
Date: Thu, 8 Sep 2016 07:24:08 +0000

Hi,

I tested that locally and it works for me™, but it’s really hard to tell what 
your problem might be with so little context. I think the most likely 
explanation would be that the JIGS wrapper is not in your classpath, so that 
would be the first thing I’d look at, but it would really help if you could 
provide some information about how you are trying to build that code...

Cheers,

Niels

> Am 08.09.2016 um 04:25 schrieb brunomaximom@openmailbox.org:
> 
> 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
> 
> 
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

[Prev in Thread] Current Thread [Next in Thread]