That error indicates that you need Java 7+ and you're using an older
version. I suspect that something went wrong and you didn't actually use
Java 7 when compiling or running the example.
On Mon, Jan 26, 2015 at 1:09 PM, Ryan May <rmay@xxxxxxxx> wrote:
> Ahmed,
>
> What version of netcdf-java are you trying to compile against? How are you
> building the example?
>
> Ryan
>
> On Mon, Jan 26, 2015 at 1:34 PM, Ahmed Abdeen Hamed <
> ahmed.elmasri@xxxxxxxxx> wrote:
>
>> Hello friends,
>>
>> I just started playing with the netCDF4 java examples available here: ["
>> http://www.unidata.ucar.edu/software/netcdf/examples/programs/Simple_xy_wr.java"].
>> I am getting the follow errors though:
>>
>> [image: Inline image 1]
>>
>> I used different Java version (1.5, 1.6, and 1.7).
>>
>> Any insights?
>>
>> -Ahmed
>>
>>
>>
>>
>>
>> _______________________________________________
>> netcdf-java mailing list
>> netcdf-java@xxxxxxxxxxxxxxxx
>> For list information or to unsubscribe, visit:
>> http://www.unidata.ucar.edu/mailing_lists/
>>
>
>
>
> --
> Ryan May
> Software Engineer
> UCAR/Unidata
> Boulder, CO
>
> _______________________________________________
> netcdf-java mailing list
> netcdf-java@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/
>